Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add HoussemDjeghri/self-review/plugin install 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/skills/houssemdjeghri/self-review/self-review)<a href="https://agentmods.dev/skills/houssemdjeghri/self-review/self-review"><img src="https://agentmods.dev/badge/skills/houssemdjeghri/self-review/self-review/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/houssemdjeghri/self-review/self-review"><img src="https://agentmods.dev/badge/skills/houssemdjeghri/self-review/self-review.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.00000 | $0.12128 |
| Opus 5 | $0.00000 | $0.06064 |
| Sonnet 5 | $0.00000 | $0.02426 |
| Haiku 4.5 | $0.00000 | $0.01213 |
Grade A, and why
self-review 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 2d 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 — 764 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Self-review loop
You cannot review your own work with your own eyes: the mistakes you just made are the ones you were blind to a minute ago, and re-reading with the same context re-derives the same conclusions. What works is what engineering teams do: hand the change to people who were not there, let them attack it from different angles, check their claims, fix what is real, and look again — because a fix is a new change that can itself be wrong.
This skill is that process, with subagents as the people. It runs at the end of every turn that changed code, and on demand for anything else. It is budgeted, and the section below is where that budget is set and why.
What a review costs, and the two rules that keep it cheap
- Wait inside one call, never across turns. After launching reviewers, the
next call is
"${CLAUDE_PLUGIN_ROOT}/scripts/wait.mjs" --work <work> --round <n> [names…], with the Bash tool'stimeoutset to600000. It blocks until every named reviewer's transcript shows a finished report or has been silent past the stale limit, then prints one line per reviewer and exits:0— all settled, collect now (§2c);1— some still active and the round's 30-minute wait budget is not spent, call it again as the very next tool call;3— budget spent, treat the active ones as dead (§2f). A reviewer it lists as stalled is neither: see §2f. Do not end the turn to wait, and do not check on a reviewer any other way:ListAgents,TaskOutput(block=false),Monitor,sleep— every one is a full-context turn that tells you nothing the wait did not, andpoll-guarddenies the first two from the third call on. The harness's wake-ups still arrive — an idle notification for a named agent, a<task-notification>for an unnamed one — but they are a courtesy, not the signal: they carry no report, and on 2026-09-03 three reviewers reported into the lead's inbox withsuccess:trueand nothing was delivered for 2h49m while the transcripts on disk said finished within ten minutes. If one wakes you between calls, do not act on it; go back to the same call. The Stop gate still releases a turn while subagents run; that is the fallback for await.mjsthat cannot run — exit 2 with "no subagent transcripts", not an exit 2 naming a bad flag, which you fix and re-run — and never the way to wait. - Act once per round, in one go. When
wait.mjsexits 0, act once: verify, write the directives, dispatch the applier, wait again on its name, then pre-flight, ledger, record, next round or marker — each stretch in as few tool calls as it takes, except the marker, which gets a message of its own (§4). Never start fixing from partial results while reviewers are still out: fixes move the tree under the reviewers still reading it. Read cited line ranges (sed -n 'a,bp'), not whole files.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago Changed · -96 lines a1ba1048ab77
- 6d ago Changed · -76 lines 06bd015a2970
- 7d ago Changed · +213 lines 20503474a9b1
- 11d ago First seen · 723 lines · 0 tokens per session scan A 1c1b2989d1d4
self-review is a skill published in the GitHub repository HoussemDjeghri/self-review (1 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 12,128 tokens. 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-08-31.
Other skills, from other repositories
autoreview
Pre-commit/ship code review: Codex default; optional Claude or Pi.
omh-code-review
This is a Hermes-native code-review workflow skill.
revdiff-plan
Review the last Codex assistant message (plan, analysis, or proposal) with inline annotations in a TUI overlay. Extracts the most recent response from Codex rollout files and opens it in revdiff for review and annotation. Activates on "revdiff-plan", "review plan with revdiff", "annotate plan", "review last response"…
code-reviewer
Code review specialist focused on patterns, bugs, security, and performance.
full-repo-review
Comprehensive four-wave review of all repo source files, producing a prioritized issue backlog.
agent-teams-simplify-and-harden
Implementation + audit loop using parallel agent teams with structured simplify, harden, and document passes. Spawns implementation agents to do the work, then audit agents to find complexity, security gaps, and spec deviations, then loops until code compiles cleanly, all tests pass, and auditors find zero issues or…