Skip to content

[codex] publish agent skills discovery index#139

Merged
basit3407 merged 2 commits intomainfrom
codex/agent-skills-discovery-index
Apr 21, 2026
Merged

[codex] publish agent skills discovery index#139
basit3407 merged 2 commits intomainfrom
codex/agent-skills-discovery-index

Conversation

@basit3407
Copy link
Copy Markdown
Collaborator

Summary

  • publish an Agent Skills discovery index at /.well-known/agent-skills/index.json
  • add a quran-foundation-api-docs SKILL.md artifact covering API docs, OIDC tutorials, font tutorials, Request Access, and Quran Reflect integrations
  • add a test that validates the v0.2.0 discovery shape and verifies the published SHA-256 digest against the raw SKILL.md bytes

Why

The docs site did not publish an Agent Skills Discovery RFC v0.2.0 index, so agent scanners could not discover a Quran Foundation skill from the well-known path.

Impact

Agents can now discover a canonical Quran Foundation docs skill from /.well-known/agent-skills/index.json, fetch the published SKILL.md, and verify it using the indexed digest.

Validation

  • C:\Users\Basit\.cache\codex-runtimes\codex-primary-runtime\dependencies\node\bin\node.exe --test tests\agent-skills-discovery-index.test.cjs
@basit3407 basit3407 marked this pull request as ready for review April 21, 2026 06:47
@basit3407 basit3407 requested a review from Copilot April 21, 2026 06:47
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 21, 2026

Deploying qf-api-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4788a1b
Status: ✅  Deploy successful!
Preview URL: https://f39e3c32.qf-api-docs.pages.dev
Branch Preview URL: https://codex-agent-skills-discovery.qf-api-docs.pages.dev

View logs

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Publishes an Agent Skills Discovery RFC v0.2.0 index under /.well-known/agent-skills/ so agent scanners can discover the Quran Foundation docs skill, retrieve its SKILL.md, and verify integrity via a SHA-256 digest.

Changes:

  • Add static/.well-known/agent-skills/index.json (v0.2.0 discovery index) pointing to the skill artifact with a sha256: digest.
  • Add static/.well-known/agent-skills/quran-foundation-api-docs/SKILL.md describing how to route questions to the right docs/APIs and canonical sources.
  • Add a Node test to validate discovery shape and verify the published digest against the local SKILL.md bytes.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
tests/agent-skills-discovery-index.test.cjs Validates discovery schema basics and checks sha256 digest matches SKILL.md bytes.
static/.well-known/agent-skills/quran-foundation-api-docs/SKILL.md Adds the skill artifact content (routing rules + canonical doc links).
static/.well-known/agent-skills/index.json Publishes the RFC v0.2.0 discovery index entry for the skill.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/agent-skills-discovery-index.test.cjs Outdated
Comment thread tests/agent-skills-discovery-index.test.cjs
@basit3407 basit3407 merged commit ee74184 into main Apr 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants