Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By bloknayrbv0.1.0GPL-3.0In 1 marketplace
Checks end-of-turn claims like 'tests pass', 'builds cleanly' and 'I've pushed' against the tool calls that actually ran, and notes each claim that has no evidence.
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Tell Claude tootellModel
Also add each flag as a hidden note Claude reads on its next request. It never starts a turn.
booleandefault true
Test commandstestCommands
Commands whose successful foreground run backs a 'tests pass' claim, matched as whole words in Bash and PowerShell commands.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; writes files; reads environment variables (HOME, TEMP, USERPROFILE).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
string listdefault ["pytest","uv run pytest","npm test","n…
Build commandsbuildCommands
Commands whose successful foreground run backs a 'builds cleanly' or 'type-checks' claim.
string listdefault ["tsc","cargo build","npm run build","n…
Checks end-of-turn claims ("tests pass", "builds cleanly", "I've pushed") against the tool calls that actually ran, and puts one line beneath the answer for each claim with no evidence or only weak evidence. It makes no model calls and never blocks, changes or re-runs a tool call.
Claude's answers are read for three families of claim, and each needs its own evidence:
| Family | Example claims | Evidence that counts |
|---|---|---|
| tests | "tests pass", "all tests passing", "tests are green" | the latest foreground run of a test command after the last code edit, showing it passed |
| build | "builds cleanly", "compiles", "type-checks" | the latest foreground run of a build or type-check command after the last code edit, showing it passed |
| shipped | "I committed", "I've pushed", "I merged", "opened PR #N", "the PR is merged" | the matching git commit / git push / gh pr merge (or git merge) / gh pr create this turn, showing it succeeded |
A run "shows it passed" through its exit code, or, when the exit code is masked (piped into tail, followed by ; echo
and so on), through an echo of its own status or a result summary in its output. Quoted text, code spans, negations,
hedges ("should pass", "will pass") and questions are not claims. Subagent answers are not checked; tool calls from
every loop, subagents included, count as evidence.
One line beneath the answer for each unbacked claim, at most five per turn and then a count:
Claim Ledger: "all tests pass" has no test run after the last edit (17:39).
Claim Ledger: "the tests pass": the last test run after the last edit failed (17:45).
Claim Ledger: "all tests passing" rests on `npm test ...`, whose exit code is masked and whose output shows no result.
Claim Ledger: "I've pushed" has no git push this turn.
Times are local. A claim sentence is flagged once per evidence state, so restating it over the same evidence adds no second line.
With tellModel on, the same lines are also added to the conversation as a hidden note Claude reads on its next
request. The note never starts a turn: it waits until you next send something.
Set through /plugin (the plugin's options):
| Option | Default | Meaning |
|---|---|---|
tellModel | true | Also add each flag as a hidden note for Claude |
testCommands | pytest, uv run pytest, npm test, npm run test, npm run test:e2e, pnpm test, yarn test, vitest, jest, npx playwright test, cargo test, go test, claude plugin test | Commands whose run backs a tests claim, matched as whole words in Bash and PowerShell commands |
buildCommands | tsc, cargo build, npm run build, npm run typecheck, npm run typecheck:tests, idf.py build | Commands whose run backs a build claim |
/claim-ledgerPrints, across all sessions, how many claims of each family were flagged, how many of those were later backed, and how many were repeated while still unbacked. A tests or build flag is later backed when a passing run follows it with no edit between, so the claim may well have been true when it was made: the later-backed rate is the false-positive measure, and a high rate means the check is noisy. Shipped flags are never later backed, since they are judged on their own turn only. The report also shows this session's tool-call count, the last code edit, the current tests and build verdicts, and the last five flags.
Under ~/.claude/state/mods/claim-ledger/:
<session id>.json, the health file: when the mod loaded (loadedAt) and the last hook failure (lastError, or
null). Written at session start, when /clear or /resume moves to a new session, and on any failure.trail/<session id>.jsonl, the trail: one JSON object per line, the last 200 events of the session. It records each
code edit (edit), each test, build or git run with how it was judged (run: kind, ok, masked, background, basis), a
background run judged when its result was read back (read-back), each claim's outcome (claim: backed, fired with
its status, or repeated), and each hidden note sent (append, or append-failed). For a background run, the run
row's ok is the launch; its result lands in the later read-back row. The trail is written only when something
was recorded, so a session with no claim, edit or run has none.npx claudepluginhub bloknayrb/claudestuff --plugin claim-ledgerBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.