Docs/CLI reference

CLI reference

tama adaptive claude-config

Prints the Claude settings fragment that routes mapped Claude lifecycle and tool events through the shared legacy runner.

Prints the Claude settings fragment that routes mapped Claude lifecycle and tool events through the shared legacy runner.

#Invocation

tama adaptive claude-config

The command takes no required input or public options.

#Output and state

Stdout receives a JSON object with a hooks map. Registry events that have Claude mappings become Stop, UserPromptSubmit, PreToolUse, PostToolUse, or SessionStart entries, with matchers where required and commands of the form node ~/.shared-hooks/run-hook.mjs <event>. The command prints only; it does not write Claude settings.

#Refusals and failures

Unmapped registry events are omitted, not treated as errors. There are no command-specific policy refusals; adaptive state or registry failures are written with the doctor: prefix and exit 1.

Return to the adaptive command group or the complete CLI tree.