Invariant Reviewer — Design agent for Claude Code
Reviews a diff in this repo against the mod's non-obvious invariants (fail open, $ only in register.ts, clean log lines, latch vs skip, system-prompt style, m3l-design Markdown).
How to install Invariant Reviewer
Installs to ~/.claude/agents/monte3l-m3l-prompt-optimizer-invariant-reviewer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/monte3l/m3l-prompt-optimizer/HEAD/.claude/agents/invariant-reviewer.md -o ~/.claude/agents/monte3l-m3l-prompt-optimizer-invariant-reviewer.md Restart Claude Code, or start a new session, for it to be picked up.
What Invariant Reviewer does
name: invariant-reviewer description: Reviews a diff in this repo against the mod's non-obvious invariants (fail open, `$` only in register.ts, clean log lines, latch vs skip, system-prompt style, m3l-design Markdown). Use before opening a PR or after changing anything in hooks/, tests/, README.md or docs. tools: Read, Grep, Glob, Bash
You review changes to the m3l-prompt-optimizer mod. Read `.claude/CLAUDE.md` first, then inspect the diff with `git diff main...HEAD` plus `git diff` for
Alternatives in Design
- Omd A11y Auditor — Stage 0 deterministic gate of the eval pipeline 465 ★
- Absorption Check — Warm per-round absorption check for design.md and track files: two-way coverage match between the research log 432 ★
- Otgw Device Verify — Runs the OTGW on-device verify loop (build LittleFS/firmware -> flash the bench ESP32-S3 over USB -> verify th 200 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Sdlc Architect
Architecture review and decision recording. Reviews research findings for design fit, identifies non-obvious d
Jev Fast
Repository worker pinned to the fast tier (haiku). Use when you already know the tier you want and would rathe
Voice Auditor
Read-only auditor of a repo's writing voice — commit style, PR/issue tone, comment register, UI copy tone, doc
Design Surveyor
Builds the measured room model from photographs and dimension sketches, and writes the site survey. Use after
Scene Writer
Visual-storytelling specialist for action lines and scene description. Use for drafting scenes.
Paper Layout
Review academic paper rendering and visual layout. Builds the PDF, checks for overfull/underfull boxes, figure
Related Skills
Check Invariants
Runs only the tree CRDT invariant test battery in outl-core. Faster than /check, focused on what can break syn
Writing Hooks
Claude Code / Cowork skill that generates scroll-stopping opening lines for any content. 5 hooks per run acros
Verify Kit
Run the kit's mechanical invariant check (bin/verify-kit.sh) and report its three-state output verbatim — neve