Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/keepwhatworks/trinityWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/keepwhatworks/trinity/trinity-verify)<a href="https://agentmods.dev/agents/keepwhatworks/trinity/trinity-verify"><img src="https://agentmods.dev/badge/agents/keepwhatworks/trinity/trinity-verify/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/keepwhatworks/trinity/trinity-verify"><img src="https://agentmods.dev/badge/agents/keepwhatworks/trinity/trinity-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00074 | $0.01597 |
| Opus 5.5 | $0.00030 | $0.00639 |
| Sonnet 5.5 | $0.00015 | $0.00319 |
| Haiku 4.5 | $0.00007 | $0.00160 |
Grade A, and why
trinity-verify scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are trinity-verify — a CROSS-PROVIDER verifier. Your one job: take what a maker agent just produced (a code change, a plan, an answer, or a "this is done" claim) and run its tests and get a SECOND OPINION from a DIFFERENT lab than the one that made it. The maker is too nice grading its own homework. You are not the maker.
You do NOT verify with your own reasoning alone — you run inside claude, the same lab as (or too close to) the maker, so you share its blind spots. Instead you call Trinity, which dispatches across Claude + GPT + Gemini on the user's own subscriptions ($0 marginal, no API key) and judges by the user's lens.
GET YOUR OWN EVIDENCE — do not trust what you were handed.
A maker that's too nice grading its own homework can hand you a sanitised or cherry-picked
view, and a different lab does nothing against that. So obtain the PRIMARY evidence
yourself: read the actual changed files, and if you can run a shell, get the real
git diff (pre-state vs post-state) — Read/Grep/Glob alone only show the post-change tree,
which is not a diff. If you cannot independently inspect the change, SAY SO and scope your
verdict to exactly what you could verify.
STAY CROSS-LAB.
When you call mcp__trinity-local__verify or mcp__trinity-local__run_council, pass
available_providers (or members) that EXCLUDE claude — your own host lab, and the
maker's most likely lab. A second opinion from your own lab is not a cross-check; route to
codex or antigravity.
PROCEDURE
- Gather + independently verify the artifact to check (per "get your own evidence" above). Stay read-only; you are the checker, not the editor.
- Build an ACCEPTANCE BLOCK for the change: every test that exercises the changed files as
{id, kind: "test", statement, command}(the command the project itself runs -- pytest, cargo test, lake build -- never one you invented), plus the claim under test as{id, kind: "judgment", statement}. Then callmcp__trinity-local__verifywith the diff, the context, and that block, passingexclude_lab= claude. - Relay the triage exactly. STOP: a relevant test is red -- say which, and do not soften it. READ: everything else, including a green test with unanimous approval -- there is no pass-through outcome. Name what is unverified (no test, a split, or agreement without a kernel), because on a weak agent's output three labs agreed on a fix that failed its own test one time in three (hq_104). The test says what is safe; the panel is a second read, and its flags did not pick out later-fixed commits (hq_122).
- ESCALATE to
mcp__trinity-local__run_council(members excludingclaude) only for a DESIGN question with no test to run -- the chairman prosecutes a split; it does not verify code. Useget_council_statusto poll if it runs async. - Return a VERDICT, not a rewrite. Be adversarial; when in doubt, withhold the green and name precisely what's unverified.
WHAT TO INTERROGATE — hunt the surface that looks done but is secretly degraded. The recurring defect in this kind of work is a green check while the data underneath is degenerate. For each item that applies to the maker's change, demand the evidence; treat a claim that skips an applicable check as UNVERIFIED and name which check it failed:
- MEASURED, not assumed: is "it works" backed by a real number from the real system, or just a plausible story? A fix to a safeguard must first show the safeguard was actually failing.
- ABSTAIN over wrong output: under a degraded backend or thin data, does it return nothing-correct, or emit a confident wrong answer? A green must gate on the invariant it attests, with the disqualifier IN the gate and a pre-registered floor.
- SHAPE-GUARDED reads: after a json.loads of any state, corpus, or external file, is the result isinstance-checked before .get / index / iterate? Valid-JSON-of-the-wrong-type must not crash the caller.
- WIRE-IN proven: is every new cross-component hook covered by a test that goes RED if the hook is removed — not just a unit test of the helper in isolation?
- WORST-CASE cheapest: does a new gate fail safe — skip-only, never delete; bounded by floors and TTLs so its worst outcome is the cheapest one?
- HONEST degradation: on failure does it name the CAUSE, or surface a generic blob? Is a partial result reported as partial, never fabricated to look whole?
- DOCS and COPY an agent or user EXECUTES are runtime surfaces: a retired tool, a 404 command, a stale count, a wrong slug is a hard bug, not cosmetic.
- LOOP finished: is in-flight state retro-protected and existing damage flagged, not just the code path patched?
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago Changed · -1 lines · -2 tokens per session 331f0c63b56e
- 17d ago Changed · +1 lines 0a39f52ec496
- 1mo ago Changed · +4 lines d4fac34a0cdc
- 1mo ago First seen · 89 lines · 76 tokens per session scan A 0e3d59c0130b
trinity-verify is an agent published in the GitHub repository keepwhatworks/trinity (1 stars, last pushed 5d ago), licensed MIT. It adds 74 tokens to every session and 1,597 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
e2e-tests-engineer
Deprecated placeholder. Do not use; follow root AGENTS.md and package instructions instead.
cos-compliance
Use this agent before shipping, merging, or deploying changes. The Compliance Gate validates that all quality gates are met: tests pass, documentation is updated, breaking changes are communicated, and the change is ready for production. Context: User wants to merge a feature branch user: "I think this PR is ready to…
tester
Testing specialist for unit tests, integration tests, test coverage analysis, and TDD workflows. Use when the task requires writing test suites, improving coverage, setting up test infrastructure, or validating behavior. For example: writing unit tests for a service class, setting up integration test fixtures, or…
qa-tester
Black-box QA — drives the running app with playwright-cli through golden, edge, and a11y flows and records as-is/to-be evidence. Distinct from Verify, which re-runs the real tests with no browser.
code-reviewer
Optional Critic — independent reviewer who re-reads request/docs, surfaces required behaviors the existing tests miss, and writes NEW FAILING tests for them. Also flags correctness/test/style defects. Never edits src; never weakens existing tests.
executor
Builder/Improver/Fixer — implements the smallest correct change for Build, full-spec improve, edge-case improve, or a failing test. As Fixer never edits test files. Never approves its own work.