diff-summarizer

diff-summarizer is an agent for Claude Code from ihudak/ihudak-claude-plugins. It costs 79 tokens per session (2,702 once invoked), scanned A, original, MIT.

A read-only tool that summarizes pull-request changes from one code repository for documentation writers. A pull request is a proposed set of code changes submitted for review.

In plain words
What is it for?
Summarizing merged, open, or declined pull requests from GitHub or Bitbucket repositories and relating them to Jira work.
Why use it?
It helps documentation teams understand what changed without reading every diff or dealing manually with different code-hosting systems.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the docs-workflows plugin — 1 skill, 6 commands, 11 agents shipped together

Good fit Summarizing merged, open, or declined pull requests from GitHub or Bitbucket repositories and relating them to Jira work.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add ihudak/ihudak-claude-plugins
Claude Code
/plugin install docs-workflows

Made for: Claude Code.

Or install docs-workflows, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 11 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/ihudak/ihudak-claude-plugins/diff-summarizer/github.svg)](https://agentmods.dev/agents/ihudak/ihudak-claude-plugins/diff-summarizer)
Your own site
<a href="https://agentmods.dev/agents/ihudak/ihudak-claude-plugins/diff-summarizer"><img src="https://agentmods.dev/badge/agents/ihudak/ihudak-claude-plugins/diff-summarizer/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-summarizer

Your own site · 80×15
<a href="https://agentmods.dev/agents/ihudak/ihudak-claude-plugins/diff-summarizer"><img src="https://agentmods.dev/badge/agents/ihudak/ihudak-claude-plugins/diff-summarizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,702 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00079 $0.02702
Opus 5.5 $0.00032 $0.01081
Sonnet 5.5 $0.00016 $0.00540
Haiku 4.5 $0.00008 $0.00270

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

Security

Grade A, and why

diff-summarizer scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- NEVER make an HTTPS / REST call to a forge, on any host. Every diff here is taken by local `git` in the clone; this agent runs no `gh` and no `curl`.
plugins/docs-workflows/agents/diff-summarizer.md · 126 lines

How it starts

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

Core references. A citation of the form workflows-core:<name> names a shared reference in the workflows-core plugin. Load it with Skill(skill: "workflows-core:reference", args: "<name>") — never by path: ${CLAUDE_PLUGIN_ROOT} resolves to this plugin, which does not carry it.

Read ${CLAUDE_PLUGIN_ROOT}/references/handoff/diff-summarizer.md for the exact input/output document format.

Summarise a single code repository's recorded refs from a documentation-consumer's point of view. One instance per repo; the caller (/document or /release-notes) spawns up to 4 concurrent instances per batch.

Inputs

repo_path:   <absolute path to a local clone, e.g. /workspace/<repo-name>>
repo_url_slug: <repo slug, e.g. "cluster"; optional>
refs:                              # what implementation.md records; the only element list
  - branch_from: <the feature branch, or the commit sha, this run wrote>
    branch_to:   <the base it was branched from>
    title:       <one line naming the work; optional>
context: |
  <what this repo's changes relate to — for documentation focus>
keys_hierarchy:   # optional; passed by caller to enable the key-commit fallback below
  - <PRD-KEY>
  - <every EPIC- folder's key discovered by the folder read>
refresh:
  fetch: true   # default true
  pull:  false  # default false — a historical diff does not need the current branch tip;
                # pulling risks moving HEAD away from the commit we want to reach.

Refuse to run without repo_path and at least one element in refs.

Every command names repo_path. Your Bash tool starts every call in the session's directory — where the dispatching command stands, which need not be repo_path — and a cd does not persist between calls, so a bare git fetches, switches and reads the session's repository instead of this one. Every git command below is written git -C "<repo_path>" ….

refs is the shape the callers have, and the only one. workflows-core:implementation-format §1 records repo / branch / base / commit / pushed — no URL, no host, no PR id — because nothing in this plugin reads a tracker or a pull-request API any more. So there is no host to route on and no forge to ask: take each element's diff directly, git -C <repo_path> diff <branch_to>...<branch_from> (resolved_via: local_ref), with branch_from accepted as a commit sha when the branch is gone (workflows-core:implementation-format §1 records both for exactly that reason).

When repo_url_slug is provided, before summarising run git -C <repo_path> remote get-url origin, strip a trailing .git, and compare the URL's last path segment to repo_url_slug. On mismatch, return status: REPO_MISSING with a note naming both slugs — do NOT summarise the wrong repository. When repo_url_slug is absent, trust repo_path as given.

Read the full file on GitHub · 126 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. 2mo ago Changed b94428efc1f3
  2. 2mo ago Changed · -60 lines · -17 tokens per session 29d316ee5622
  3. 2mo ago Changed · +2 lines c1ebabad6f43
  4. 2mo ago Changed · +8 lines b66db3f73b51
  5. 3mo ago First seen · 176 lines · 96 tokens per session scan A f32e978b5c18

Subscribe to this mod's changes

diff-summarizer is an agent published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed 2mo ago), licensed MIT. It adds 79 tokens to every session and 2,702 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

diff-summarizer compared with agents from other repositories

diff-summarizer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diff-summarizerihudak/ihudak-claude-pluginsAgent22mo agoMITA79Claude Code
code-reviewerJose-Ribeir/claude-code-review-gateAgent310d agoApache-2.0A41Claude Code
docs-checkerJose-Ribeir/claude-code-review-gateAgent310d agoApache-2.0A117Claude Code
deep-reviewerJose-Ribeir/claude-code-review-gateAgent310d agoApache-2.0A69Claude Code
code-resolverJose-Ribeir/claude-code-review-gateAgent310d agoApache-2.0A56Claude Code
context-spotterJose-Ribeir/claude-code-review-gateAgent310d agoApache-2.0A68Claude Code
code-filterJose-Ribeir/claude-code-review-gateAgent310d agoApache-2.0A54Claude Code