Skip to content
Apothem
Reference

Settings

Claude Code harness configuration in settings.json covering tool permissions, hook wiring, environment variables, and status-line templates.

settings.json carries the Claude Code harness configuration: hook wiring, tool permissions, environment variables, and status-line settings.

The full canonical reference lives at settings-reference.md. This page summarizes the contract and points at the deeper reference.

Sections

SectionPurpose
permissionsTool whitelists and blacklists per matcher
hooksEvent-keyed hook command table (the canonical wiring)
envPer-session environment variables
statusLineStatus-line template the host renders

Single-template invariant

The Claude Code adapter ships one settings.json template. Hook commands use exec form (command plus args) instead of shell-specific command strings, so cross-OS behavior is reviewed inside one file. New permission entries and hook events land in that file atomically.

On this page