A policy, not a framework
One command writes the policy into CLAUDE.md, between permanent markers. It updates in place and never duplicates. It can also add three subagents: advisor, executor and verifier.
A Claude Code plugin that installs a standing operating policy. One writer. A verification gate. Failure loops capped at two cycles. Risky changes go through plan, execute, verify and review, each with its own subagent and model tier. Install it once, and every later session works this way.
AI agents write code faster than anyone can review it, and they declare themselves done. Stackwich turns plan, build, test and review into standing policy for Claude Code, so the agent works like a disciplined engineer.
One command writes the policy into CLAUDE.md, between permanent markers. It updates in place and never duplicates. It can also add three subagents: advisor, executor and verifier.
The verifier runs the project's real tests, lint or build and returns GATE: PASS or GATE: FAIL. It never repairs. A done report states the command run and what it printed.
Model tiering is the cost control. The executor runs on a cheap tier. The stronger tier only plans and reviews. Established facts are not re-derived, and research runs in forks so it stays out of the main context.
Built first for Claude Code, with Grok and Codex versions. Versions for more AI tools, each using that tool's own models, are coming.
In my program work, every eligible task runs through Stackwich's advisor loop: plan, execute, verify, review. It has helped every Scrum Master on the program. It is not used in developers' code generation.
From the repo layout and README. Dashed boxes are optional. Tap any box to see what it does.
Each component shows its role and the file it comes from.
The highlight moves through each step. Pause it or choose a step to explore. Every rule here is in the installed policy block or the agent files.
This runs the policy's routing rules in your browser. Pick a tool, describe the change, and see which roles run and on which models. Then fail the gate and watch the loop cap. Each version uses its own tool's models.
Checked against the public repo: README, CHANGELOG, plugin manifest, agent files, evals and CI.
/plugin marketplace add ovhirup/stackwich
/plugin install stackwich@stackwich
/stackwich:stackwich
Both commands are typed inside a Claude Code session. The skill asks for scope, user level or this project only, then writes the policy and offers the three agents. Upgrade and uninstall steps are in the README.
Shipped in Dynamic LLM Router v0.4.0. It is off by default and turned on per worker.
The router hands each task to a coding agent's command-line tool, such as Codex, Grok Build or Cursor, based on live quota.
For a worker with Stackwich turned on, the tool runs plan, execute, verify and review in its own session, on its own models, and writes a report. Workers that do not support it run as before.
The router commits only on a passing gate, an approved review, an exact match between planned and changed files, and its own tests passing. One correction on the same worker, then the job is blocked for review. Verified commits are labelled Stackwich: verified.
In my own setup, Codex and Grok Build each use their own Stackwich version. A live end-to-end check with Grok Build is pending. There is no Cursor version yet.