Hooks
Gate an agent’s built-in tools.icy ask
Waits for your answer. Exits 0 on approve, 2 otherwise.
Claude Code
~/.claude/settings.json — json{"hooks": {"PreToolUse": [{"matcher": "Bash|Write|Edit","hooks": [{ "type": "command", "command": "icy ask --agent claude-code --summary -", "timeout": 180 }]}]}}