diff-self-review

diff-self-review is a skill for Claude Code, Codex from gabrielrovesti/ai-agent-skills. It costs 36 tokens per session (581 once invoked), scanned A, original, no licence file.

A self-review step for checking a code change against the agreed scope. It examines the difference between the old and new code, often called a diff, for extra files, leftovers, and evidence for each requirement.

In plain words
What is it for?
Use it before reporting any code change as done, in any programming language.
Why use it?
A change can include accidental edits or leave part of the requested work unfinished. Checking the diff before declaring completion exposes those gaps.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it before reporting any code change as done, in any programming language.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gabrielrovesti/ai-agent-skills/diff-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 gabrielrovesti/ai-agent-skills --skill diff-self-review
Clone the repo
git clone --depth 1 https://github.com/gabrielrovesti/ai-agent-skills

Made for: Claude Code, Codex.

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 diff-self-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gabrielrovesti/ai-agent-skills/diff-self-review"><img src="https://agentmods.dev/badge/skills/gabrielrovesti/ai-agent-skills/diff-self-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 581 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 unknown 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.00036 $0.00581
Opus 5.5 $0.00014 $0.00232
Sonnet 5.5 $0.00007 $0.00116
Haiku 4.5 $0.00004 $0.00058

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

Security

Grade A, and why

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

skills/diff-self-review/SKILL.md · 40 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2d ago First seen · 40 lines · 36 tokens per session scan A 86c3ccdf67b0

Subscribe to this mod's changes

diff-self-review is a skill published in the GitHub repository gabrielrovesti/ai-agent-skills (1 stars, last pushed 2d ago), with no licence file. It adds 36 tokens to every session and 581 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-10-27.

Related

Other skills, from other repositories

neo-code-review

Use this skill when the user asks to review or audit source code, a PR, diff, commit, or recent changes for bugs, security, performance, tests, compatibility, or maintainability, duplicated code or logic across files, or hard-coded values. Also use it after an AI agent finishes modifying code to inspect the current…

Benknightdark/neo-skills · 87 tokens

neo-pr

Use this skill when the user asks to create, draft, review, format, or generate a Pull Request (PR) title and description, specify target or source branches for a repository, or convert git branch diffs into concise, high-impact, non-AI-slop PR content.

Benknightdark/neo-skills · 60 tokens

neo-rust

Use this skill when writing, refactoring, debugging, or auditing Rust code. Trigger for .rs files, Cargo projects, ownership/borrowing/lifetime issues, Result/Option error handling, unnecessary clone/performance work, unsafe code review, or modern Rust architecture.

Benknightdark/neo-skills · 58 tokens

architecture-audit

Comprehensive project consistency review across code, documentation, diagrams, and configuration.

fabioc-aloha/Alex_Skill_Mall · 18 tokens

code-review

Systematic code review for correctness, security, and growth — not just style enforcement.

fabioc-aloha/Alex_Skill_Mall · 19 tokens

semantic-codebase-intelligence

Deep structural analysis of a codebase—dependency mapping, architecture boundary detection, coupling/cohesion scoring, and dead code discovery. Use when asked to "analyze codebase structure", "map dependencies", "find dead code", "architecture analysis", "coupling analysis", "trace dependencies", or "understand this…

fabioc-aloha/Alex_Skill_Mall · 81 tokens