Playbooks / Install hooks and gates so your rules enforce themselves

Install hooks and gates so your rules enforce themselves

Install hooks and gates so your rules enforce themselves

Coming

51 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

AccountWhyFree or paidPlan
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.PaidClaude 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 + uvRuns every pipeline script (video gates, library export, research cache, Brain export, PDF generator, MIDI tools) inside per-project virtual environments.FreeFree.

What you bring

  • Your own NEVER DO list, one gate per rule

The steps

  1. Learn the hook protocol and map each rule to a layer
  2. Create the hooks folder and wire settings.json
  3. Gate 1, block em dashes at write time (PreToolUse on Edit and Write)
  4. Gate 2, no write before read (PreToolUse on Bash)
  5. Gate 3, deploy means commit (PostToolUse on Bash)
  6. Add one injection hook for a judgment rule
  7. The recipe for every future gate

Get the full playbook

Part of: Foundation