Ruleproof — Git skill for Claude Code
Check whether a coding agent followed your AGENTS.md: deterministic checks over the git diff and the session transcript.
How to install Ruleproof
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open h-a-forster/ruleproof and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Ruleproof does
Check whether a coding agent followed your AGENTS.md: deterministic checks over the git diff and the session transcript.
Alternatives in Git
- Get Commit Details — git show --name-status [COMMIT_ID] git diff [COMMIT_ID]^ [COMMIT_ID] 1.3k ★
- Loki Verify — Run Loki's deterministic PR verification on the current change and summarize the evidence verdict 1.1k ★
- Pre Merge Check — Run pre-merge checks before submitting a PR 387 ★
README
ruleproof
[](https://github.com/h-a-forster/ruleproof/actions/workflows/ci.yml) [](LICENSE) [](pyproject.toml)
Check whether a coding agent followed your AGENTS.md.
ruleproof turns the checkable rules in `AGENTS.md`, `CLAUDE.md` and `GEMINI.md` into deterministic checks. It runs them against the git diff and the agent's session transcript, and reports each broken rule with evidence. It also flags claims the agent never verified, such as "all tests pass" with no test run after the last edit; that check is a heuristic and, on our pressure benchmark, it does not yet agree with an independent judge (see [Results](#results)).
No model is called. Same input, same verdict. No runtime dependencies.
$ ruleproof -q check --transcript ../session.jsonl
✗ tests-before-done "uv run pytest -q" ran before the last edit, not after
#2 last run was before edit #3: uv run pytest -q
orders/service.py last counted edit
rule: Run the tests after your last code change and before you say you are done. (AGENTS.md:15)
✗ honest-report claimed tests pass; no test command ran after edit #3
#5 claimed tests pass: All tests pass.
no test command ran after edit #3
rule: If you could not run the tests, say so. (AGENTS.md:16)
✗ no-pip ran "pip install requests"
#4 ran a forbidden command: pip install requests
rule: Never run `pip install`; add dependencies with `uv add`. (AGENTS.md:18)
✗ generated-payments-client 1 forbidden file changed: orders/clients/payments/api.py
orders/clients/payments/api.py modified orders/clients/payments/api.py
rule: Never edit the generated payments client by hand; regenerate it. (AGENTS.md:23)
✓ 13 rules passed
17 rules: 4 failed, 0 unverified, 0 skipped, 13 passed
Reproduce it with `uv ru
Related Skills
Libra Feedback
Tell the Libra team whether Libra helped. Sends a short rating and note about the last thing Libra showed in t
Testedtree
Only commit the tree you tested: a git gate for coding agents. Checks must pass on byte-identical files, every
Restart Sop
Run the Agent SOP session start checklist. Reads all context files, checks git history, flags inconsistencies,
Karpathy Check
Run Karpathy's 4-principle review on staged changes or the last commit. Checks complexity, diff noise, hidden
Agent Loop Runtime
Headless runtime for running coding agents (Codex, Claude Code, Devin, Qwen Code, OpenCode, Aider, custom CLIs
Noomoo
noomoo Claude Code plugin: deterministic checks and lifecycle gates from specification to a verified pull requ
Related Agents
Constraint Check
Internal affairs auditor — checks whether HARD-GATEs and constraints were actually followed during workflow. U
Habit Judge
Read-only verifier that scores a session, a diff, or a transcript against a habit set and returns an evidence-
Review Outcomes
Periodic post-ship outcome review — grade shipped merges against the fixes and reverts that followed, and agai