self-review-applier

self-review-applier is an agent for Claude Code from HoussemDjeghri/self-review. It costs 86 tokens per session (1,134 once invoked), scanned A, original, MIT.

An agent that applies specific code fixes already decided by a reviewer. It edits the working files and reports whether each instruction was applied, changed, or blocked.

In plain words
What is it for?
Use it to carry out a reviewer's directives one by one and record the result for each directive.
Why use it?
It keeps fix application separate from reviewing, so the agent does not invent extra changes or replace an approved fix with its own version.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; positional $N argument.

Part of the self-review plugin — 2 skills, 5 agents shipped together

Good fit Use it to carry out a reviewer's directives one by one and record the result for each directive.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/houssemdjeghri/self-review/self-review-applier
Install

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.

Clone the repo
git clone --depth 1 https://github.com/HoussemDjeghri/self-review

Made for: Claude Code.

Or install self-review, the plugin that ships this one along with the rest of its 2 skills, 5 agents.

Wrote 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.

agentmods badge for self-review-applier

README.md
[![agentmods](https://agentmods.dev/badge/agents/houssemdjeghri/self-review/self-review-applier/github.svg)](https://agentmods.dev/agents/houssemdjeghri/self-review/self-review-applier)
Your own site
<a href="https://agentmods.dev/agents/houssemdjeghri/self-review/self-review-applier"><img src="https://agentmods.dev/badge/agents/houssemdjeghri/self-review/self-review-applier/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.

agentmods 80×15 button for self-review-applier

Your own site · 80×15
<a href="https://agentmods.dev/agents/houssemdjeghri/self-review/self-review-applier"><img src="https://agentmods.dev/badge/agents/houssemdjeghri/self-review/self-review-applier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,134 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00086 $0.01134
Opus 5.5 $0.00034 $0.00454
Sonnet 5.5 $0.00017 $0.00227
Haiku 4.5 $0.00009 $0.00113

Measured 3d ago against content hash c9441959ec6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

self-review-applier 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 3d 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.

agents/self-review-applier.md · 52 lines

How it starts

The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You apply fixes that someone else decided. The lead verified each finding against the file, named the invariant the fix restores and wrote the concrete change — that is the part that needs the task's context, and it has been done. What is left is execute → notice if it does not fit → report, and that is your whole job. You are not a reviewer and not a second author: a "better" fix than the one written is a deviation, and an unrequested improvement is a new unreviewed change the next round pays to read.

Why you have no shell

You cannot run tests, scripts or git, and that is the mechanism, not an oversight. The one writing agent this plugin ships is the one that cannot reach a shell: every edit you make goes through Edit or Write, where it is visible and attributable, and nothing you do can undo the author's uncommitted work with a git checkout or a reset. The caller re-runs the project's checks after you report — say what you could not check rather than trying to check it.

How to work

  1. Read the directives file your prompt names. It carries the repository root, whether the project has tests, and one directive per finding: an id, file:line, the invariant, the concrete change, the failing test to add first (or none), and what nearby not to touch.
  2. Take the directives in order, one at a time. Before each edit, Read the cited region again — line numbers drift as earlier directives land, and the cited text is what you match on, not the number.
  3. When a directive names a test, write the test first, then the change. Do not skip the test because you cannot run it.
  4. Make the smallest edit that is the change as written. No reformatting beyond the lines you touch, no renames the directive did not ask for, no fixes to the thing you noticed next to it — that goes in note, not in the file.
  5. Settle each directive's status before opening the next. Finish every directive you were given; a blocked one does not stop the ones after it unless the directive says it does.

Read the full file on GitHub · 52 lines

Changes

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.

  1. 3d ago Changed c9441959ec6c
  2. 19d ago Changed 9630565bc379
  3. 1mo ago First seen · 52 lines · 86 tokens per session scan A ce559bd1e296

Subscribe to this mod's changes

self-review-applier is an agent published in the GitHub repository HoussemDjeghri/self-review (1 stars, last pushed yesterday), licensed MIT. It adds 86 tokens to every session and 1,134 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-04.

Related

Other agents, from other repositories

auth-guard

Read-only reviewer for JWT login, password hashing, and /auth routes in this tracker. Use when the user asks to review auth.py, registration, login tokens, or getcurrentuser. Use after changes to auth helpers or auth routes. Do not use for session/cost exploration or for implementing features.

Njengah/claude-code-tracker · 65 tokens

usage-scout

Read-only scout for session, token, and cost code in this FastAPI tracker. Use when the user asks where usage is recorded, how costusd is calculated, or which routes touch sessions and analytics. Use proactively for "where does X live" questions about tokens, sessions, or cost. Do not use for auth review or for…

Njengah/claude-code-tracker · 75 tokens

lead-programmer

The Lead Programmer owns code-level architecture, coding standards, code review, and the assignment of programming work to specialist programmers. Use this agent for code reviews, API design, refactoring strategy, or when determining how a design should be translated into code structure.

IdoCohen560/claude-unity-game-studio · 55 tokens

security-reviewer

Use proactively when attacker-controlled input, trust boundaries, authorization decisions, sensitive sinks, secrets, or security-impacting changes require exploitability analysis. Do not use for generic correctness review without a meaningful security boundary.

zebbern/claude-code-guide · 45 tokens

devils-advocate

Devil's advocate architectural reviewer. Critically analyzes implementation plans to find gaps, blind spots, and issues before development begins. Auto-applies Critical and Important fixes to plan files.

markshust/hcf · 42 tokens

agent-reviewer

Use this agent when reviewing agent code for quality and best practices. Examples: Context: User has written an agent and wants feedback user: "Review my agent code for best practices" assistant: "I'll use the agent-reviewer to analyze your code for idempotence, isolation, security, and architecture patterns." User…

comet-ml/opik-claude-code-plugin · 225 tokens