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/jezweb/vite-flare-starter/git-diff-summarisernpx 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.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 | $0.00055 | $0.00633 |
| Opus 5 | $0.00028 | $0.00316 |
| Sonnet 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 3d 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.
- 3d 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 (48 stars, last pushed 8d ago), licensed MIT. It adds 55 tokens to every session and 633 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
prowler-commit
Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.
git-commit
Generate well-formatted git commit messages following conventional commit standards.
contributing
How to contribute to evlog, covering commit and PR conventions, changesets, the Definition of Done, testing rules, and the authored skills that walk through building a new adapter, enricher, framework integration, or map rule. Load this for any question about contributing, opening a PR, or adding something to the…
commit-push-pr
Commit selected local changes, push the branch, and create or update a GitHub pull request with BitFun attribution. Use when the user asks to 提交 PR、提代码、commit and push、开 PR、create a pull request, or wants a Claude Code-like one-command PR publishing flow from BitFun.
commit
Commit current changes with a clear, descriptive message.
git-commit
Creates git commits following Conventional Commits format with type/scope/subject and detailed markdown body. Use when user wants to commit changes, create commit, save work, or stage and commit. Enforces project-specific conventions from CLAUDE.md. Each change type gets its own markdown heading (# emoji + type), with…