diff-summarizer

diff-summarizer is an agent for coding agents from ihudak/ihudak-claude-plugins. It costs 96 tokens per session (3,588 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

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the dev-workflows plugin — 16 commands, 39 agents shipped together

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.

agentmods
npx agentmods add agents/ihudak/ihudak-claude-plugins/diff-summarizer
Clone the repo
git clone --depth 1 https://github.com/ihudak/ihudak-claude-plugins

Or install dev-workflows, the plugin that ships this one along with the rest of its 16 commands, 39 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 96 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,588 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00096 $0.03588
Opus 5 $0.00048 $0.01794
Sonnet 5 $0.00019 $0.00718
Haiku 4.5 $0.00010 $0.00359

Measured 3d ago against content hash f32e978b5c18, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

Makes network callslowCapability

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

- NEVER make HTTPS / REST calls to GitHub outside the `gh` CLI. No direct API calls, no raw `curl` to `api.github.com`.
plugins/dev-workflows/agents/diff-summarizer.md · 176 lines

How it starts

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

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

Summarise a single code repository's PR diff(s) from a documentation-consumer's point of view. One instance per repo; the caller (the /document command) 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 from the PR URL, e.g. "cluster"; optional>
pr_refs:
  - url:         <full PR URL>
    host:        github_cloud | bitbucket_cloud | bitbucket_server | other
    repo:        <repo name>
    owner:       <github_cloud: <OWNER>; bitbucket_cloud: <WORKSPACE>; null otherwise>
    pr_id:       <id>
    branch_from: <feature branch from jira-reader>
    branch_to:   <target branch from jira-reader>
    title:       <link text>
    status:      MERGED | OPEN | DECLINED | UNKNOWN
context: |
  <what this repo's PRs relate to — for documentation focus>
jira_keys_hierarchy:   # optional; passed by caller to enable Strategy 4 cross-key grep
  - <PRD-KEY>
  - <every Epic/Story/Sub-task/Research/RFA/Bug key discovered by jira-reader>
refresh:
  fetch: true   # default true
  pull:  false  # default false — historical PR diffs do not need the current branch tip;
                # pulling risks moving HEAD away from the merge commit we want to reach.

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

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.

Resolver selection by host

Inspect pr_refs[*].host and route per-PR. Rule: if the URL is on a cloud service AND an official CLI is available locally, use the CLI; otherwise fall back to pure-local-git strategies against the cloned repo.

Read the full file on GitHub · 176 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. 3d 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 3d ago), licensed MIT. It adds 96 tokens to every session and 3,588 once invoked, about $0.0005 per session on Opus 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

Other agents, from other repositories