search-claude-docs

search-claude-docs is a skill for Claude Code from bengous/claude-code-plugins. It costs 35 tokens per session (1,390 once invoked), scanned A, original, MIT.

A skill for searching the official Claude Code documentation and checking when documented behavior changed. It uses focused searches and exact sections instead of relying on memory alone.

In plain words
What is it for?
Use it to look up Claude Code features, configuration, SDK details, or changes recorded in its documentation.
Why use it?
It helps answer Claude Code questions with current, specific documentation and avoids treating outdated behavior as still valid.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; positional $N argument; mentions Claude Code.

Part of the research-tools plugin — 1 skill, 4 commands, 2 agents shipped together

Good fit Use it to look up Claude Code features, configuration, SDK details, or changes recorded in its documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bengous/claude-code-plugins/search-claude-docs
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 bengous/claude-code-plugins --skill search-claude-docs
Clone the repo
git clone --depth 1 https://github.com/bengous/claude-code-plugins

Made for: Claude Code.

Or install research-tools, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 2 agents.

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-claude-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/bengous/claude-code-plugins/search-claude-docs.svg)](https://agentmods.dev/skills/bengous/claude-code-plugins/search-claude-docs)
Your own site
<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="Measured on agentmods" 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,390 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.01390
Opus 5 $0.00017 $0.00695
Sonnet 5 $0.00007 $0.00278
Haiku 4.5 $0.00003 $0.00139

Measured 3d ago against content hash 9d5dcca5fb52, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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 3d 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.

research-tools/skills/search-claude-docs/SKILL.md · 81 lines

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>.mdx mirrors https://code.claude.com/docs/en/<page>. The SDK pages live under /en/agent-sdk/.
  • /en/changelog.mdx is 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>.mdx are weekly digests that group releases with context and links.

Workflow

  1. Start with search_claude_code_docs when 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.
  2. Switch to the filesystem tool for exact terms: an env var, a flag, a setting key, an error string, a tool name. Always give rg a 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
    
  3. 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 pages
    
    cat of a whole page costs hundreds of lines; use it only when the page is short (wc -l first).
  4. To date a behavior, map a changelog line to its version with awk, which keeps the last Update label seen before each match:
    awk '/Update label=/{v=\$0} /Glob.*Grep|Grep.*Glob/{print v; print}' /en/changelog.mdx
    
    Then open the matching /en/whats-new/ digest for the surrounding context.
  5. 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.

Read the full file on GitHub · 81 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. 3d ago First seen · 81 lines · 35 tokens per session scan A 9d5dcca5fb52

Subscribe to this mod's changes

search-claude-docs is a skill published in the GitHub repository bengous/claude-code-plugins (4 stars, last pushed yesterday), licensed MIT. It adds 35 tokens to every session and 1,390 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

batch

Dispatch a night's batch of Todo tickets — one worktree and one pull request each — and leave a morning summary. Run explicitly; never inferred.

mikestankavich/claude-ship-workflow · 31 tokens

cleanup

Clean up after a merged pull request — return to the base branch, remove the worktree, delete the branch, sweep other stale branches and worktrees, and report tracker state. Use after a merge or whenever asked what is left over.

mikestankavich/claude-ship-workflow · 50 tokens

prep

Spec a ticket before it is dispatched. Brainstorms it, decides everything it can recommend an answer for, asks a present human about the little that survives, and leaves the spec, the decisions and anything still open as one ticket comment. No worktree, no branch, no pull request, and the ticket stays where it was.

mikestankavich/claude-ship-workflow · 68 tokens

work

Dispatch a tracker ticket into an isolated worktree and drive it autonomously to an open pull request, then stop for review. Pass interactive to brainstorm the ticket with a human before planning it. Use when asked to work a ticket end-to-end.

mikestankavich/claude-ship-workflow · 53 tokens

merge

Merge the reviewed pull request for the current branch, then hand straight off to cleanup. Use when a human green-lights an open PR.

mikestankavich/claude-ship-workflow · 30 tokens

Subagent Driven Development

Orchestrate specialized, autonomous AI agents to execute parallel subtasks with strict boundaries.

ankur-gaurav161418/omniforge · 22 tokens