claude-code-docs
Claude Code Docs
Local mirror of Anthropic Claude Code documentation, kept fresh by a 3-hour GitHub Action. The cleaned Markdown lives in references/; the auto-generated topic list lives in references/INDEX.md; the per-file manifest with upstream URLs lives in references/docs_manifest.json.
Scope
Use this skill for Claude Code-specific product and configuration questions, including CLI behavior, settings, slash commands, hooks, skills, plugins, MCP, subagents, AGENTS.md, output styles, sandboxing, permissions, environment variables, monitoring and usage, Claude Desktop, Slack, Chrome, Web, Agent SDK, and release notes. If the question is about OpenAI Codex, Cursor, Claude.ai consumer features, the general Anthropic API, or another non-Claude-Code product, this skill does not apply.
Workflow
- If the user supplied a topic, normalize it to a slug:
- lowercase, strip leading
/docs/en/, strip surrounding slashes - join nested segments with
__(e.g.agent sdk hooks->agent-sdk__hooks,whats new 2026 w19->whats-new__2026-w19)
- lowercase, strip leading
- If
references/<slug>.mdexists, read that file directly. Do NOT grep the wholereferences/tree first - the index plus targeted reads is faster and uses less context. - If no exact match, read
references/INDEX.mdand pick the closest topic. If still ambiguous, list the candidates and ask. - If the user supplied no topic, read
references/INDEX.mdand present the available topics.