NetFabric/intelligentium / .agents/skills/agentic-resource-discovery
agentic-resource-discovery
VerifiedOpen specification (ARD v0.9) for publishing, discovering, and verifying AI capabilities (MCP servers, A2A agents, skills, APIs) across federated networks. USE FOR: creating ai-catalog.json manifests; catalog entry schema; URN identifier format (urn:air:<publisher>:<namespace>:<name>); hosting at /.well-known/ai-catalog.json; DNS discovery (TXT/SRV records); Agentmap robots.txt directive; POST /search API; POST /explore API; GET /agents list API; federation modes (auto, referrals, none); trustManifest with SPIFFE/DID/attestations; representativeQueries for semantic search; building ARD registry clients; querying discovery services at runtime. DO NOT USE FOR: implementing MCP server tools (use MCP docs); implementing A2A agent cards (use A2A spec); OAuth/OIDC authentication.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.7 KB |
| references/api.md | markdown | 4.4 KB |
| references/data-model.md | markdown | 4.7 KB |
| references/publishing.md | markdown | 2.7 KB |
| references/trust.md | markdown | 3.3 KB |
references/api.md
View on GitHub# ARD API
Base URL discovered from `application/ai-registry+json` entries in `ai-catalog.json`.
## Query Model (shared by Search & Explore)
```json
{
"query": {
"text": "find me a flight booking agent",
"filter": {
"type": ["application/a2a-agent-card+json"],
"tags": ["travel"],
"trustManifest.attestations.type": ["SOC2-Type2"]
}
}
}
```
| Field | Required | Notes |
|-------|----------|-------|
| `text` | See per-endpoint | Natural-language intent; drives semantic ranking |
| `filter` | No | Dot-separated field paths; array values are OR; across keys is AND |
Filter keys: any catalog field (`type`, `tags`, `capabilities`, `publisher`, `version`, `metadata.*`, Schema.org fields, `trustManifest.*`). `publisher` is derived from the URN's `<publisher>` segment.
## POST /search — Required
Semantic search; `text` is required.
**Request:**
```json
{
"query": {
"text": "flight booking agent",
"filter": { "type": ["application/a2a-agent-card+json"] }
},
"federation": "referrals",
"pageSize": 10,
"pageToken": "eyJwYWdlIjogMn0="
}
```
| Field | Default | Notes |
|-------|---------|-------|
| `federation` | `auto` | `auto` / `referrals` / `none` |
| `pageSize` | 10 | Max 100 |
| `pageToken` | — | Cursor for next page |
**Response:**
```json
{
"results": [
{
"identifier": "urn:air:acme.com:agent:assistant",
"displayName": "Corporate Assistant",
"type": "application/a2a-agent-card+json",
"url": "https://api.acme.com/agents/assistant.json",
"score": 95,
"source": "https://registry.acme.com/api/v1/"
}
],
"referrals": [
{
"identifier": "urn:air:nlweb.ai:registry:public",
"displayName": "Public Agent Finder",
"type": "application/ai-registry+json",
"url": "https://finder.nlweb.ai/search"
}
],
"pageToken": "eyJwYWdlIjogMn0="
}
```
- `score` — semantic relevance 0–100; **not** a trust or safety rating.
- `referrals` — only present when `federation: "referrals"`.
- `source` — registry URL that produced the result.
## POST /explore — Optional
Faceted aggregation over matched set; `text` and `filter` both optional (omit → aggregate entire registry).
**Request:**
```json
{
"query": {
"text": "currency conversion",
"filter": { "trustManifest.attestations.type": ["SOC2-Type2"] }
},
"resultType": {
"facets": [
{ "field": "type" },
{ "field": "publisher", "limit": 50 }
]
}
}
```
Each facet element:
| Field | Required | Notes |
|-------|----------|-------|
| `field` | Yes | Field path (same syntax as filter) |
| `limit` | No | Max buckets; default 20 |
| `minCount` | No | Suppress buckets below threshold |
**Response:**
```json
{
"resultType": "facets",
"facets": {
"type": {
"buckets": [
{ "value": "application/mcp-server-card+json", "count": 1247 },
{ "value": "application/a2a-agent-card+json", "count": 389 }
],
"otherCount": 23
},
"publisher": {
"buckets": [
{ "value": "acme.com", "count": 412 }
]
}
}
}
```
Explore does **not** federate. Returns `501` if not implemented.
## GET /agents — Optional
Deterministic paginated listing; no semantic ranking.
| Parameter | Notes |
|-----------|-------|
| `filter` | EBNF filter expression (see Appendix A of spec) |
| `orderBy` | e.g. `name`, `created_at DESC` |
| `pageSize` | Default 20, max 100 |
| `pageToken` | Cursor |
Common filter fields: `displayName` (case-insensitive), `type` (comma-sep OR), `publisherId` (comma-sep OR), `createdAfter`, `updatedAfter`.
## Protocol Wrappers (Optional)
A registry MAY expose search as an MCP Tool or A2A Skill. Response format must match catalog entry structure; request format is protocol-specific.
## Standard Error Codes
| HTTP | Code | Meaning |
|------|------|---------|
| 400 | `INVALID_ARGUMENT` | Malformed query or filter |
| 401 | `UNAUTHENTICATED` | Missing/invalid credentials |
| 404 | `NOT_FOUND` | No such agent or registry |
| 429 | `RATE_LIMIT_EXCEEDED` | Too many requests |
| 500 | `INTERNAL_ERROR` | Registry-side failure |
| 501 | — | Endpoint not implemented (Explore / List) |
## Conformance Testing
```bash
# Validate a local manifest
./conformance/bin/conformance-test manifest path/to/ai-catalog.json
# Validate a live registry
./conformance/bin/conformance-test registry http://localhost:9010/api
# End-to-end demo
./conformance/bin/run-conformance-demo
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file). | Stars: 198k | Updated | Claude CodeCodex | Unverified | Install |
| doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |