Hook Playground

Write a hook. Pick a sample input. Click Run. See what happens. No install needed.

Hook Script (bash) PreToolUse · Bash
Input (JSON via stdin)

Output

Result
Click "Run Hook" to see the result.

Hooks are simulated client-side using pattern matching. For real execution, use npx cc-safe-setup --simulate "command" or --test-hook name.

Need the full production setup?
6 hooks + 5 templates + 9 scripts from 700+ hours autonomous. Pay what you want ($0+).
Get the Ops Kit →

Learn more: Production Guide · All Tools