// Router skill for Claude Code (the CLI tool itself). Contains intent
hints and a dispatch table that maps a user's question to the
surface-specific deep-reference file Claude should Read next.
Use when the user asks about Claude Code internals: editing
.claude/settings.json or settings.local.json, authoring or debugging
hooks (PreToolUse, PostToolUse, Stop, SubagentStop, Notification,
UserPromptSubmit, PreCompact, SessionStart, SessionEnd, etc.),
writing slash commands or agents, configuring MCP servers in
.mcp.json, building plugins or marketplaces, setting ANTHROPIC_* /
CLAUDE_* env vars, troubleshooting permission modes, understanding
the ~/.claude/ directory layout, or asking "what does <feature> in
Claude Code do".
Skip: questions about the Anthropic Messages API (use anthropic-api),
the Claude Agent SDK (use claude-agent-sdk), the MCP protocol spec
(use mcp-spec), or general shell / git / programming topics not
specific to Claude Code internals.
Router skill for Claude Code (the CLI tool itself). Contains intent
hints and a dispatch table that maps a user's question to the
surface-specific deep-reference file Claude should Read next.
Use when the user asks about Claude Code internals: editing
.claude/settings.json or settings.local.json, authoring or debugging
hooks (PreToolUse, PostToolUse, Stop, SubagentStop, Notification,
UserPromptSubmit, PreCompact, SessionStart, SessionEnd, etc.),
writing slash commands or agents, configuring MCP servers in
.mcp.json, building plugins or marketplaces, setting ANTHROPIC_* /
CLAUDE_* env vars, troubleshooting permission modes, understanding
the ~/.claude/ directory layout, or asking "what does <feature> in
Claude Code do".
Skip: questions about the Anthropic Messages API (use anthropic-api),
the Claude Agent SDK (use claude-agent-sdk), the MCP protocol spec
(use mcp-spec), or general shell / git / programming topics not
specific to Claude Code internals.
This skill is auto-updated daily. A matrix pipeline reads
the upstream docs and rewrites the per-surface files below. Section
structure is stable; content drifts to track upstream.
Dispatch table
Read the surface file(s) matching the user's question. Each surface
file holds its complete reference for that one topic and cross-links
(via markdown links) to siblings when a fact spans surfaces — so you
only need to Read the matching file(s), not all of them.
This skill is auto-updated daily by a maintainer-run pipeline. If you
spot a bug in this content, file an issue at
xiaolai/anthropic-docs —
SKILL.md fixes flow back through the next research run, not via PRs.