claude-code-guide — Claude Code subagent: how to install and use
claude-code-guide — a subagent that answers questions about Claude Code features, hooks, and configuration. It searches the Claude Code Ultimate Guide and cites specific line numbers.
CC-BY-SA-4.0 ★ 6,529 updated 2026-10-22
.claude/agents/claude-code-guide.mdWhat claude-code-guide does
The agent draws on the 20,000+ line reference repository using the haiku model. It searches documentation through four MCP tools: search_guide, read_section, list_topics, and get_example. If keyword queries yield nothing, it turns to the 94KB YAML index at claude-code-guide://reference.
Every answer includes the file path and line number reference. The agent depends directly on the claude-code-ultimate-guide MCP server to execute its search routines.
What it helps with
- find ready-made templates for hooks and slash commands
- inspect internal architecture and CLI configuration flags
- verify token cost guidelines with exact file line citations
Example prompts for the agent
- Show me an example hook script for pre-commit checks in Claude Code.
- Where in the guide are subagent configurations explained?
- Which section covers connecting custom MCP servers to the CLI?
How to install claude-code-guide
Manually: put the files in place
.claude/agents/claude-code-guide.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/claude-code-guide.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/claude-code-guide.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about claude-code-guide
How to install claude-code-guide in Claude Code?
Add the subagent definition file at .claude/agents/claude-code-guide.md and configure the companion MCP server.
What does claude-code-guide do?
It queries the Claude Code Ultimate Guide repository and returns verified instructions with line citations.
Which model does this subagent use?
The agent frontmatter specifies haiku as its execution model.