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.
npx skills add Arasz/ai-raccoon --skill review-gate-diff-verificationgit clone --depth 1 https://github.com/Arasz/ai-raccoonWrote 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/skills/arasz/ai-raccoon/review-gate-diff-verification)<a href="https://agentmods.dev/skills/arasz/ai-raccoon/review-gate-diff-verification"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/review-gate-diff-verification/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/skills/arasz/ai-raccoon/review-gate-diff-verification"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/review-gate-diff-verification.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.00068 | $0.01349 |
| Opus 5.5 | $0.00027 | $0.00540 |
| Sonnet 5.5 | $0.00014 | $0.00270 |
| Haiku 4.5 | $0.00007 | $0.00135 |
Grade A, and why
review-gate-diff-verification 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 yesterday.
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 — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Review-gate diff verification
Gate reviews (code-reviewer, phase-3, plan-vs-implementation) judge a branch diff. Before judging content, verify the diff itself is real — the plumbing lies more often than the code.
Pitfall 1 — base drift → phantom changes (the big one)
Symptom: git diff origin/main..HEAD shows D/M on files that NO commit in git log origin/main..HEAD --stat touches.
Cause: the base ref moved past the declared fork point. Main gained commits after the branch was created (e.g. PRs merged post-fork); the worktree's origin/main ref now points past the declared base. Files ADDED on main after the fork appear as phantom D in the worktree diff; state-file entries appear as phantom M. The branch itself made no such change.
Diagnosis sequence (in order):
git merge-base origin/main HEAD— the true fork point.git rev-parse origin/mainvsgit rev-parse <first-commit>^— if they differ, the base ref drifted.git ls-tree origin/main -- <path>vsgit ls-tree HEAD -- <path>— which side actually holds the file.- Confirm:
git diff <true-base>..HEAD --name-status— clean means the "deletions" were main-side additions.
Resolution: review and gate against the true fork point (merge-base), not the moved ref; report the drift to the orchestrator. GitHub PR diffs use merge-base so they are usually correct — the hazard is local gate diffs computed against the moved ref. Never "fix" a phantom deletion; there is nothing to restore on the branch side.
Pitfall 2 — git show --name-status | grep "^path" matches nothing
git show <commit> --name-status | grep -E "^src|^docs" returns empty even when the commit touched those files: name-status lines start with a status letter + TAB (M\tsrc/...). Anchor after the tab (grep -E "\tsrc/") or grep the bare filename. A buggy grep that silently matches nothing wastes a full round-trip on a false "the commit didn't touch that file".
Pitfall 3 — binary build artifacts pollute source greps
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.
- yesterday First seen · 64 lines · 68 tokens per session scan A 781ab10ecf7b
review-gate-diff-verification is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 1,349 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-12-05.
review-gate-diff-verification compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| review-gate-diff-verificationArasz/ai-raccoon | Skill | 7 | today | MIT | A | 68 | Claude Code, Codex |
| pr-bodyalibaba/anolisa | Skill | 688 | 13d ago | Apache-2.0 | A | 68 | Claude Code, Codex |
| gitcode-apiXiaoLuoLYG/GOD | Skill | 1.3k | 11d ago | Apache-2.0 | A | 79 | Claude Code, Codex |
| pre-prplastic-labs/honcho | Skill | 8.4k | yesterday | AGPL-3.0 | A | 65 | Claude Code, Codex |
| prismer-githubPrismer-AI/PrismerCloud | Skill | 1.4k | 1mo ago | MIT | A | 22 | Claude Code, Codex |
| yesloopcarsteneu/yesmem | Skill | 48 | 3d ago | Apache-2.0 | A | 48 | Claude Code |
| babysit-prckorhonen/claude-skills | Skill | 36 | 4d ago | MIT | A | 48 | Claude Code, Codex |