cobusgreyling

Claim Ledger — Development skill for Claude Code

Development community

Scores the delta between what a coding agent said it did and the tool results in the transcript.

How to install Claim Ledger

This entry records only its repository, not the path inside it, so there is no exact command to give. Open cobusgreyling/claim-ledger and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claim Ledger does

Scores the delta between what a coding agent said it did and the tool results in the transcript.

Alternatives in Development

  • Devteam — Run a team of local coding agents in your terminal 264 ★
  • Memory Flush — You are a memory extraction assistant for Omux 94 ★
  • Video Specialist — Deep-dive analyst for processed video content 40 ★

README

![claim-ledger](assets/header.png)

claim-ledger

The delta is the gap between the sentence and the tool result.

A coding agent says "tests passed", "pushed", or "updated src/app.py". The trace often shows a red run, a smaller number, a command that starts after the sentence, or no command at all. claim-ledger scores that gap. The model's own recap is not evidence. A pytest summary pasted into the reply does not count, and fenced examples are ignored.

claim-ledger does not decide whether the code is right. It decides whether the sentence matches the trace. The command prints a report and leaves the file untouched.

![The delta: what was said, what the trace shows, and the verdict](assets/delta.png)

Run

From the repo root. Python 3.11 or newer. No install and no API key.

python3 -m claim_ledger transcripts/*.jsonl
python3 -m claim_ledger --verbose transcripts/contradicted.jsonl
python3 -m claim_ledger --json --strict path/to/session
python3 -m unittest discover -s tests -v

Pass a claim-ledger JSONL file, a Grok `chat_history.jsonl`, a Grok session directory, or a Claude Code session JSONL.

`--strict` exits 1 when the delta is not zero. The default exit is 0, so a report can be read without failing the shell. `--json` prints one object for a loop to gate on `delta`.

The delta

Verdict Meaning
supported An earlier tool result matches the claim
contradicted An earlier tool result says the opposite
inflated The claimed count is higher than the tool output
late The matching tool result appears after the sentence
unsupported The trace has no matching tool result
omitted A test, build, commit, or push failed, and later text never says so

Integrity is supported divided by claims. The delta is every other claim, plus omissions. Integrity can be 1.00 while the delta is still open: a true file claim can sit beside a failed test the text never mentions. Read the delta.

The latest matching tool resu