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 skills add jezweb/vite-flare-starter --skill git-diff-summarisergit clone --depth 1 https://github.com/jezweb/vite-flare-starterWrote 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/jezweb/vite-flare-starter/git-diff-summariser)<a href="https://agentmods.dev/skills/jezweb/vite-flare-starter/git-diff-summariser"><img src="https://agentmods.dev/badge/skills/jezweb/vite-flare-starter/git-diff-summariser/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.
<a href="https://agentmods.dev/skills/jezweb/vite-flare-starter/git-diff-summariser"><img src="https://agentmods.dev/badge/skills/jezweb/vite-flare-starter/git-diff-summariser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00055 | $0.00633 |
| Opus 5.5 | $0.00022 | $0.00253 |
| Sonnet 5.5 | $0.00011 | $0.00127 |
| Haiku 4.5 | $0.00006 | $0.00063 |
Grade A, and why
git-diff-summariser 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 1mo 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 — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git diff summariser
When to use
The user pastes or points at a git diff and wants a summary rather than reading it line-by-line.
Examples:
- "Summarise this diff"
- "Draft a commit message for these changes"
- "What changed in this PR?"
Steps
-
Get the diff content. Either the user pasted it, or they point at a file — use
fs_readon a.diff/.patchfile. If you have sandbox access and a git repo cloned in/workspace, the shell script below can regenerate the diff. -
Run the bundled counter (optional quick-stats pass). This gives accurate line/file counts without the model having to count manually:
run_skill_script({ name: "git-diff-summariser", path: "scripts/count.sh", stdin: <the diff content> })Returns stdout like:
files_changed: 7 insertions: 142 deletions: 38 binary_files: 1 -
Read the diff yourself. The stats tell you the shape; now actually read the diff to understand what changed. Group changes by file or by logical theme (not by commit).
-
Produce four sections.
- Summary — one paragraph: what was the goal of these changes?
- Changes — bullet list grouped by theme, each with the file(s) affected
- Risk — anything that could break? (migrations, auth, public API, env vars, cron schedules)
- Commit message — a single-line subject + optional body, conventional-commits style (
feat(module): …,fix(module): …,refactor(module): …)
-
Offer next steps.
offer_choices:- "Write this as a PR description"
- "Generate a test plan for these changes"
- "Flag any missing tests"
Style
- For the commit subject line, imperative mood, ≤72 chars.
- Risk section should be honest — if there's no risk, say "Low — isolated changes to X".
- Don't restate what the stats already show; the reader has them.
- Reference files by relative path —
src/foo.tsnota/src/foo.ts.
What not to do
- Don't invent file names. If you're unsure, re-read the diff headers.
- Don't mark changes as "probably safe" without having read them.
- Don't produce a 20-bullet change list for a 50-line diff. Be proportional.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 62 lines · 55 tokens per session scan A 8c83ee5e8fc2
git-diff-summariser is a skill published in the GitHub repository jezweb/vite-flare-starter (49 stars, last pushed 22d ago), licensed MIT. It adds 55 tokens to every session and 633 once invoked, about $0.0002 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.
Other skills, from other repositories
review-implement-phase
Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.
github-pr-workflow
Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.
review-delta
Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
github-contributor
A step-by-step guide for contributing code, tests, documentation, or build changes to open-source projects you do not maintain. It explains how to prepare a pull request that follows the project’s rules and is easier for maintainers to review.
hero-diff-highlight
A dark code editor reveals a red deletion then a green addition with a soft pulse. Function: PR / code-change explainer.
git-pr-workflows-git-workflow
Guide changes through code checks, testing, commits, and pull request preparation. Use when coordinating a complete Git workflow and verifying readiness for collaboration.