Claude Code hook
Andon
Stop hooks that stop AI coding agents (Claude Code, Codex) from claiming "done" without proof. A Lean quality system: every defect becomes a permanent countermeasure. Built by a manufacturing operator.
Install
/plugin marketplace add PrimeFoldTools/andonFound in the project README. Check it for setup steps after installing.
git clone https://github.com/PrimeFoldTools/Andon.gitFrom the README
Andon Stop fixing the same AI mistake twice. A Lean *quality system* for AI-assisted work — operators turn recurring defects into countermeasures. Built by a manufacturing operator, for people who actually ship. *Andon* is the cord on a Toyota line you pull to stop production when something's wrong. This is that cord for AI work: catch the defect, investigate it, and add a countermeasure. *Not affiliated with Andon Labs (the AI-agent evaluation company). Same Lean word, different project — this is a solo, open-source operating kit.* The problem If you work inside an AI agent every day, you know the failure modes: - It forgets what you decided last week. - It repeats mistakes you already corrected. - It says "done" when it isn't. - Projects drift — two sessions stomp the same file, context evaporates, you re-explain the same thing. Most "AI tips" make the *output* a little better. Recurring defects also need explicit checks and follow-through. The fix isn't a better prompt. It's an operating discipline — borrowed from a factory floor. Use the same discipline in AI work: record a defect, investigate its cause, and add a countermeasure. Where practical, add a mechanical check and test both the failure and a legitimate passing case. Checks have limits; keep those visible. The aim: retain what you learned and check whether the countermeasure works. Quickstart — your first win in 5 minutes (no code) The smallest useful piece is a structured memory file — so you can come back to a project after three months and your agent knows exactly where you left off, instead of rebuilding context from scratch. 0. Clone this repo first (you'll copy a couple of files out of it): 1. In your project, make a memory folder and an index: 2. Add 2–3 lines to memory/MEMORY.md — the…
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- PrimeFoldTools/Andon
- Type
- Hooks
- Website
- primefold.tools
- Language
- Python
- License
- MIT
- Last updated
- 5 November 2026
- Topics
- agentic-codingagents-mdai-agentsai-codingclaude-codeclaude-code-hookscodexdeveloper-toolshooksleanllmpoka-yoke
FAQ
What is Andon?
Stop hooks that stop AI coding agents (Claude Code, Codex) from claiming "done" without proof. A Lean quality system: every defect becomes a permanent countermeasure. Built by a manufacturing operator. It is a hook for Claude Code, from PrimeFoldTools/Andon on GitHub.
How do I install Andon?
Run /plugin marketplace add PrimeFoldTools/andon inside Claude Code, then follow the setup in the README.
Is Andon popular?
PrimeFoldTools/Andon has 168 GitHub stars and 13 forks. It was last updated on 5 November 2026.
More hooks
Interlinked CLI
183QuentinCody/interlinked-cli
The harness for your harness. Local hooks, taste enforcement, and developer observability for AI coding agents (Claude Code, Codex, Cursor, Copilot CLI).
Flonat Research
149flonat/flonat-research
Shareable Claude Code + Codex infrastructure for PhD researchers — skills, agents, hooks, and rules for academic workflows
Clawd Conduit
175ssssssanjiu/clawd-conduit
Full-lifecycle wiring between Claude Code and the Clawd on Desk pet — all 15 hook events, with permission prompts answered straight from the desktop
agentjail
100LuD1161/agentjail
Policy guardrails that check every Claude Code, Codex or Cursor tool call against local rules.
PRD Driven Context Engineering
179mattgierhart/PRD-driven-context-engineering
PRD-Led Context Engineering — Memory as Infrastructure. An ontology layer for product teams building products that solve real problems — with AI agents that remember. Gated PRD, typed IDs, markdown knowledge graph, Claude Code skills & hooks.
Claude Adhd Skills
171ravila4/claude-adhd-skills
Claude Code skills and hooks for staying organized with AI agents.
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.