Wizalnut

Your agent said‘fixed’ Was it?

We run a video studio on Claude Code. Every hook, skill and agent that stops our agents from guessing, leaking and forgetting is becoming four packs, plus one for AI image and video. Two are out. One command installs each.

What it looks like
when a gate says no.

Three gates, recorded in a terminal. The pack was installed into an empty Claude Code home, each move was handed to the gate exactly as Claude Code hands it over, and what you see is the gate’s own answer — nothing retyped.

In our own studio the done gate stopped 114 “done” claims that had no run after the last code edit, in 83 Claude Code sessions over 30 days (24 October – 22 November 2026). Counted from the Stop-hook entries in our session transcripts.

Blocked “done” without proof

The agent had to run the test — or say plainly that it had not.

stop_no_fabricated_evidence.sh
# Claude Code, end of a turn. The agent edited a file, ran nothing,
# and wrote: "Fixed. The login test works now."
$ jq -c ".message.content[0]" turn.jsonl | tail -2
{"type":"tool_use","name":"Edit","input":{"file_path":"/repo/src/auth.py"}}
{"type":"text","text":"Fixed. The login test works now."}

# Claude Code runs the Stop hook before the turn can end:
$ ~/.claude/hooks/stop_no_fabricated_evidence.sh < stop.json | jq -r ".decision, .reason"
block
🧭 Do not fabricate evidence. You wrote “works now” after editing `/repo/src/auth.py`, but there was NO run after the last edit in this turn (Bash / SQL / curl / MCP). Reading your own change is not a run. Which output are you claiming this from? → Run it (test, smoke, query, open the result) and give the verdict with its output — or write truthfully “edited, NOT verified”. Field incident: a script reported “fixed ✅” without a run stayed dead for 16 days. Bypass: BYPASS_KANT.
Gate: Wizalnut Quality Gates · stop_no_fabricated_evidence.sh

Blocked discarding someone's work

The agent looked at the diff first; the other session's lines stayed.

pretooluse_git_discard_guard.sh
# A shared checkout. config.yaml has uncommitted changes
# that may belong to another session.
$ git status --short
 M config.yaml

# The agent tidies up:  git checkout -- config.yaml
$ ~/.claude/hooks/pretooluse_git_discard_guard.sh < call.json; echo "exit: $?"
BLOCKED - this would discard UNCOMMITTED changes

  repo:    /private/tmp/qg-demo/work/api
  command: git checkout -- config.yaml
  would discard:
       M config.yaml

WHY: an uncommitted change in a shared working tree is not necessarily yours.
In a field incident (09/2026) a "cleanup" `git checkout -- <file>` wiped ~480 lines
another session was still working on. Git could not bring them back.

WHAT TO DO:
  1. LOOK at what is there:   git -C <repo> diff -- <paths>
  2. Not yours? Leave it alone and make your change in your own worktree/branch.
  3. Really meant to discard it? Save a copy first:
       git -C <repo> diff -- <paths> > /tmp/discarded.patch
  4. Deliberate discard: add the marker DISCARD_OK to the command.

Disable: touch $HOME/.claude/hooks/GIT_DISCARD_OFF
Gate: Wizalnut Quality Gates · pretooluse_git_discard_guard.sh
exit: 2

Blocked a key going into the log

The key stayed out of the transcript: the agent checked that it was set, not what it said.

pretooluse_secret_expansion_guard.sh
# The agent checks the API key it was given:
$ cat call.json
{"session_id": "qg-demo", "hook_event_name": "PreToolUse", "cwd": "/private/tmp/qg-demo/s3", "tool_name": "Bash", "tool_input": {"command": "echo $OPENAI_API_KEY"}}

# Claude Code asks the gate before running it:
$ ~/.claude/hooks/pretooluse_secret_expansion_guard.sh < call.json; echo "exit: $?"
BLOCKED - this command would PRINT the value of a secret variable into the transcript
   match: echo $OPENAI_API_KEY

The transcript is a file on disk that gets stored, summarized and shared - a key
printed into it is a leaked key. Field incident 08/2026: `echo ${MY_API_KEY:-MISSING}`
printed a full key while every literal-pattern secret scanner stayed silent.

INSTEAD:
  exists?        [ -n "$MY_API_KEY" ] && echo set || echo missing
  length/prefix: echo "${#MY_API_KEY} chars, prefix $(printf %s "$MY_API_KEY" | cut -c1-4)..."
  use it:        pass it straight to the tool (curl -H "Authorization: Bearer $MY_API_KEY" ...)
                 without echoing it first.

