self-review

self-review is a skill for Claude Code from eai-org/agent-toolkit. It costs 25 tokens per session (4,391 once invoked), scanned A, original, MIT.

A review process for checking your own code changes before they are submitted for merging. It uses a fresh-context review to look for regressions, convention problems, and issues a maintainer would block.

In plain words
What is it for?
Use it to review a changeset you authored, resolve findings, and produce a compact report for the pull request.
Why use it?
Authors often overlook problems in code they just wrote; a separate review perspective exposes those issues and records how they were addressed.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the agent-toolkit plugin — 31 skills shipped together

Good fit Use it to review a changeset you authored, resolve findings, and produce a compact report for the pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eai-org/agent-toolkit/self-review
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.

Any agent
npx skills add eai-org/agent-toolkit --skill self-review
Clone the repo
git clone --depth 1 https://github.com/eai-org/agent-toolkit

Made for: Claude Code.

Or install agent-toolkit, the plugin that ships this one along with the rest of its 31 skills.

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

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

agentmods 80×15 button for self-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/eai-org/agent-toolkit/self-review"><img src="https://agentmods.dev/badge/skills/eai-org/agent-toolkit/self-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,391 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00025 $0.04391
Opus 5.5 $0.00010 $0.01756
Sonnet 5.5 $0.00005 $0.00878
Haiku 4.5 $0.00003 $0.00439

Measured today against content hash 280108c51779, 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 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 today.

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.

skills/self-review/SKILL.md · 295 lines

How it starts

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

Self-review

Make a changeset merge-ready before submission — no regressions, sound code, the project's conventions respected — and prove it was scrutinized: a fresh-context reviewer hunts for what would block the merge, the author answers every finding, and a compact report — scannable by a maintainer in seconds — records the outcome. The report is the review record only; the change's what/why belongs to the PR description (e.g. via /handover), never here.

Only for a changeset you authored. The fresh-context reviewer exists to escape authoring blindness, so someone else's PR has nothing to escape and belongs to maintainer-review.

Resolve the changeset

  1. Resolve source and target. No input → current branch against the auto-detected target: the default branch of the upstream remote when one exists (fork workflow), else of origin — via git ls-remote --symref <remote> HEAD, never the often-absent local refs/remotes/<remote>/HEAD; that failing (e.g. offline), the sole existing candidate among main, master, develop/development (preferring upstream's remote-tracking ref, then origin's, then the local branch) — still ambiguous or none → ask. Explicit branches in the invocation win; a detached HEAD → ask which branch is under review. State the chosen target.
  2. The reviewed state is the source as it stands — working tree when checked out, else tip. Uncommitted work is reviewed, not blocked, once the author sorts it: modified tracked files are part of the change or deliberate local-only tweaks (build config, data paths), the latter excluded from the diff (pathspec) and named in a procedural caveat — exclusion drops the whole path, so a tweak atop a changed file the author stashes first; untracked files likewise, and since the diff can't see them, those that belong the author git adds first (under autoaccept, the agent — Disposition walk) — a forgotten one ships unreviewed later. The reports this skill writes need no sorting and are always excluded. Nothing beyond the tip reviewed → pinned to its SHA; otherwise unpinned — reviewed, but with no SHA for a maintainer to check the pushed head against, until stamped. Pinned is preferable, so suggest committing first when the work is ready for it — never insist, the stamp closes the gap later.
  3. git fetch the target's remote (local-only target → nothing to fetch; a failed fetch → say so and ask rather than diff stale refs), then diff from the merge base <base> of target and source: git diff <base> for the working tree, git diff <base> <source> for a tip. No merge base → usually a shallow clone or wrong target: deepen (git fetch --unshallow) and retry, else ask — never fall back to diffing against the target itself, which presents its own commits as the author's. Empty diff → probably a wrong target (typical: a fork's default branch already holding the commits) — say so and ask for the true one; it needs no local ref, git fetch <url> <branch> works by URL.
  4. Assemble the submission metadata as one block, hashed like the diff: the lines subjects:, title:, body:, issues: in that order, each followed by its value's lines verbatim — subjects from git log --format=%s <base>..<source>; from the target forge's open PR of source into target, its title, description and the issue ids it lists as linked (as the forge shows them, sorted, one per line); nothing under a label without a value (e.g. no PR yet) — every line LF-terminated, CRLF folded to LF, each value's trailing blank lines dropped.

Read the full file on GitHub · 295 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. today Changed · +1 lines 280108c51779
  2. 26d ago Changed · +7 lines b50909716784
  3. 1mo ago Changed · +2 lines · -17 tokens per session 70850e237d6b
  4. 1mo ago Changed · +5 lines 36195ff17255
  5. 2mo ago Changed · +7 lines c666e0174369
  6. 2mo ago Changed · +11 lines d7e62e430efb
  7. 2mo ago Changed · +1 lines 8e49d5863af7
  8. 2mo ago Changed · +2 lines a1f2acb65a6d
  9. 2mo ago Changed · +45 lines bd4f3770d293
  10. 3mo ago First seen · 214 lines · 42 tokens per session scan A 7af5c076841e

Subscribe to this mod's changes

self-review is a skill published in the GitHub repository eai-org/agent-toolkit (116 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 4,391 once invoked, about $0.0001 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-08-30.

Related

self-review compared with skills from other repositories

self-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
self-revieweai-org/agent-toolkitSkill116yesterdayMITA25Claude Code
review-checklistzachjxyz/jvnSkill28mo agoMITA15Claude Code
gsd-ns-reviewopen-gsd/gsd-coreSkill12ktodayMITA16Claude Code
pr-summaryscenario-labs/skillsSkill4.3ktodayMITA42Codex
reviewopen-gsd/gsd-piSkill1.4k2d agoMITA32Claude Code, Codex
spec-kitty-runtime-reviewPriivacy-ai/spec-kittySkill1.7k8d agoMITA85Claude Code, Codex
refactor-advisorlaolaoshiren/claude-code-skills-zhSkill927yesterdayMITA104Claude Code