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.
npx skills add bengous/claude-code-plugins --skill search-claude-docsgit clone --depth 1 https://github.com/bengous/claude-code-pluginsWrote 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.
[](https://agentmods.dev/skills/bengous/claude-code-plugins/search-claude-docs)<a href="https://agentmods.dev/skills/bengous/claude-code-plugins/search-claude-docs"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-plugins/search-claude-docs/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.
<a href="https://agentmods.dev/skills/bengous/claude-code-plugins/search-claude-docs"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-plugins/search-claude-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00035 | $0.01390 |
| Opus 5.5 | $0.00014 | $0.00556 |
| Sonnet 5.5 | $0.00007 | $0.00278 |
| Haiku 4.5 | $0.00003 | $0.00139 |
Grade A, and why
search-claude-docs scanned grade A with 0 findings 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Search the Claude Code docs
Question to answer: $ARGUMENTS
The claude-code-docs MCP server exposes two tools. Used together they let you
answer from the published docs with an exact citation while loading a few dozen
lines into context instead of whole pages.
| Tool | What it is | Use it for |
|---|---|---|
search_claude_code_docs |
Semantic search, returns page path, anchor, and a content chunk | Locate the right page for a concept or a phrasing you cannot guess |
query_docs_filesystem_claude_code_docs |
Stateless read-only shell (rg, grep, find, ls, tree, head, tail, sed, awk, wc, jq) over a virtual filesystem holding the docs as .mdx |
Exact keywords, reading a section, dating a change |
Layout of the virtual filesystem
- One directory per language. English is
/en/; other languages hold translations of the same pages. /en/<page>.mdxmirrorshttps://code.claude.com/docs/en/<page>. The SDK pages live under/en/agent-sdk/./en/changelog.mdxis the full release history. Each version starts with<Update label="2.1.251" description="August 28, 2026">, not a markdown heading./en/whats-new/<year>-w<week>.mdxare weekly digests that group releases with context and links.
Workflow
- Start with
search_claude_code_docswhen you know the concept but not the page. Read the returned paths and anchors; they are your citations. Stop here when a chunk already answers the question. - Switch to the filesystem tool for exact terms: an env var, a flag, a setting key, an error string, a tool name. Always give
rga path under/en/. Without a path it scans every language and floods the result with translations:rg -n "CLAUDE_CODE_GLOB_NO_IGNORE" /en/ rg -n -i "bypass permissions" /en/permission-modes.mdx - Read only the lines you need. Every call is stateless, so combine in one command:
rg -n "^## " /en/tools-reference.mdx # table of contents sed -n '120,160p' /en/tools-reference.mdx # one section head -60 /en/skills.mdx /en/sub-agents.mdx # the top of several pagescatof a whole page costs hundreds of lines; use it only when the page is short (wc -lfirst). - To date a behavior, map a changelog line to its version with
awk, which keeps the lastUpdate labelseen before each match:
Then open the matchingawk '/Update label=/{v=\$0} /Glob.*Grep|Grep.*Glob/{print v; print}' /en/changelog.mdx/en/whats-new/digest for the surrounding context. - Quote the doc verbatim when the wording carries the answer (a version number, a default, an exact flag). Paraphrase only the surrounding explanation. End with the URL form
https://code.claude.com/docs/en/<page>#<anchor>and the version numbers you found.
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.
- 1mo ago First seen · 81 lines · 35 tokens per session scan A 9d5dcca5fb52
search-claude-docs is a skill published in the GitHub repository bengous/claude-code-plugins (6 stars, last pushed today), licensed MIT. It adds 35 tokens to every session and 1,390 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
development
An index of programming guidance for Python, Go, Rust, TypeScript, Java, C++, and shell scripting.
tencent-docs
A Tencent Docs assistant for creating, reading, editing, organizing, importing, and exporting online documents, spreadsheets, presentations, diagrams, and forms.
debugging-executions
Debug failed or wrong-output workflow executions using executions tools. Load when the user reports execution failures, unexpected node output, empty parameter values after a successful run, or a node showing a red or failed expression error. Also load when a live run you started for the user fails with an error from…
wechat-search
Search WeChat Official Account articles using OpenClaw's web search, Tavily API, and web fetch capabilities with compliance-focused design.
flow-next-tracker-sync
Project a flow-next spec to a tracker issue (Linear, GitHub, GitLab, Jira) and reconcile two-way. Use when asked to sync to a tracker. NOT plan-sync.