search-agents

search-agents is a skill for Claude Code from agntcy/dir-mcp. It costs 35 tokens per session (1,580 once invoked), scanned B, original, Apache-2.0.

A skill for finding AI agents and MCP servers in the AGNTCY Agent Directory, a registry for discovering and sharing these services. It can retrieve directory records and check their authenticity.

In plain words
What is it for?
Use it to search by capability, name, domain, or locator type, retrieve full records by content ID, and verify agent or server records.
Why use it?
It avoids searching the directory manually and helps you inspect whether a discovered record is genuine.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agntcy-dir plugin — 4 skills, 1 MCP server shipped together

Good fit Use it to search by capability, name, domain, or locator type, retrieve full records by content ID, and verify agent or server records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agntcy/dir-mcp/search-agents
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agntcy/dir-mcp --skill search-agents
Clone the repo
git clone --depth 1 https://github.com/agntcy/dir-mcp

Made for: Claude Code.

Or install agntcy-dir, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for search-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/agntcy/dir-mcp/search-agents/github.svg)](https://agentmods.dev/skills/agntcy/dir-mcp/search-agents)
Your own site
<a href="https://agentmods.dev/skills/agntcy/dir-mcp/search-agents"><img src="https://agentmods.dev/badge/skills/agntcy/dir-mcp/search-agents/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for search-agents

Your own site · 80×15
<a href="https://agentmods.dev/skills/agntcy/dir-mcp/search-agents"><img src="https://agentmods.dev/badge/skills/agntcy/dir-mcp/search-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,580 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.01580
Opus 5.5 $0.00014 $0.00632
Sonnet 5.5 $0.00007 $0.00316
Haiku 4.5 $0.00003 $0.00158

Measured 1mo ago against content hash 6ea0365b91c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

search-agents scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

Check `DIRECTORY_CLIENT_AUTH_MODE` in `.mcp.json`'s `env` block (see the `dirctl-auth` skill, step 2, for how to read it). If it's `oidc`, check whether a token is already cached:
dir-mcp-plugins/claude/skills/search-agents/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Search and Discover Agents

Use this skill to find AI agents and MCP servers in the AGNTCY Agent Directory, inspect their records, and verify their authenticity.

Search the Directory

Use agntcy_dir_search_local to find agents. All parameters are optional and combinable:

By capability (skill):

Call agntcy_dir_search_local with skill_names=["*python*", "*data-analysis*"]

By name pattern:

Call agntcy_dir_search_local with names=["my-agent*"], versions=["v1.*"]

By domain:

Call agntcy_dir_search_local with domain_names=["*finance*"]

By locator type (e.g. Docker images only):

Call agntcy_dir_search_local with locators=["docker-image:*"]

Paginated:

Call agntcy_dir_search_local with limit=20, offset=40

Wildcard patterns: * matches any sequence, ? matches one character, [abc] matches a set. Multiple filters within a call are combined with OR logic.

The search returns record_cids — content identifiers you can use to fetch the full record.

Fetch a Record

agntcy_dir_pull_record returns the entire record inline. Populated records routinely exceed 50KB — well past the tool-result token limit — get truncated to a saved file, and burn a large chunk of context reading that file back in even when only a few fields are needed. Only use agntcy_dir_pull_record directly for a quick check when you expect a small record (e.g. one you just created and know is minimal). For anything else — browsing search results, inspecting third-party records, or pulling more than one — pull with the bundled dirctl binary and filter with jq before any of it reaches the model.

1. Invoke dirctl through the dir-mcp npm package — never system-wide

Never run a bare dirctl or search PATH/the filesystem for it. Use the @agntcy/dir-mcp npm package's own bundled binary — the same package .mcp.json already runs via npx -y @agntcy/dir-mcp — via its second bin entry:

npx -y --package=@agntcy/dir-mcp dirctl <subcommand and flags>

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +12 lines scan A → B 6ea0365b91c1
  2. 1mo ago Changed · +25 lines · +7 tokens per session 9aa9cce7c123
  3. 2mo ago First seen · 85 lines · 28 tokens per session scan A 7c2efc0e916a

Subscribe to this mod's changes

search-agents is a skill published in the GitHub repository agntcy/dir-mcp (4 stars, last pushed 3d ago), licensed Apache-2.0. It adds 35 tokens to every session and 1,580 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens