Overview
hf-discover is Hugging Face's implementation of Agentic Resource Discovery (ARD), the open specification for how an agent looks up the resources it needs — Skills, MCP servers and other endpoints — instead of having them hard-wired at configuration time. The repository ships both halves: a client you run as a `hf` CLI extension, and a server that exposes an ARD catalog over HTTP.
It works in two modes. Search queries a single catalog directly, running semantic search over indexed Skills and Hugging Face Spaces. Navigate does federated discovery: it fetches `/.well-known/ai-catalog.json` from a site, follows the registries that document links to within a depth limit, and merges the ranked results. That is the part that makes discovery decentralised — any site can publish a catalog and be found without registering anywhere central.
The server side implements the ARD v0.5 envelope: `POST /search` returns catalog entries typed by media type (`application/ai-skill`, `application/mcp-server-card+json`, `application/vnd.huggingface.space+json`), with domain-anchored `urn:air:` identifiers, alongside endpoints that serve a Space's `SKILL.md` or MCP `server.json`. A hosted instance runs as a Hugging Face Space from a reproducible Docker definition. The project is MIT-licensed and needs Python 3.10 or newer.
What it does
- Client and server for the Agentic Resource Discovery v0.5 specification
- Search mode: semantic search over one catalog of Skills and Hugging Face Spaces
- Navigate mode: federated discovery that follows `/.well-known/ai-catalog.json` across registries with a depth limit
- Typed catalog entries for AI Skills, MCP server cards and Space descriptors, with `urn:air:` identifiers
- Installs as an extension of the `hf` CLI, or runs standalone as `hf-discover`
- Ships a Docker Space definition for hosting your own catalog endpoint
Getting started
The recommended install adds hf-discover as an extension to the Hugging Face CLI, which then exposes the `hf discover` subcommand.
Install
Install the CLI, then the extension, then check it registered.
uv tool install -U huggingface_hub
hf extensions install huggingface/hf-discover
hf discover --versionSearch a catalog
Filter by resource kind, ask for JSON when you are piping into an agent, or point at a different registry.
hf discover search "generate image" --limit 5
hf discover search "transcribe some audio" --kind mcp --json
hf discover search --registry-url https://registry.example "generate image"Navigate, or serve your own catalog
`navigate` follows catalogs across sites; `serve` runs the ARD server locally.
hf discover navigate "segment hockey players in an image"
hf discover navigate https://huggingface.co "help me set up an RL environment"
hf discover serve --port 8080Commands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Let an agent look up a Skill or MCP server mid-task instead of shipping a fixed tool list
- Publish your own site's tools as an ARD catalog that other agents can find
- Run a private registry of internal Skills and MCP servers behind the same API
- Explore what a domain exposes to agents before wiring anything up
How hf-discover compares
hf-discover alongside other open-source agent skills & plugins tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Superpowers | ★ 284k | A composable skills plugin that installs a spec-first, TDD, subagent-driven development methodology into Claude Code, Codex, Cursor, Gemini CLI and other coding harnesses. |
| Skills for Real Engineers | ★ 258k | Matt Pocock's everyday agent skills for coding agents, covering alignment grilling, planning, code review and research — small, composable and meant to be edited. |
| ECC | ★ 255k | An installable plugin that adds 68 agents, 286 skills, hooks, rules, memory and an agent-config security scanner to Claude Code, Codex and other coding harnesses. |
| Addy’s Agent Skills | ★ 93.1k | A pack of production engineering skills for AI coding agents, with nine lifecycle slash commands — /spec, /plan, /build, /test, /review, /ship — installable into 70+ agents. |
| Humanizer | ★ 45.8k | An agent skill that rewrites AI-sounding prose against a list of 25 named writing patterns, grouped into five sections and applied without changing the claims in the text. |
| Claude for Financial Services | ★ 34.8k | Anthropic reference agents, skills and MCP connectors for investment banking, equity research, private equity and wealth management, as Cowork plugins or Managed Agents. |
| Anthropic-Cybersecurity-Skills | ★ 32.5k | A community-built library of 800+ agentskills.io-format cybersecurity skills for AI agents, each mapped to MITRE ATT&CK, NIST CSF 2.0, ATLAS, D3FEND, NIST AI RMF and MITRE F3. |
| hf-discover | ★ 41 | Let an agent find the skills and MCP servers it needs at runtime |