The Claude Code Operator's Handbook
You gave an AI agent shell access to your machine. This is the operations
manual you should have read first — 18 chapters, ~14,000 words, on running coding agents
safely and efficiently in real work. Not prompt tips; operational practice.
Get the handbook — $29
Read 3 chapters free
What's inside
Part I — The Threat Model
- How agents actually fail (blast radius, not malice)
- The permission model: allow, deny, or gate
- Secrets, keys, and the .env that almost shipped
Part II — Guardrails
- Hooks deep-dive: PreToolUse, exit codes, fail-closed design
- Dangerous-command gating patterns
- Multi-session and worktree safety
- Pre-push secret scanning that actually works
Part III — Cost & Efficiency
- Where tokens really go
- Prompt-cache mechanics and hit-rate tuning
- CLAUDE.md as a cost lever
- Tool-output discipline
Part IV — Workflows & Recovery
- The /ship pipeline
- Onboarding a repo (and an agent) fast
- Team conventions without drift
- Recovery playbooks
- Auditing what an agent did
- Scaling to parallel agents
- A maturity model for agent operations
Who it's for
- Developers running Claude Code (or any coding agent) daily on real codebases.
- Teams adopting agents who need shared, safe operating practice.
- Anyone who's had — or wants to avoid — the "the agent did *what*?" moment.