Guide Intermediate
Claude Code Hooks Guide: Automate and Guard Your Agent
How Claude Code hooks work: lifecycle events, matchers, exit codes and JSON output, plus ready-made hooks for formatting, alerts and blocking risky edits.
3 resources tagged “settings.json”.
How Claude Code hooks work: lifecycle events, matchers, exit codes and JSON output, plus ready-made hooks for formatting, alerts and blocking risky edits.
Every Claude Code permission mode explained: Manual, acceptEdits, plan, auto, dontAsk and bypass, plus allow/ask/deny rules and safe defaults for local and CI.
Turn on the Claude Code sandbox with /sandbox: what it blocks, auto-allow vs regular mode, allowWrite, allowedDomains, credentials and strict mode explained.