Bypass (deliberate, your own risk): add SECRET_PRINT_OK to the command.
Disable: touch $HOME/.claude/hooks/SECRET_EXPANSION_GUARD_OFF
Gate: Wizalnut Quality Gates · pretooluse_secret_expansion_guard.sh
exit: 2

Every line above is the gate’s own output, recorded with asciinema. Replay the raw recordings yourself with asciinema play: done gate · git discard guard · secret expansion guard.

Five pages
from the book.

A spell gets into the book only after it worked. These five did, on paid client work.

PAGE 01

Quality Gates

Hooks that stop Claude Code before it guesses, builds on stale facts, leaks a key or calls unfinished work done.

  • Done gate: no “done” without a real check after the last edit
  • Premise check: claims from old notes are verified against live files first
  • Git guards: no discarding uncommitted work, no blind amend
  • Secret guards: block commands that would print a key into the transcript or a shell trace
  • 16 hooks, 6 skills, a canary test for every hook, one-command install and uninstall
€29Buy now

Not sure? Try 3 of the gates free — direct download, no e-mail, no sign-up. Or install them as a Claude Code plugin from GitHub.

PAGE 02

Memory Architecture

A memory your agent reads in the right order, with a guard that flags every note nobody can find again.

  • Router read every session, indexes read only when needed
  • Index guard: an unlinked note is flagged as it is written
  • Decision log: exact words first, interpretation second
  • Handoff template, so the next session starts where this one ended
  • Weekly hygiene pass for duplicates and stale notes
€29In packaging

PAGE 03

Agent Team

Twenty senior specialists, a dispatcher that picks the right one, and a contract for how they hand work over.

  • QA, security, DevOps, docs, finance, legal, marketing, growth
  • Hoot, the dispatcher: reads your vague task and passes it to the right specialist
  • Rowan, the orchestrator: turns a decision into today's plan
  • Handoff contract: agents pass on work, not opinions
  • Routing scale: when to answer alone, when to delegate
€39In packaging

PAGE 04

AI Influencer Kit

One anchor image, and the same face in every angle, outfit, place and talking head. A photoreal person and a painted mascot.

  • One anchor for angles, expressions, outfits, poses, locations
  • Double pack: photoreal person and painted mascot
  • 70+ tested prompts and a copy-paste file
  • Talking heads: front camera, tight 135 mm side, wider three-quarter
  • Location lock, so the place does not redraw itself
€39In production

PAGE 05

AI Film Crew

Eight film-crew agents for AI image and video, and the rules that stop you paying for the same shot twice.

  • Cue, the production dispatcher: references, free previz and one cheap test before any paid round
  • One variable per round, every round anchored on the approved master
  • Ember and Lumen, director and cinematographer: beat sheet, shot list, camera words models obey
  • Flutter, the colorist: seven contrasts measured in Lab, not guessed from a screenshot
  • Shelby, the brief guardian: GO or FIX before you pay, a verdict with evidence after
  • Shade, the look designer (Look Lab): your Lightroom presets become LUTs through a headless Camera Raw render, measured on real photos before they ship, one look across every AI clip
  • Croak, the voice: casting, VO fitted to each shot's length, a transcript check of every take, −14 LUFS for social and never a silent second
  • Silk, the captions: time on screen from the word count, safe zones for 9:16, 1:1 and 16:9, timed to the word, checked on real frames before export
  • Churn check: in our studio 46 % of generation spend went to shots that took more than three tries
€19Buy now

Sold separately. Not part of the four-pack bundle below.

Pick one agent free →

The same titles
run our ads.

Built in After Effects for our own campaigns. Nothing on this page is a mockup.

It's a page from my book. The page is yours.

All four packs, with every update we ship. The same files that run our studio. Opens when all four are ready.

Quality GatesMemoryAgent TeamInfluencer Kit

€99SAVE €37vs €136 for the four packs bought separately today

Before
you ask.

When can I buy?

Quality Gates and AI Film Crew are available now. The other three open as soon as each one is finished. Follow @wizalnut on Instagram and you will hear the day they do.

Is this what you use yourselves?

Yes. The same hooks, skills and agents that run our client work, with client names and private paths removed and the text translated to English.

How do I install it?

Unzip and run bash install.sh. It backs up your settings.json, registers the hooks and installs the skills; --dry-run shows every change first and --uninstall removes it all. Then start a new Claude Code session.

What do I need?

Claude Code 2.x, bash, python3 and jq. Built and tested on macOS; hooks are shell scripts and skills are Markdown files.

Will it slow my agent down?

Most hooks are a quick pattern check that stays silent. They interrupt only when a rule is about to be broken, and every message says exactly what to do next.

Can I change the rules?

Every hook is a readable script with its reason written at the top, and each one has an off switch.