ARWP Agent Discovery
Use this skill to make a website easier for agents to discover and operate without inventing a competing protocol or fake capability.
Decision order
Prefer existing upstream mechanisms before adding ARWP-native metadata:
- ordinary semantic HTML and stable canonical URLs;
- OpenAPI / RFC API Catalog where real APIs exist;
- Agent Skills for reusable procedures;
- A2A Agent Card for real agent endpoints;
- MCP metadata/runtime for actual MCP servers;
- WebMCP only for real browser-exposed tools;
- ARD for agentic-resource discovery when appropriate;
- ARWP publisher profile as an optional service map tying real surfaces together.
Workflow
Inventory actual interfaces.
- Search code/config for API routes, OpenAPI, MCP, A2A, skills, WebMCP, feeds, search endpoints, data exports and auth metadata.
- Distinguish documentation mentioning a protocol from an implemented capability.
Add lightweight readability surfaces.
llms.txt: concise canonical routes/resources; do not duplicate the whole site.AGENTS.md: repository instructions for coding agents when developer-facing.sitemap.md: optional compact navigation map.- Preserve normal XML sitemap/canonical SEO independently.
Add Agent Skills for repeatable tasks.
- Folder name is kebab-case.
- File must be exactly
SKILL.md. - Frontmatter must include
nameand trigger-richdescription. - Keep the main skill concise and use
references/,scripts/, orassets/for progressive disclosure. - Skills should execute a real workflow, not merely restate documentation.
Add structured discovery only where backed by implementation.
- OpenAPI URLs must describe real endpoints.
- A2A discovery URLs are metadata; do not treat a card URL as the callable endpoint unless the spec says so.
- MCP server cards/metadata are evidence, not authorization.
- ARD resources are discovery evidence; relevance is not trust.
- Never expose internal/private endpoints in public discovery files.
If adopting ARWP, create/update
ai/site-profile.json.- Point to real resources.
- Keep it optional and valid.
- Do not claim profile presence improves ranking.
- Run ARWP validation and compare profile declarations with observable interfaces.
Add machine classification.
- Use Schema.org JSON-LD for the real product/application/entity class.
- Add explicit comparison/category pages when product class could be confused with adjacent tools.
- Keep canonical terminology consistent across README/site/JSON-LD/profile/citation surfaces.
Verify.
- Validate JSON/YAML/Markdown syntax.
- Run relevant ARWP resolver/audit/assert checks.
- Verify public paths after build if possible.
- Runtime-only protocols stay
not-assessedwithout runtime evidence.
Security boundary
Discovery metadata never grants permission. Do not make state-changing calls, bypass authentication, expose credentials, crawl private networks, or convert an unverified metadata URL into an executable route.