Skip to content

Add agent-ready skill: make a Cloudflare site discoverable by AI agents#63

Open
Pushingcapital wants to merge 1 commit into
cloudflare:mainfrom
Pushingcapital:skill/agent-ready
Open

Add agent-ready skill: make a Cloudflare site discoverable by AI agents#63
Pushingcapital wants to merge 1 commit into
cloudflare:mainfrom
Pushingcapital:skill/agent-ready

Conversation

@Pushingcapital

Copy link
Copy Markdown

What

A new agent-ready skill that turns "make my site discoverable to AI agents" into the concrete set of HTTP/DNS/well-known signals agent crawlers look for — implemented the Cloudflare-native way.

Covers: RFC 8288 Link headers, RFC 9727 api-catalog (linkset), MCP Server Card (SEP-1649), A2A Agent Card, agent-skills index (agentskills.io), llms.txt, security.txt (RFC 9116), AIPREF Content-Signal robots.txt, Markdown for Agents (zone setting), OAuth/OIDC discovery (RFC 8414/9728), and DNS-AID SVCB records + DNSSEC (draft-mozleywilliams + RFC 9460). Notes WebMCP for completeness.

Why it's Cloudflare-specific

The skill's core guidance is a dedicated discovery Worker on more-specific routes + a Transform Rule for the homepage Link header — which ships ~11 of 12 signals without redeploying or modifying the main application. It also flips Markdown-for-Agents via the content_converter zone setting and publishes DNS-AID via the DNS + DNSSEC APIs.

Contents

  • skills/agent-ready/SKILL.md — triggers, the signal table, recommended architecture, flow, and hard-won gotchas
  • references/dedicated-discovery-worker.md — worker wrangler.toml + handler shape, the Link Transform Rule, content_converter
  • references/dns-aid.md — SVCB record creation + DNSSEC enable/DS recipe
  • references/troubleshooting.md — symptom→cause→fix table + token-scope-by-task matrix
  • scripts/audit.sh — read-only, dependency-light probe of every signal for a host
  • README.md — added to the Skills table

Notes

  • Every recipe was validated end-to-end on a live Cloudflare-fronted site before writing this skill (the gotchas are real failures we hit and fixed).
  • Emphasizes serving discovery docs publicly and advertising real resources (no placeholder/empty catalogs just to pass a scanner).

… AI agents

New skill covering the full agent-discovery signal set with Cloudflare-native
implementations: RFC 8288 Link headers (via Transform Rule), RFC 9727 api-catalog,
MCP Server Card (SEP-1649), A2A Agent Card, agent-skills index, llms.txt,
security.txt, AIPREF Content-Signal robots.txt, Markdown for Agents, OAuth/OIDC
discovery, and DNS-AID SVCB records + DNSSEC.

Emphasizes the dedicated-discovery-worker + Transform-Rule pattern (ships ~11/12
signals without redeploying the main app) and documents the real-world gotchas
(route drift, gate 307->HTML, www/apex origin mismatch, edge cache, DNSSEC needs
registrar DS, commit-email CI blocks, WebMCP client-JS). Includes a read-only
audit.sh and references for the worker, DNS-AID, and troubleshooting.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant