Claude Code Complete Guide
A practical guide to multi-session workflows, automation, and extension patterns in Claude Code.
Written and reviewed by Eric Han · Co-founder & CTO, reopt
Recently Updated Chapters
Keep Claude Code sessions accurate through memory, compaction, and concise handoffs.
Run Claude Code in non-interactive workflows with clear inputs, outputs, and guardrails.
Use Claude Code hooks for predictable automation and repository guardrails.
Connect Claude Code to tools and resources through Model Context Protocol servers.
Prepare Claude Code plans, installation, update policy, and a safe repository baseline.
This guide is for developers who already use Claude Code and want to run multi-session workflows, subagents, automation, and extensions in real projects.
Content baseline: October 10, 2026
Covers Claude Code v2.1.308 and Haiku 5.5. See the update log for version-by-version changes, sources, and affected chapters.
Handbook Map
1. Plan and Environment Setup
Plans, installation, update policy, and baseline repository setup.
2. Mastering CLAUDE.md
Project memory, rule hierarchy, imports, and maintainable instruction files.
3. Multi-session Workflow
Worktree-based parallel sessions and clean handoff patterns.
4. Subagents
How to delegate bounded work without losing control of the main thread.
5. Hooks
Event-driven automation for checks, guardrails, and repository hygiene.
6. MCP Integration
Tool servers, resources, trust boundaries, and team configuration.
7. Skills and Slash Commands
Reusable workflows, custom commands, and project-specific operating recipes.
8. Plan Mode
Analysis-first work that turns ambiguity into a concrete implementation contract.
9. Context Management
Compaction, recap, project memory, and token discipline.