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
Cwd ChangedConfiguration for cwd-changed hooks with path-based command executioncommands
ElicitationConfiguration for elicitation hooks with MCP-server-based command executioncommands
Elicitation ResultConfiguration for elicitation-result hooks with MCP-server-based command executioncommands
File ChangedConfiguration for file-changed hooks with path-based command executioncommands
Instructions LoadedConfiguration for instructions-loaded hooks with command executioncommands
Message DisplayConfiguration for message-display hookscommands, onlyFinal
NotificationsConfiguration for system notificationsenabled, hooks, showErrors
Permission DeniedConfiguration for permission-denied hooks with tool-based command executioncommands
Permission RequestConfiguration for permission request hooks that control tool permission decisionsallow, default, deny
Post CompactConfiguration for post-compact hooks with trigger-based command executioncommands
Post Tool BatchConfiguration for post-tool-batch hookscommands
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
Task CreatedConfiguration for task-created hooks with subject-based command executioncommands
Teammate IdleConfiguration for teammate idle hooks with pattern-based command executioncommands
User Prompt ExpansionConfiguration for user-prompt-expansion hooks with command-name-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 cwd-changed hooks with path-based command execution.

Configuration for elicitation hooks with MCP-server-based command execution.

Configuration for elicitation-result hooks with MCP-server-based command execution.

Configuration for file-changed hooks with path-based command execution.

Configuration for instructions-loaded hooks with command execution.

Configuration for message-display hooks.

Configuration for system notifications.

Configuration for permission-denied hooks with tool-based command execution.

Configuration for permission request hooks that control tool permission decisions.

Configuration for post-compact hooks with trigger-based command execution.

Configuration for post-tool-batch hooks.

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 task-created hooks with subject-based command execution.

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

Configuration for user-prompt-expansion hooks with command-name-based command execution.

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

Configuration for worktree create hook.