Every official Claude doc page, always live, never redistributed. Every page across platform.claude.com and code.claude.com, re-indexed every 3 hours — and your Claude reads the actual current page, not a stale copy or a guess from training data. Two commands.
> /plugin marketplace add costiash/claude-code-docs> /plugin install claude-docs@claude-code-docs
Repo: costiash/claude-code-docs
What's inside
Every official Claude doc page, always live, never redistributed. Every page across platform.claude.com and code.claude.com, re-indexed every 3 hours — and your Claude reads the actual current page, not a stale copy or a guess from training data.
/plugin marketplace add costiash/claude-code-docs
/plugin install claude-docs@claude-code-docs
Two commands. No Python, no MCP server, no API keys — the client is pure bash + curl + jq.
Most documentation tools pick one of two designs: mirror the docs into a repo (instantly stale between syncs, redistributes content that isn't theirs, ~100 MB clones) or serve them through an MCP server (another process to run, network round-trips per query, answers that flood your context window).
This tool does neither. The repository commits only metadata — a page manifest and a prose-free search index, about 3 MB total. Your machine fetches each .md page directly from Anthropic's servers, on demand, into a local cache. Claude searches the index first and reads only the pages it needs.
| Web search | Docs mirrors | MCP docs servers | This tool | |
|---|---|---|---|---|
| Freshness | Search-engine lag | Stale between syncs | Usually current | Live page, every read |
| Claude docs coverage | Hit-or-miss | Often partial | Generic libraries | Every page, both sites |
| Runtime dependencies | None | git + disk | MCP server + config | bash, curl, jq |
| Context cost per answer | Whole pages of noise | Full file reads | Large tool payloads | Index hit → one targeted page |
| Redistributes Anthropic's docs | No | Yes, wholesale | Varies | Never — you fetch from the source |
| Clone size | — | ~100 MB | — | ~3 MB |
The compliance point is not a footnote: this repo contains zero documentation prose — not at the tip, not anywhere in its history. What you install is a map; the territory always comes fresh from Anthropic.
| Without claude-code-docs | With claude-code-docs |
|---|---|
| Claude guesses from training data | Claude reads the latest official docs |
| Broken or outdated URLs in answers | Correct platform.claude.com / code.claude.com links |
| "I think the API works like..." | "According to the documentation..." |
| You verify answers manually | Answers cite specific doc pages |
/docs skill — explicit lookups when you want them: /docs hooks, /docs extended thinking, /docs Agent SDK sessionsOn your first session after install, Claude clones the ~3 MB metadata repo to ~/.claude-code-docs/, warms the page cache in the background, and activates the skills. That's the whole setup.
No other docs tool does this. Ask about any Claude topic and get a beautifully crafted, interactive HTML course — animated protocol diagrams, hands-on quizzes, code-with-English translations, in a dark Obsidian & Amber theme. One self-contained file, zero setup, opens right in your browser.
/docs --course hooks # Generate a course on Claude Code hooks
/docs --course tool use # Deep dive into the Tool Use API
/docs --course prompt caching # Master caching with visual explanations
Or just ask naturally after any docs response — Claude will offer to create a course on whatever you just looked up.
https://github.com/user-attachments/assets/e36ae4c1-2ee6-4932-b0a5-3463cd20e012
What's inside a course:
Courses are saved to ~/.claude-code-docs/courses/ so you can revisit them or share them with your team.
Anthropic's documentation changes daily. Stay ahead of it:
/docs --report # Last 7 days of changes
/docs --report 24h # Last 24 hours
/docs --report 30d # Last 30 days
You get a visual HTML report of every added, changed, and removed page — grouped by category, with summaries. And each entry carries a "Create Course" button: click, paste into Claude Code, and deep-dive into whatever just changed. Docs monitoring and learning in one loop.
/docs hooks # Claude Code hooks
/docs mcp # MCP server configuration
/docs agent sdk python # Agent SDK Python guide
/docs --course hooks # Generate an interactive course on hooks
/docs --report # HTML changelog of recent doc changes
/docs -t # Check freshness (read-only)
/docs what's new # Recent documentation changes
The /docs skill understands intent — ask questions in plain English:
/docs what are the best practices for Agent SDK in Python?
/docs explain the differences between hooks and MCP
/docs how do I configure extended thinking for the API?
/docs show me all Agent SDK pages
Claude finds the right docs, reads them, and synthesizes a clear answer with source links.
With the plugin installed you don't need /docs at all:
"How do I set up MCP servers in Claude Code?"
Claude recognizes a documentation question and reads the relevant docs before answering — grounded answers with real URLs, every time.
The full Claude documentation set — every page on platform.claude.com and code.claude.com:
Auto-prompt every team member to install the plugin by adding this to your project's .claude/settings.json:
{
"extraKnownMarketplaces": {
"claude-code-docs": {
"source": {
"source": "github",
"repo": "costiash/claude-code-docs"
}
}
},
"enabledPlugins": {
"claude-docs@claude-code-docs": true
}
}
Commit this file to your repository. When a team member trusts the project folder, they'll be prompted to install the marketplace and plugin automatically — no manual setup needed.
git reset --hard origin/main) and a background fetch updates only changed pages in the local cachellms.txt + sitemaps every 3 hours/docs sync fetches changed pages now; /docs -t checks freshnessFor environments without plugin support:
curl -fsSL https://raw.githubusercontent.com/costiash/claude-code-docs/main/install.sh | bash
If Claude Code is detected, the script will guide you to install the plugin instead. Without Claude Code, it sets up the same metadata clone + on-demand fetching for basic documentation access.
Upgrading from a v1 (mirror) install? Nothing to do — your next session auto-migrates. The SessionStart hook hard-syncs to the metadata-only v2 layout (removing the old committed
docs/, preserving your cache and courses), then fetches pages on demand.
| Problem | Solution |
|---|---|
/docs not found | Restart Claude Code so the plugin loads; for a script install, check ls ~/.claude-code-docs/ |
jq missing | brew install jq (macOS) or sudo apt install jq (Debian/Ubuntu) — the only dependency not preinstalled everywhere |
| Docs seem outdated | /docs sync (or the SessionStart hook, which hard-syncs each session) forces an update; /docs -t only checks freshness |
| Plugin not working | Run /plugin list to verify installation |
| Script install fails | Install the plugin instead: /plugin install claude-docs@claude-code-docs |
Plugin:
/plugin uninstall claude-docs@claude-code-docs
Script install:
~/.claude-code-docs/uninstall.sh
code.claude.com, platform.claude.com, raw.githubusercontent.com), HTTPS-only with no redirect following, atomic writes, sha256 integrity checks, and filename path-traversal protectionFAQ
claude-code-docs is a Claude Code plugin with 5 hand-picked skills for documentation work, indexed on Flowy. Install it with the command on its page. It includes claude-docs-changelog, claude-docs-course, claude-docs-validate. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it