@nizos/probity weekly downloads statistics
By nizos (2 listings) · npm · Claude Code
TDD enforcement and guardrails for Claude Code, Codex, and GitHub Copilot CLI.
@nizos/probity has 1,093 recorded weekly downloads on npm, a decrease of 75.0% over the past 30 days.
It ranks #1375 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by +18.3%.
PluginStats has 542 daily observations since Apr 24, 2025; the latest is from Oct 17, 2026.
About @nizos/probity
Probity
Probity forces AI coding agents to follow your rules. It hooks into your agent and checks every file write and shell command before it happens. When an action breaks a rule, Probity blocks it and tells the agent why.
You can use it to enforce Test-Driven Development with the built-in rule, block destructive commands, or keep unwanted patterns out of your code. Writing your own rules takes a few lines of TypeScript, and one config works across most coding agents.
Probity is featured on the Modern Software Engineering channel, where Emily Bache and Nizar Selander discuss what TDD looks like when an agent writes the code. A separate Q&A with factor10's Jimmy Nilsson covers using Probity on real projects, and links the full kata run.
How it works
When a rule is broken, the agent sees a reason and a path forward:
The agent corrects course and continues.
Rules can be deterministic, matching commands or file content by string or regex, or AI-validated using official SDKs. Both kinds can read recent session activity, so actions are judged in context.
Quick start
Create probity.config.ts at your project root:
Then wire it into your agent. One-time setup per agent.
Built-in rules
• enforceTdd(): failing test first, minimal implementation, refactor on green • forbidCommandPattern(): block shell commands by pattern • requireCommand(): require a prior command (e.g. tests before commit) • forbidContentPattern(): block writes containing a pattern • enforceFilenameCasing(): enforce a filename casing style
FAQ
Does it work with my agent? Probity currently works with Claude Code, Codex, and GitHub Copilot CLI, with more coming.
Does it work with my language? Probity reads each agent's session transcript directly, so there are no per-framework reporters to install. It works with any language and test runner that your agent can work with.
Does Probity need its own API key or subscription? No. AI-validated rules use each vendor's official SDK and reuse whatever authentication your agent already has, so Probity doesn't require its own access or billing.
Does this cost extra tokens? AI-validated rules add a turn each time they check an action, so yes, some. Working in small TDD steps adds turns of its own, with or without Probity. Pattern-based rules add none.
Does enforcing TDD with an agent guarantee good design? Not on its own. Probity keeps the agent on track: a failing test before the code, the minimum to pass it, refactoring on green. That removes a lot of handholding and prompt fatigue. The shape the implementation and the tests take is still yours to steer.
I'm already using TDD Guard. Should I switch? Yes. Probity handles refactors and multi-step edits more reliably, is safe with parallel sessions, and supports more agents. See Migrating from TDD Guard.
Documentation
• Setup: wire Probity into your agent • Configuration: config file shape, path scoping, and custom rules • Rules: built-in rules and their options • Migrating from TDD Guard: steps and customization mapping
Contributing
Contributions are welcome. See the contributing guidelines to get started.
License
MIT
Description from the npm listing.
- claude-code
- codex
- github-copilot
- coding-agent
- hooks
- tdd
- policy
- guardrails
Where @nizos/probity sits in the listing
Each band is one page of 20. Weekly downloads on a log 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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.
Recent observations
Full history (542)Similar npm Claude Code plugins
Data 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/@nizos/probity. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.