impact-map

impact-map is a skill for Claude Code from mthines/agent-skills. It costs 132 tokens per session (2,842 once invoked), scanned A, original, MIT.

A pull-request review format that shows the system changes, risks, and a small set of decisions, with links to the relevant code. It checks claims against the code, tests, and documentation first.

In plain words
What is it for?
Use it to create an impact map for a GitHub pull request, including a change diagram, linked decision points, and settled matters. It can also publish the result as a pull-request comment or page.
Why use it?
It reduces line-by-line review work and makes the important architectural effects and risks easier to see. Reviewers can focus on decisions rather than searching through the whole change.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the mthines-agent-skills plugin — 54 skills, 3 agents, 2 hooks shipped together

Good fit Use it to create an impact map for a GitHub pull request, including a change diagram, linked decision points, and settled matters. It can also publish the result as a pull-request comment or page.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mthines/agent-skills/impact-map
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.

Any agent
npx skills add mthines/agent-skills --skill impact-map
Clone the repo
git clone --depth 1 https://github.com/mthines/agent-skills

Made for: Claude Code.

Or install mthines-agent-skills, the plugin that ships this one along with the rest of its 54 skills, 3 agents, 2 hooks.

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 impact-map

README.md
[![agentmods](https://agentmods.dev/badge/skills/mthines/agent-skills/impact-map/github.svg)](https://agentmods.dev/skills/mthines/agent-skills/impact-map)
Your own site
<a href="https://agentmods.dev/skills/mthines/agent-skills/impact-map"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/impact-map/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 impact-map

Your own site · 80×15
<a href="https://agentmods.dev/skills/mthines/agent-skills/impact-map"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/impact-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,842 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00132 $0.02842
Opus 5.5 $0.00053 $0.01137
Sonnet 5.5 $0.00026 $0.00568
Haiku 4.5 $0.00013 $0.00284

Measured 12d ago against content hash 5688654aa1e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

impact-map 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/line-link.mjs, scripts/render-png.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/quality/impact-map/SKILL.md · 137 lines

How it starts

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

Impact Map

Turns a PR (or, in plan mode, a plan, a design, or a branch with no PR) into the few things a reviewer must decide, with the system change drawn once and every decision linked to the lines that carry it. The reader cares about impact, architecture, and risk, not line-by-line code.

This SKILL.md is a thin index. Rules load per phase from rules/; the page and comment skeletons are in templates/. Why the format is this small, and the 2025–2026 research behind it: references/design-rationale.md.

Two scripts do the mechanical parts; run them, never hand-compute their output:

node "${CLAUDE_SKILL_DIR}/scripts/line-link.mjs" locate pr.diff <path> '<regex>'   # new-side line numbers
node "${CLAUDE_SKILL_DIR}/scripts/line-link.mjs" url --repo <o/r> --pr <n> --sha <head> --path <p> --lines <a-b> --files <count>
node "${CLAUDE_SKILL_DIR}/scripts/render-png.mjs" <page.html> <out-dir>        # light + dark diagram PNGs

Arguments

Argument Default Effect
<pr-url|#n>... the current branch's PR The PR to map. Several refs map each PR separately: § Several PRs or a stack.
--plan <file> — Map a plan or design that has no PR: the facts come from the plan and the code it names, and the page is built, never posted. rules/plan-mode.md
--branch <ref> — Map a branch that has no PR yet, from its diff against the merge base. Same rules as --plan for the page and the report.
--stack — Map every PR in the stack that holds the given PR, bottom to top, each separately.
(none) yes Build the page only: publish it as an Artifact when the host has the Artifact tool, else write .agent/{branch}/impact-map/pr-<n>.html.
--no-migration — Skip the migration figure even when the diff has a migration.
--comment — Also post the map as a PR comment with the diagram as light and dark PNGs. A re-run edits the same comment.
--body — Also write the map into the PR description's owned region, above the author's text. A re-run replaces the region.
--dry-run — Build the page, the PNGs, and the comment Markdown; post nothing.
--findings <report-body.md> — Diagram only, for a pr-reviewer report: badge each box with the numbers of that report's findings table and print the PNG paths and the alt text. Skips phases 3 and 6, builds phase 5's page file locally (.agent/{branch}/impact-map/pr-<n>.html, never published as an Artifact) because render-png.mjs reads it, and writes nothing to GitHub. Procedure: rules/diagram.md § Badges from a pr-reviewer report.

Read the full file on GitHub · 137 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. 12d ago Changed · +3 lines · +22 tokens per session 5688654aa1e2
  2. 20d ago Changed · +11 lines · +14 tokens per session 141181e82b4d
  3. 1mo ago Changed · +21 lines 1829eea48224
  4. 1mo ago Changed · +1 lines c4ecf3aec012
  5. 1mo ago First seen · 101 lines · 96 tokens per session scan A 2530fc4e85f1

Subscribe to this mod's changes

impact-map is a skill published in the GitHub repository mthines/agent-skills (22 stars, last pushed yesterday), licensed MIT. It adds 132 tokens to every session and 2,842 once invoked, about $0.0005 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-10-21.

Related

impact-map compared with skills from other repositories

impact-map next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
impact-mapmthines/agent-skillsSkill22yesterdayMITA132Claude Code
ego-lite-simplifycitrolabs/ego-liteSkill26kyesterdayMITA68Codex
create-pull-requestCodelyTV/agent-harnessSkill36310d agononeA64Claude Code
code-review-and-qualityshennawardana23/skillmeSkill41mo agoApache-2.0A86Claude Code
coding-standardsshennawardana23/skillmeSkill41mo agoApache-2.0A106Claude Code
doubt-driven-developmentshennawardana23/skillmeSkill41mo agoApache-2.0A81Claude Code
best-practicesshennawardana23/skillmeSkill41mo agoApache-2.0A49Claude Code