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.
npx agentmods add skills/rezenders/scientific_writing_agent/diff-reviewnpx skills add Rezenders/scientific_writing_agent --skill diff-reviewgit clone --depth 1 https://github.com/Rezenders/scientific_writing_agentWrote 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/rezenders/scientific_writing_agent/diff-review)<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="Measured on agentmods" 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.00067 | $0.00918 |
| Opus 5 | $0.00034 | $0.00459 |
| Sonnet 5 | $0.00013 | $0.00184 |
| Haiku 4.5 | $0.00007 | $0.00092 |
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 5d 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 — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diff Review
Targeted review of manuscript changes. Scopes the review to what actually changed rather than auditing the entire section. Faster and more precise than /section-review for incremental edits.
When to Use
- After editing one or more passages in response to a reviewer comment
- After a writing session, before committing to git
- When you want fast feedback on a specific change without a full section audit
Not For
- First-draft review of a newly written section → use
/section-review - Pre-submission audit of the full manuscript → use
/full-manuscript-audit - When the diff spans most of a section → use
/section-reviewinstead
Inputs Required
Provide one of:
- Auto (default): nothing — Claude runs
git diffand parses it - Staged only: say "staged" — Claude runs
git diff --cached - Specific range: a commit ref or range (e.g.
HEAD~1,abc123..HEAD) - Manual: paste the diff directly if not in a git repo
Workflow
Phase 1 — Get and Parse the Diff
Run git diff (or the specified variant) to obtain the current changes.
For each changed hunk, extract:
- File name and line range
- Removed text (what it said before)
- Added text (what it says now)
- Surrounding unchanged lines (±5 lines for context)
Skip non-manuscript file changes. Note .bib changes separately but do not run prose review on them.
If the diff is very large (more than 20 hunks), warn the user and suggest running /section-review on the affected section(s) instead.
Phase 2 — Targeted Consistency Audit
For each changed passage, invoke consistency-auditor with:
- The added text
- The ±5 lines of surrounding context
Ask: "Does this change introduce any new terminology drift, macro drift, acronym inconsistency, or contradiction with the rest of the manuscript? Report only issues introduced or made worse by this specific change. File:line evidence required. Do not report pre-existing issues in the surrounding unchanged text."
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.
- 5d ago First seen · 118 lines · 67 tokens per session scan A cfba40ffaea2
diff-review is a skill published in the GitHub repository Rezenders/scientific_writing_agent (11 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 67 tokens to every session and 918 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…