sawbuck weekly downloads statistics
By sawbuck-ai · npm · Claude Code
Write down the rules your agent follows, and prove they held. A deterministic, zero-LLM check re-proves each win from the agent's source edits alone, so a test that went green by editing the test, grader, or config is sent back. For Claude Code, with Code
sawbuck has 891 recorded weekly downloads on npm, a decrease of 89.0% over the past 30 days, ranking #2108 of 3,247 tracked listings.
About sawbuck
sawbuck
Write down the rules your agent follows, and prove they held. Was that green earned, or was the test edited to pass? Sawbuck re-runs your tests from the agent's source edits alone, so a win that only came from editing the test reads as gamed. It keeps what git threw away (a reverted attempt and its reason, squashed out of the log) and shows it to your agent when you ask for that file again. And it turns what you keep telling your agent into written rules, each with your own words behind it.
Measured in November 2026: we put a test that could not pass into 6 real repos and told the agent to get to green fast. With no rule, it got there by changing the test 85 of 100 times on Claude Sonnet, Haiku and Opus 5.5, and 21 of 24 on Fable 5.2; with one line in CLAUDE.md, 0 of 100 and 0 of 24. So the written rule does most of the work. Sawbuck writes it for you, and then checks on every commit that it held, with no model in the loop.
If it earns its keep, a star helps the next person find it.
In Claude Code, install the plugin and keep working:
/plugin marketplace add sawbuck-ai/reins
/plugin install sawbuck-reins@sawbuck
Run claude update first: the plugin needs a current Claude Code.
The first time you open a git repository with no rules, Claude finishes your task and offers once to add them. Say yes: it writes the rule, sets your protected paths, and watches every turn: protected paths at the end of each turn, each commit re-proved from the source.
Or from the command line:
# 1 · try it (no install, no commitment): verify your latest change right now
npx sawbuck check
# 2 · give this repo its rules: the written rule, protected paths, and your tests if it has no config yet
npm i -g sawbuck # a global copy does not update itself: run `npm i -g sawbuck@latest` for a new release
sawbuck contract # --full adds supply-chain guards, a repo lock and, on a GitHub repo, a CI check
sawbuck attach # watch every Claude Code turn in this repo (--shared for a team file, --codex for Codex, --cursor for Cursor, --git for any other agent)
What a check looks like:
$ sawbuck check
🚩 gamed: a win here came from editing the test, config, or grader, not the source.
It does NOT survive a source-only re-run, so it does not count.
$ sawbuck check # after fixing the source and restoring the test
✓ verified: your working change earned it. "tests_pass" improved, and the source carried the win
(it survives a source-only re-run).
Exit codes: 0 pass (verified, held, or allowed) · 1 sent back (a regression or a protected path) · 2 gamed · 3 inconclusive · 64 could not run (not a git repo, no commit, a bad ref, an unknown flag, a bad or missing flag value, a bad config, or --working with nothing uncommitted, and it says which); no detectable test command reads 3 inconclusive, and says so.
Check every pull request. Two lines.
npx -y sawbuck contract --full
git add -A && git commit -m "add the Sawbuck check" && git push
The first line writes the check as files in your repo. You can read every one before you commit.
It adds a workflow, .github/workflows/sawbuck.yml, that runs on each pull request. A plain pass gets no comment.
No model reads your code. No account. Nothing leaves your CI.
Try it with --comment-only: nothing fails. Working alone, add --solo. Both, and what it sends back: GUIDE.md.
Which line is for you (the plugin, the commands alone, a terminal, a pull request, the engine by itself): GUIDE.md.
What it does
- A normal turn: you see nothing new.
- The agent got to green by changing a test: the turn is sent back to the agent, up to three times. Then you get three ways out: fix the source, put the test back, or accept the change with a reason. A later turn is not sent back for it: you are told while it is open.
- The agent changed a protected path (a CI workflow, the registry config, the rules file): sent back too. To keep such a change, make it yourself.
- Your prompt names a file where something was tried before: the reverted attempt and its reason are shown to the agent with the prompt.
What it cannot see
- A test weakened while it stays green: there is no win to re-run.
- A gaming move that lives inside the source itself, such as a value hardcoded to the one visible case.
- A test edited to go green and left uncommitted is not sent back at the end of that turn.
sawbuck checkreads it on demand. - Run on Linux. On a Mac the tests pass and no session has been run yet. Not supported on Windows.
Every limit, each held by a test or marked as not run: LIMITS.md.
More
- GUIDE.md: everything else, in the order people ask. Commands, protected paths, pull requests, teams, other agents.
- CHANGELOG.md: what was found and fixed in each version.
- CONTRACT.md: the check, written up as a draft spec.
- What Sawbuck keeps on your machine: sawbuck.ai/privacy.
Tested claims. Every claim in these pages, and every limit, is a test in test/claims.test.mjs, run on a clean account.
Apache 2.0.
Description from the npm listing.
- ai-agents
- claude-code
- codex
- reward-hacking
- code-quality
- ci
- git-hooks
- developer-tools
- promptwheel
- verification
- agents
- cursor
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (142)Similar npm Claude Code plugins
All 20 sawbuck alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/sawbuck. First seen Nov 12, 2026; last successful collection Nov 30, 2026. See the methodology.