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 pleaseai/claude-code-plugins --skill claude-code-docsgit clone --depth 1 https://github.com/pleaseai/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/pleaseai/claude-code-plugins/claude-code-docs)<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/claude-code-docs"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/claude-code-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/pleaseai/claude-code-plugins/claude-code-docs"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/claude-code-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.00084 | $0.00686 |
| Opus 5.5 | $0.00034 | $0.00274 |
| Sonnet 5.5 | $0.00017 | $0.00137 |
| Haiku 4.5 | $0.00008 | $0.00069 |
Grade A, and why
claude-code-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 29d 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 — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Answer this question about Claude Code using the official documentation:
$question
How to find the answer
Work through these steps, falling back gracefully when a tool is missing.
1. Resolve the docs mirror
DOCS="$(ask src github:pleaseai/claude-code-docs)/docs"
ask src prints the root of a cached checkout of the docs mirror (clones on first use). If the ask CLI is not on PATH, run it via npx/bunx instead:
DOCS="$(npx -y @pleaseai/ask src github:pleaseai/claude-code-docs)/docs"
Only fall back to step 4 (WebFetch) when neither works, such as offline sandboxes without npm registry access.
2. Search for relevant pages
Prefer semantic search with csp, scoped to the per-page markdown:
csp search "$question" "$DOCS" --content docs --top-k 8
Or equivalently via ask (requires csp on PATH):
ask search github:pleaseai/claude-code-docs "$question" --content docs --top-k 8
If csp is not on PATH, run it via npx/bunx:
npx -y @pleaseai/csp search "$question" "$DOCS" --content docs --top-k 8
If that fails too, fall back to grep over the mirror — search for 2-3 distinct keyword variants, not one long phrase:
grep -ril "<keyword>" "$DOCS"
The manifest at $DOCS/../llms.txt lists every page with a one-line summary; reading it is a fast way to shortlist pages when keyword search is noisy.
3. Read and answer
Read the top matching pages (whole pages — they are small). Ground every claim in what the pages actually say:
- Answer in the user's language; keep code identifiers, field names, and flags verbatim.
- Cite each source page with its canonical URL: a mirror file
$DOCS/hooks.mdcorresponds tohttps://code.claude.com/docs/en/hooks. - Quote exact field names, JSON shapes, and version requirements (
min-versionmarkers) when they matter. - If the docs do not answer the question, say so explicitly — do not fill gaps from memory.
4. Fallback: WebFetch
If the ask CLI is unavailable, fetch https://code.claude.com/docs/llms.txt, pick the relevant page URLs from the manifest, and fetch each as <page-url>.md (this plugin's hook rewrites page URLs to .md automatically). Then answer as in step 3.
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.
- 29d ago First seen · 70 lines · 84 tokens per session scan A da22cfedf545
claude-code-docs is a skill published in the GitHub repository pleaseai/claude-code-plugins (17 stars, last pushed yesterday), licensed MIT. It adds 84 tokens to every session and 686 once invoked, about $0.0003 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-11-02.
claude-code-docs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| claude-code-docspleaseai/claude-code-plugins | Skill | 17 | yesterday | MIT | A | 84 | Claude Code |
| hr-onboardingnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 62 | Claude Code, Codex |
| book-mirrorgarrytan/gbrain | Skill | 34k | today | MIT | A | 139 | Claude Code |
| lean-formalizewanshuiyin/Auto-claude-code-research-in-sleep | Skill | 20k | yesterday | MIT | A | 81 | Claude Code |
| deck-course-modulenexu-io/html-anything | Skill | 17k | 2d ago | Apache-2.0 | A | 25 | Claude Code, Codex |
| eli5companion-inc/feynman | Skill | 10k | 2d ago | MIT | A | 63 | Claude Code, Codex |
| explore-unknownsdzhng/skills | Skill | 1.5k | 17d ago | MIT | A | 162 | Claude Code, Codex |