Four Claude Code hooks
github.com/NaluKicks-808/claude-code-hooks
Hooks are small scripts Claude Code runs at fixed moments, whether the session wants them or not. These four make a session read your notes before it talks, stop it asking you something it could have looked up, refuse to start a second to-do list, and force an agent to measure a job before it spends tokens on it.
- Session start: injects "read the brain first" before the session does anything.
- Question gate: blocks a question to you until the brain has actually been read.
- One agenda: refuses a second to-do list anywhere in a project.
- Delegation gate: makes an agent measure a job before it hands it off.
Why I built it
Every one of these is a mistake I paid for. A session answered a question about my own life from memory while the answer sat in my notes. Another one started a to-do list inside a project folder, invisible to the system holding my real one, and the two drifted until neither was worth trusting. Writing the rule down had already failed each time, so each of these is the rule with a machine behind it.
Start here
- Download the repository as a ZIP, or clone it.
- Copy the hooks folder into the .claude folder in your home directory.
- Paste the settings block from the README into your Claude Code settings file.
- Start a new session. The first hook runs before you type anything.
What it does not do
It does not know where your notes are. Until you point the session-start hook at your own folder, it has nothing to tell the session to read.