Skip to content

Configuration Reference

Conclaude uses YAML configuration files to define lifecycle hooks, file protection rules, and workflow policies for Claude Code sessions. The configuration system is discovered via cosmiconfig and validated against a JSON Schema to ensure correctness.

IDE Support: Conclaude provides a JSON Schema for configuration validation and autocomplete in your editor. The schema is available at conclaude-schema.json and can be referenced in your YAML files for enhanced editing support.

SectionDescriptionKey Options
Config ChangeConfiguration for config change hooks with source-based command executioncommands
NotificationsConfiguration for system notificationsenabled, hooks, showErrors
Permission RequestConfiguration for permission request hooks that control tool permission decisionsallow, default, deny
Pre Tool UseConfiguration for pre-tool-use hooks that run before tools are executedpreventAdditions, preventRootAdditions, preventRootAdditionsMessage
SetupConfiguration for setup hooks with trigger-based command executioncommands
Skill StartConfiguration for skill start hooks that trigger when subagents (skills) startcommands
StopConfiguration for stop hook commands that run when Claude is about to stopcommands, infinite, infiniteMessage
Stop FailureConfiguration for stop failure hook commands that run when a turn ends due to an API errorcommands
Subagent StopConfiguration for subagent stop hooks with pattern-based command executioncommands
Task CompletedConfiguration for task completed hooks with pattern-based command executioncommands
Teammate IdleConfiguration for teammate idle hooks with pattern-based command executioncommands
User Prompt SubmitConfiguration for user prompt submit hook with context injection rules and command executioncommands, contextRules, slashCommands
Worktree CreateConfiguration for worktree create hookcommand, timeout

Detailed documentation for each configuration section:

Configuration for config change hooks with source-based command execution.

Configuration for system notifications.

Configuration for permission request hooks that control tool permission decisions.

Configuration for pre-tool-use hooks that run before tools are executed.

Configuration for setup hooks with trigger-based command execution.

Configuration for skill start hooks that trigger when subagents (skills) start.

Configuration for stop hook commands that run when Claude is about to stop

Configuration for stop failure hook commands that run when a turn ends due to an API error

Configuration for subagent stop hooks with pattern-based command execution.

Configuration for task completed hooks with pattern-based command execution.

Configuration for teammate idle hooks with pattern-based command execution.

Configuration for user prompt submit hook with context injection rules and command execution.

Configuration for worktree create hook.