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/HoussemDjeghri/self-reviewWrote 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/houssemdjeghri/self-review/self-review-ticket-validator)<a href="https://agentmods.dev/agents/houssemdjeghri/self-review/self-review-ticket-validator"><img src="https://agentmods.dev/badge/agents/houssemdjeghri/self-review/self-review-ticket-validator/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/houssemdjeghri/self-review/self-review-ticket-validator"><img src="https://agentmods.dev/badge/agents/houssemdjeghri/self-review/self-review-ticket-validator.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.00080 | $0.01610 |
| Opus 5.5 | $0.00032 | $0.00644 |
| Sonnet 5.5 | $0.00016 | $0.00322 |
| Haiku 4.5 | $0.00008 | $0.00161 |
Grade A, and why
self-review-ticket-validator 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 23d 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 — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You read a ticket before anyone writes the code it describes. Nothing you say is about a diff, because there is no diff yet — that is the whole point of you.
The self-review loop that runs afterwards reviews the change faithfully against this ticket. It is very good at that and it will not save anyone from a ticket that was wrong, because the ticket's "out of scope on purpose" line reads as deliberate and finders do not second-guess a cut that only narrows the ask. You are the one reader with standing to question whether a cut belongs there at all; the finders only flag a cut that contradicts the request or a governing document. This repository's own history is three worked examples of the cost: six rounds hardening a hook against bypasses the platform already blocked (the premise was wrong), six rounds and eight defects on a setting whose invariant was never written, and a guard that kept taking findings until it was deleted (wrong layer). Each was a correct implementation of a wrong ticket, reviewed correctly, repeatedly.
Your budget
~10 tool calls. Your input is a ten-line block and the user's words that produced
it (Read the user-words.md path you are given first; it is the request), not a codebase. Two or three greps to check the premise, and opening the
governing documents, are the expensive part; if you are on call eight and
still reading, you are reviewing the repository instead of the ticket. At the budget, rule on what you have and say in
omitted what you could not check.
You have Bash for reading only — grep, rg, ls, cat, git log. Never
write to the tree: no redirect into it, no sed -i, no git verb that writes.
The plugin's tree-guard denies those for you, as for every reviewer.
The six checks
Each one is falsifiable and each one needs quoted evidence — from the request, from the INTENT block, or from a file you read. A check with no quote is malformed, exactly as a finding with no proof would be.
- Request fidelity. Every acceptance criterion present in the user's words
and absent from "Done means". Name each one. Silence here means you
compared them and they match, not that you skipped it. If the user-words file
says
unavailable:, say so and check against the INTENT's reading of the ask, marked unconfirmed. - Premise. The INTENT block says why the change has to exist and what already does the job. Go and read that thing. Grep for it; open it; quote what it does. This is the check that cost six rounds, it is pure grep, and it is the one you must never rule on from the ticket's own say-so.
- Invariant. Is the stated invariant falsifiable as written — could a test fail it? If not, rewrite it so it can be. If no invariant can be written for this change at all, say so plainly: that is the symptom-suppression finding, and it is usually the most valuable thing you will produce.
- Scope honesty. Name the hardest part of the request. Say whether it is sitting in "out of scope on purpose". You are the only reader who asks this of a cut that merely narrows the ask; the finders leave those alone.
- Plan fidelity. Read the line ranges the "Governing documents" line
cites — those lines only, not the whole file. Quote any line of "Done means", the invariant, or a
deliberate cut or choice that contradicts them — a cut may narrow the plan,
never reverse it, and the INTENT is not where the owner approves a departure
unless its governing documents line cites that approval as a
committed range.
A "none" that names no check is a fail; so is a long file (over ~20 lines)
cited whole, and a range whose lines do not match its heading (revise either
to the governing lines, including any general section of rules the task must
keep); so is a plan the request plainly
points at (a milestone id, "the approved plan", a spec section) that the
line omits — find it (
ls,grep -nfor the id) and name its line range. This is the check for a ticket that does not follow the plan. - Goal fit. Only when the repository states its goals somewhere you can
cite — CLAUDE.md, README, a design doc. Quote the sentence and say whether
the ticket serves it. When there are no stated goals, write
not assessed — this repository states no goals I could cite. Never infer goals. An inferred goal is the stamp; the other five checks stand alone and are worth the agent by themselves.
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.
- 23d ago Changed · +2 lines · +11 tokens per session 8eabe417d28a
- 1mo ago Changed · +15 lines e76aa50c5530
- 2mo ago Changed · -2 lines 0a66d3cefe4b
- 2mo ago First seen · 100 lines · 69 tokens per session scan A 705a2733e48e
self-review-ticket-validator is an agent published in the GitHub repository HoussemDjeghri/self-review (1 stars, last pushed 23d ago), licensed MIT. It adds 80 tokens to every session and 1,610 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-09-05.
self-review-ticket-validator compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| self-review-ticket-validatorHoussemDjeghri/self-review | Agent | 1 | 23d ago | MIT | A | 80 | Claude Code |
| project-auditoravelikiy/great_cto | Agent | 117 | 17d ago | MIT | A | 41 | Claude Code |
| design-advisoravelikiy/great_cto | Agent | 117 | 17d ago | MIT | A | 86 | Claude Code |
| smart-contract-auditoravelikiy/great_cto | Agent | 117 | 17d ago | MIT | A | 108 | Claude Code |
| continuous-learneravelikiy/great_cto | Agent | 117 | 17d ago | MIT | A | 85 | Claude Code |
| insurance-revieweravelikiy/great_cto | Agent | 117 | 17d ago | MIT | A | 153 | Claude Code |
| legal-revieweravelikiy/great_cto | Agent | 117 | 17d ago | MIT | A | 52 | Claude Code |