Evan Nalu Foster
Open source

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.


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

  1. Download the repository as a ZIP, or clone it.
  2. Copy the hooks folder into the .claude folder in your home directory.
  3. Paste the settings block from the README into your Claude Code settings file.
  4. 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.

© 2026 Evan Foster · hand-written HTML, no framework. evannalu.com/bio