Install hooks and gates so your rules enforce themselves
Coming51 shell and Python hooks wired into settings.json that inject rules at prompt time and block tool calls that break a law: em-dash ban, credential capture, deploy-commit gate, render lane, no-write-before-read, taste gate, email angle and link gates, rules router.
Kit
workspace-os
You need
| Account | Why | Free or paid | Plan |
|---|---|---|---|
| Claude Code (Anthropic Claude Pro or Max) | The AI operator every system runs through. Skills, hooks, memory, MCP servers and the Brain plugin all load inside Claude Code. | Paid | Claude Pro (20 USD/mo) works for light use; Max (100 USD or 200 USD/mo) for daily multi-hour sessions. Anthropic terms require each user to hold their own subscription; never share a login. |
| Python 3.12 + uv | Runs every pipeline script (video gates, library export, research cache, Brain export, PDF generator, MIDI tools) inside per-project virtual environments. | Free | Free. |
What you bring
- Your own NEVER DO list, one gate per rule
The steps
- Learn the hook protocol and map each rule to a layer
- Create the hooks folder and wire settings.json
- Gate 1, block em dashes at write time (PreToolUse on Edit and Write)
- Gate 2, no write before read (PreToolUse on Bash)
- Gate 3, deploy means commit (PostToolUse on Bash)
- Add one injection hook for a judgment rule
- The recipe for every future gate
Get the full playbook
Part of: Foundation