/plugin marketplace add codacy/verity
/plugin install verity@verity
Then, in your project: /verity:init
Works on macOS, Linux and Windows
Verity is a peer to your coding agents. It enforces your team's standards, blocks
agents when it has to, and compounds knowledge and cost telemetry across your fleet.
The review runs out-of-band, on a stop hook, in its own context window, so it does
not spend your agent's tokens. Its findings do enter your agent's context.
The gate
Quality, security & intent. Gated before commit.
When an agent stops, a model that didn't write the code — backed by Codacy's
deterministic analysis CLI — judges the change against your standard. It passes, or
it's blocked with file-and-line findings and fixes, and the agent self-heals. Every
run is scored and tracked. Typically under 30 seconds; p50 under 15.
Three lenses on every change:
| |
|---|
| Security | SAST, OWASP Top 10, leaked secrets, dependency risk |
| Quality | bugs, regressions, maintainability, type safety |
| Intent | did the code do what was actually asked? |
Intent is the one nothing else checks. Verity captures the original prompt and
specs and holds the delivered code against them, catching drift at the source.
Why a different model
Because a model can't review its own work — and that's mechanical, not
philosophical. Models self-prefer (GPT-4 scored its own output 0.912, where 0.5 is
neutral), fold under pushback, and iterative self-fixing backfires: +37.6% critical
vulnerabilities after five rounds.
Verity's reviewer never wrote the code, so the verdict isn't graded by its author.
On a FAIL the agent reads the findings and self-heals, capped at two iterations —
fix-recheck hits diminishing returns after round two. Past the cap it defers to a
human. It interrupts you only when something is actually wrong.
Memory that compounds
Every decision, gotcha and integration is captured as Markdown in .verity/memory/,
plus a navigable graph of how they connect. The service keeps the graph and git ignores
the local copy by default. Editable and fed forward — so every agent and session starts
smarter than the last.
Cost in view
Spend and usage tracked at the harness, if you opt in: per model, per session, per run,
down to a fleet cost tree across every agent. Scaling agents never means losing the bill.
What the plugin installs
Ten skills under /verity: and six hooks. Details, including exactly what runs, what
it sends and where, are in plugins/verity/README.md.
| Skill | |
|---|
/verity:init | Set Verity up here: asks about sign-in, repository rules and telemetry, then installs and signs you in |
/verity:setup | Project-specific rules a lookup cannot produce (optional, later) |
/verity:analyze | Review the current change on demand |
/verity:status | Standard version, last run, trend, pending items |
/verity:learn | What Verity has learned about this project |
/verity:memory | Browse and extend the knowledge graph |
/verity:reflect | Capture a learning at the end of a task |
/verity:insights | Quality metrics and Standard evolution |
/verity:feedback | Send feedback to the Verity team |
/verity:prove | Check a small, risky piece of code with a formal model, then replay any counterexample on the real code |
The plugin carries the @codacy/verity-cli
engine as a pinned dependency. Claude Code installs it with the plugin and updates it
with the plugin. Verity downloads Trivy on first use and, for the formal check, Lean
(about 800 MB).
Prefer npm, or need it in CI where there's no plugin?
npm install -g @codacy/verity-cli && verity init
What Verity sends and stores
Read What Verity sends, and where
before you install. It lists every destination, what each one receives, and in which mode.
In short: