claude-code-docs

claude-code-docs is a skill for Claude Code from pleaseai/claude-code-plugins. It costs 84 tokens per session (686 once invoked), scanned A, original, MIT.

A question-answering guide for Claude Code features and configuration, based on its official documentation. Claude Code is a coding tool with features such as hooks, plugins, skills, MCP, and a command-line interface.

In plain words
What is it for?
Use it to answer questions about Claude Code behavior, settings, hooks, plugins, skills, MCP, the Agent SDK, and command-line usage.
Why use it?
It directs answers to a version-specific local copy of the official docs, with search and fallback methods when a preferred tool is unavailable.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Part of the claude-code-docs plugin — 1 skill shipped together

Good fit Use it to answer questions about Claude Code behavior, settings, hooks, plugins, skills, MCP, the Agent SDK, and command-line usage.

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

Made for: Claude Code.

Or install claude-code-docs, the plugin that ships this one along with the rest of its 1 skill.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/claude-code-docs/github.svg)](https://agentmods.dev/skills/pleaseai/claude-code-plugins/claude-code-docs)
Your own site
<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.

agentmods 80×15 button for claude-code-docs

Your own site · 80×15
<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>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 686 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.00084 $0.00686
Opus 5.5 $0.00034 $0.00274
Sonnet 5.5 $0.00017 $0.00137
Haiku 4.5 $0.00008 $0.00069

Measured 29d ago against content hash da22cfedf545, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/claude-code-docs/skills/claude-code-docs/SKILL.md · 70 lines

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.md corresponds to https://code.claude.com/docs/en/hooks.
  • Quote exact field names, JSON shapes, and version requirements (min-version markers) 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.

Read the full file on GitHub · 70 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. 29d ago First seen · 70 lines · 84 tokens per session scan A da22cfedf545

Subscribe to this mod's changes

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.

Related

claude-code-docs compared with skills from other repositories

claude-code-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-code-docspleaseai/claude-code-pluginsSkill17yesterdayMITA84Claude Code
hr-onboardingnexu-io/open-designSkill110ktodayApache-2.0A62Claude Code, Codex
book-mirrorgarrytan/gbrainSkill34ktodayMITA139Claude Code
lean-formalizewanshuiyin/Auto-claude-code-research-in-sleepSkill20kyesterdayMITA81Claude Code
deck-course-modulenexu-io/html-anythingSkill17k2d agoApache-2.0A25Claude Code, Codex
eli5companion-inc/feynmanSkill10k2d agoMITA63Claude Code, Codex
explore-unknownsdzhng/skillsSkill1.5k17d agoMITA162Claude Code, Codex