← ClaudeAtlas

analyze-claude-codelisted

Analyze Claude Code CLI source code to understand its architecture design and implementation details(prompts, built-in tool, agents). Use when users want to explore how Claude Code works internally, understand specific features like tools/hooks/MCP/permissions, or learn from its codebase design. Triggers on questions about Claude Code internals, source code analysis requests, or "how does Claude Code implement X" or "what's the prompts of claude code's X" queries.
kaichen/agent-skillset · ★ 2 · AI & Automation · score 54
Install: claude install-skill kaichen/agent-skillset
# Analyze Claude Code Deep dive into Claude Code CLI source code to understand its architecture and implementation. ## Setup: Download and Format Source ```bash # One-liner: download, extract, and format curl -sL "$(curl -s https://registry.npmjs.org/@anthropic-ai/claude-code/latest | jq -r '.dist.tarball')" -o claude-code.tgz && tar -xzf claude-code.tgz && npx js-beautify --replace package/cli.js ``` ## Official Documentation **Access official docs via WebFetch tool:** Use the WebFetch tool to query Claude Code's official documentation when you need authoritative information about features, API, or best practices. **Documentation entry point:** - URL: `https://code.claude.com/docs/llms.txt` - Contains: Quickstart, CLI Reference, Settings, Hooks, MCP, Skills, Plugins, Security, and more **Example queries:** ```bash # Get documentation overview Use WebFetch tool with: url: https://code.claude.com/docs/llms.txt prompt: "Show me the table of contents and main sections" # Query specific topics Use WebFetch tool with: url: https://code.claude.com/docs/llms.txt prompt: "How do hooks work? Explain with examples" Use WebFetch tool with: url: https://code.claude.com/docs/llms.txt prompt: "What are the available MCP transport types and their differences?" ``` **When to use:** - Verify implementation details not clear from source code - Understand intended behavior and design philosophy - Check for recent updates or documentation changes - Find usage examples and