diff-review

diff-review is a skill for Claude Code, Codex from Rezenders/scientific_writing_agent. It costs 33 tokens per session (506 once invoked), scanned A, original, Apache-2.0.

A focused review of changes made to manuscript files. It examines a Git diff—the record of added and removed lines—instead of reviewing the entire section.

In plain words
What is it for?
Use it after targeted edits, reviewer-driven revisions, or a writing session, with current, staged, specified, or manually supplied changes.
Why use it?
It provides quicker feedback on whether a specific edit introduced inconsistencies, unsupported claims, or broken surrounding prose.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it after targeted edits, reviewer-driven revisions, or a writing session, with current, staged, specified, or manually supplied changes.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rezenders/scientific_writing_agent/diff-review"><img src="https://agentmods.dev/badge/skills/rezenders/scientific_writing_agent/diff-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 506 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.00033 $0.00506
Opus 5.5 $0.00013 $0.00202
Sonnet 5.5 $0.00007 $0.00101
Haiku 4.5 $0.00003 $0.00051

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

Security

Grade A, and why

diff-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 17d 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/skills/diff-review/SKILL.md · 48 lines

How it starts

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

Diff Review

Targeted review of manuscript changes. Reviews only what changed in the diff, not the full section.

Inputs

Provide the diff as:

  • Run git diff (or git diff --cached for staged changes) and paste the output
  • Or specify a commit range (e.g. HEAD~1)
  • Or paste the diff directly

Workflow

Phase 1 — Parse Diff

Extract changed hunks with ±5 lines of surrounding context. Identify affected files and line ranges. Skip non-manuscript files. If the diff is very large (>20 hunks), warn and suggest /section-review instead.

Phase 2 — Targeted Consistency Audit

Use .agents/agents/consistency-auditor.md on each changed passage with context. Ask: does this change introduce new terminology drift, macro drift, acronym inconsistency, or contradiction? Pay particular attention to required macros versus free-text variants, project-name consistency, baseline framing, and terminology rules in .agents/context/terminology.md. Report only issues introduced or worsened by this change — not pre-existing issues in unchanged text.

Phase 3 — Targeted Scientific Review

Use .agents/agents/scientific-paper-reviewer.md on each changed passage (before + after + context). Ask: does this change introduce new clarity issues, overclaiming, weakened precision, or broken context? Focus only on what changed.

Phase 4 — Report

Report: files and hunks reviewed, consistency findings, scientific findings, CLEAN / MINOR ISSUES / NEEDS ATTENTION verdict, and recommended actions.

Optional grammar focus

When the author requests focused grammar diagnosis, use .agents/skills/scientific-grammar-review/SKILL.md on the relevant passage with context. Do not add a grammar pass by default. Merge duplicate diagnoses and preserve this workflow's report, scope, and human findings gate. Return structural recommendations separately; do not supply a rewritten passage or pass unapproved findings to the writer.

Constraints

  • Review only what changed. Do not report pre-existing issues in unchanged text.
  • Do not propose inline rewrites — use /write-to-intent or /address-reviewer-comment for fixes.

Read the full file on GitHub · 48 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. 17d ago Changed · +9 lines 6f9cb2798566
  2. 1mo ago Changed · -79 lines · -34 tokens per session 2e16359f7fc3
  3. 2mo ago First seen · 118 lines · 67 tokens per session scan A cfba40ffaea2

Subscribe to this mod's changes

diff-review is a skill published in the GitHub repository Rezenders/scientific_writing_agent (14 stars, last pushed 17d ago), licensed Apache-2.0. It adds 33 tokens to every session and 506 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

diff-review compared with skills from other repositories

diff-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diff-reviewRezenders/scientific_writing_agentSkill1417d agoApache-2.0A33Claude Code, Codex
autoreviewopenclaw/clawhubSkill9.5kyesterdayMITA17Claude Code, Codex
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k6d agoMITA115Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill5.2kyesterdayMITA48Claude Code, Codex
revdiff-planumputun/revdiffSkill945yesterdayMITA84Claude Code
explore-unknownsdzhng/skillsSkill1.4k2d agoMITA162Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.4k4d agoMITA70Claude Code