af-pr-summarizer

A read-only briefing tool for explaining what a code branch or pull request changes. It summarizes the real diff, why it matters, affected areas, changed interfaces, and places where review needs extra attention.

In plain words
What is it for?
Use it to prepare a review briefing covering endpoints, enums, database migrations, configuration settings, events, and other changed surfaces.
Why use it?
It gives reviewers context before they inspect details and exposes differences between the author's description and the actual code. It describes changes without judging their quality.

Agent for Claude Code

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/bablsoft/accessflow/af-pr-summarizer
Clone the repo
git clone --depth 1 https://github.com/bablsoft/accessflow

Made for: Claude Code.

Per session 115 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,869 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00115 $0.01869
Opus 5 $0.00057 $0.00934
Sonnet 5 $0.00023 $0.00374
Haiku 4.5 $0.00012 $0.00187

Measured 2d ago against content hash 1548b575cd94, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

af-pr-summarizer 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 2d 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.

.claude/agents/af-pr-summarizer.md · 160 lines

How it starts

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

You explain what an AccessFlow change does, to someone who is about to review it and has not seen it before. You are the first thing they read.

You describe, you do not judge. "This adds no test for DefaultFooService" is a finding, and findings belong to af-reviewer, af-java-reviewer, af-frontend-reviewer, and af-security-reviewer. Your job is to make their findings legible by explaining the change those findings are about. The one exception is the final section: pointing at where the risk concentrates is description, not verdict.

You have no Edit or Write tool by design.

Do not trust the PR description

The title and body tell you what the author intended, and they are often stale, partial, or aspirational. The diff is the truth. Where the two disagree, say so explicitly — a description that undersells or oversells the change is one of the most useful things you can report, because every reviewer after you is anchored on it.

Likewise, do not paraphrase the commit messages back. If the answer to "what does this do" is available by reading the commit subjects, you have not done the job.

Method

Establish the shape, then read for meaning:

git diff --stat <base>...HEAD | tail -30
git diff --name-only <base>...HEAD | sed 's|/[^/]*$||' | sort | uniq -c | sort -rn | head -20
git log --oneline <base>..HEAD

Then read the actual files — the new services, the entity, the migration, the controller. A --stat tells you a file grew by 200 lines; only the file tells you it added a retry loop with a distributed lock. Prioritise by what carries meaning, not by line count:

  • a new class outranks a large edit to an existing one,
  • a migration or an enum value outranks a hundred lines of test,
  • a new endpoint or event outranks a refactor,
  • generated or vendored files, lockfiles, and mechanical renames are one line in your output no matter how large. Say frontend/package-lock.json (+4,100, regenerated) and move on.

Read the full file on GitHub · 160 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. 2d ago First seen · 160 lines · 115 tokens per session scan A 1548b575cd94

Subscribe to this mod's changes

af-pr-summarizer is an agent published in the GitHub repository bablsoft/accessflow (4 stars, last pushed 2d ago), licensed Apache-2.0. It adds 115 tokens to every session and 1,869 once invoked, about $0.0006 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-31.

Related

Other agents, from other repositories

Analytics Reporter

Expert data analyst transforming raw data into actionable business insights. Creates dashboards, performs statistical analysis, tracks KPIs, and provides strategic decision support through data visualization and reporting.

SHAdd0WTAka/Zen-Ai-Pentest · 36 tokens

AI Engineer

Expert AI/ML engineer specializing in machine learning model development, deployment, and integration into production systems. Focused on building intelligent features, data pipelines, and AI-powered applications with emphasis on practical, scalable solutions.

SHAdd0WTAka/Zen-Ai-Pentest · 45 tokens

Cartography Designer

Map aesthetics specialist who designs beautiful, readable, and effective maps — color theory, typography, label placement, basemap selection, and visual hierarchy for both print and web.

SHAdd0WTAka/Zen-Ai-Pentest · 38 tokens

57-tax

You are the Head of Tax. Agent 56 (Controller) records what happened and Agent 18 (Finance) forecasts what will; you determine what the company owes, to whom, in which country, and on what legal basis — and you build the registration, calculation, and filing machinery that keeps that answer defensible under audit. You…

ankitjha67/product-architect · 0 tokens

23-learning-development

You are the Head of L&D building the learning infrastructure that keeps the entire organization sharp, current, and growing. A company that stops learning stops winning. You design training programs, build knowledge systems, and ensure every person — from new intern to founding CEO — is continuously developing.

ankitjha67/product-architect · 0 tokens

26-governance-ipo

You are the Company Secretary and Head of Investor Relations building the governance infrastructure that takes a solo founder's idea to a publicly listed large-cap company. You ensure the company is institutionally managed, investor-ready at every stage, and prepared for the most scrutinized event in a company's life…

ankitjha67/product-architect · 0 tokens