← ClaudeAtlas

modelisted

Get or set daemon operating mode - switch between default and unattended (blocks Stop events)
Edmonds-Commerce-Limited/claude-code-hooks-daemon · ★ 2 · AI & Automation · score 71
Install: claude install-skill Edmonds-Commerce-Limited/claude-code-hooks-daemon
# /mode - Daemon Mode Management ## Description View or change the daemon's operating mode. Supports `default` (normal operation) and `unattended` (blocks Stop events to keep Claude working autonomously). ## Usage ```bash # Show current mode /mode /mode get # Switch to unattended mode (blocks Stop events) /mode unattended # Switch to unattended with custom task message /mode unattended finish the release and run all tests # Switch back to default mode /mode default ``` ## Modes | Mode | Behavior | | ------------ | ------------------------------------------------------------------------------ | | `default` | Normal operation - all handlers process events as configured | | `unattended` | Blocks Stop events unconditionally to keep Claude working without interruption | ## What Unattended Mode Does When enabled, a **mode interceptor** runs before the handler chain on every event: - **Stop events**: Blocked with a DENY response instructing Claude to continue working - **SubagentStop events**: NOT blocked (subagents should stop normally) - **All other events**: Pass through to normal handler chain unchanged The interceptor includes re-entry protection (checks `stop_hook_active` flag) to prevent infinite loops. ## Custom Messages When switching to unattended mode, you can include a custom message that gets appended to the block reason. This lets you give Claude specific i