Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Consult official Claude Code documentation from code.claude.com using selective fetching. Use when working on hooks, skills, subagents, plugins, agent teams, MCP servers, permissions, settings, CI/CD (GitHub Actions, GitLab), IDE extensions (VS Code, JetBrains), desktop/web app features, scheduling, memory/CLAUDE.md, deployment (Bedrock, Vertex, Foundry), sandboxing, monitoring, or any Claude Code feature requiring official docs. Fetches only the specific docs needed per task.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-10 | ✗→✓ | ▲ Improved | 1409% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -37% | 0% |
| case-22 | ✓→✗ | ▼ Worse | -50% | 0% |
| case-21 | ✓→✓ | = Same ✓ | -7% | 0% |
| case-20 | ✓→✓ | = Same ✓ | 39% | 0% |
Fetch official Claude Code documentation on-demand from code.claude.com. Uses progressive disclosure: resolve the topic to a filename, then fetch only that doc. Never fetch documentation speculatively.
All docs follow this pattern — substitute the filename:
https://code.claude.com/docs/en/{filename}.mdFor these high-frequency topics, fetch directly without consulting the full index:
| Topic | Filename(s) to fetch | | --- | --- | | Hooks (creating, events, lifecycle) | hooks-guide.md (guide + examples), hooks.md (API reference + all events) | | Skills (creating, SKILL.md format, triggers) | skills.md | | Subagents (types, config, delegation) | sub-agents.md | | Agent Teams (multi-agent, teammates, cowork) | agent-teams.md | | Plugins (creating, marketplace, installing) | plugins.md (creating), discover-plugins.md (marketplace + installing) | | MCP Servers (setup, config, scopes) | mcp.md | | Settings (settings.json, config scopes) | settings.md | | Permissions (rules, modes, auto mode) | permissions.md (rules + syntax), permission-modes.md (plan/auto/dontAsk modes) | | Memory (CLAUDE.md, auto memory, rules) | memory.md | | GitHub Actions (CI/CD, @claude PR) | github-actions.md |
For topics not listed above, consult references/docs-index.md for the complete routing table covering all 60+ documentation pages across platforms, deployment, security, configuration, administration, and reference.
references/docs-index.mdFetch multiple docs in parallel when the task spans multiple topics.
If routing does not match any known filename, fetch the documentation map to discover available pages:
https://code.claude.com/docs/en/claude_code_docs_map.mdIdentify the relevant doc from the map, then fetch it using the URL pattern.
Task: "Help me create a pre-tool-use hook to log tool calls"
hooks-guide.md + hooks.mdTask: "How do I install plugins from a marketplace?"
discover-plugins.mdTask: "How do I configure Claude Code output styles?"
references/docs-index.md -> find output-styles.md under Configurationoutput-styles.md via WebFetchOther measured skills in the registry, with their headline benchmark lift.