← ClaudeAtlas

claude-docslisted

Search and read locally-stored Claude documentation covering Claude Code CLI, Claude API (Messages, tool use, vision, streaming, batch), Agent SDK (Python and TypeScript), prompt engineering, and all Anthropic platform docs. Use this skill whenever the user asks about Claude Code features (hooks, MCP servers, skills, plugins, settings, permissions, keybindings, sub-agents), the Anthropic API or any of its SDKs (Python, TypeScript, Go, Java), the Agent SDK (sessions, hooks, custom tools, MCP), model capabilities (context windows, extended thinking, pricing, rate limits, vision), prompt engineering best practices, or troubleshooting any Claude-related error. This skill provides instant access to official documentation files without web searches — always prefer it over web lookups for Claude and Anthropic topics.
costiash/claude-code-docs · ★ 50 · AI & Automation · score 73
Install: claude install-skill costiash/claude-code-docs
# Claude Documentation Search Skill Claude's official documentation is indexed locally. The clone at `~/.claude-code-docs/` holds only metadata: - `paths_manifest.json` — every page's filename, id, title, category, and source URL - `search_index.json` — per-page titles, headings, and stemmed term counts The actual `.md` pages are cached at `~/.claude-code-docs/cache/` (override: `$CLAUDE_DOCS_CACHE_DIR`). A background sync keeps the cache current; any page not yet cached is fetched on demand — see **Reading a doc** below. ## When to Use This Skill Activate when the user asks about: - Claude Code features: hooks, skills, MCP, plugins, settings, slash commands, sub-agents - Claude API: messages, tool use, streaming, batch processing - Agent SDK: Python/TypeScript SDK, sessions, custom tools, subagents - Prompt engineering: best practices, system prompts, chain of thought - Any topic covered by platform.claude.com or code.claude.com ## Search Strategy The search scripts read the manifest + index, so they see **every** page whether or not it is cached yet. Prefer them over globbing the cache. ### 1. Content search (default — questions and topics) ```bash bash ~/.claude-code-docs/plugin/skills/claude-docs/scripts/content-search.sh "<keyword1>" "<keyword2>" ``` Output is `filename<TAB>title<TAB>score`, best first. **Keyword extraction:** strip filler, keep domain terms — "how do I configure streaming" → `streaming configure`; "difference between hooks and MCP" → `hooks mcp