[!TIP]
Let your AI agent set it up. Paste this into Claude Code, Codex or Cursor:
Set up cstack for me by following https://github.com/yulmucoffee/cstack/blob/main/FOR_AGENTS.md
The agent asks whether you want it for yourself or for a repository. Then it installs, checks the result, and lists the few settings only you can change.
Why cstack
AI agents now write pull requests faster than people can read them. The Claude Code team shared how they handle that. They moved most of the reading to machines, layered the checks, and matched human approval to risk. Merged PRs more than doubled, and the share that had to be reverted fell by more than 40 percent. poteto's pstack covers how an agent should work so its output deserves trust.
cstack packs both into files you install in a minute.
🔍 Reviews with proof
Every "review this" runs two reviewers with the same prompt on different models. A fresh verifier then checks each finding, by running the code when that is safe. You get only the findings that survived, each with a file:line and its evidence.
|
🧭 Works where you are
One skill for Claude Code, Codex and Cursor, plus review rules for Cursor BugBot. No server and no account. Plain files in your repo or home folder.
|
🛡️ Approval that matches risk
An optional GitHub check sets the number of human approvals a PR needs: 0 for docs, 1 for code, 2 for CI, auth, billing, migrations or outside authors.
|
Quick start
You need Python 3.10 or later and git. The commands work in bash, zsh and PowerShell. On Windows, use py -3 where it says python3.
Option A: let your agent do it. Use the prompt in the box above. The agent follows FOR_AGENTS.md.
Option B: just for me, in every repository
git clone --depth 1 https://github.com/yulmucoffee/cstack.git "$HOME/.cstack/src"
python3 "$HOME/.cstack/src/scripts/install.py" --global
That's it. Open a new agent session and say "review my changes".
Option C: for my team's repository
python3 "$HOME/.cstack/src/scripts/install.py" --target /path/to/repo
python3 "$HOME/.cstack/src/scripts/doctor.py" --target /path/to/repo
The doctor shows what is set up and what is left. Commit the result, then see Turn on enforcement.
Prefer the Claude Code plugin?
/plugin marketplace add yulmucoffee/cstack
/plugin install cstack@cstack
The skill is then /cstack:cstack. A plugin cannot edit CLAUDE.md, so paste the text of templates/routing.md into ~/.claude/CLAUDE.md. That way every review request reaches cstack.
Use it
Just ask, in any words and any language. You do not need to name the skill.