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 skills add mthines/agent-skills --skill impact-mapgit clone --depth 1 https://github.com/mthines/agent-skillsWrote 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/mthines/agent-skills/impact-map)<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.
<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>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.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 |
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.
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 — 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.mdis a thin index. Rules load per phase fromrules/; the page and comment skeletons are intemplates/. 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. |
What ships with it
11 files 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.
- references/design-rationale.md 3.8 KB
- rules/analysis.md 8.5 KB
- rules/compare.md 3.9 KB
- rules/diagram.md 8.0 KB
- rules/migration.md 3.3 KB
- rules/outputs.md 6.2 KB
- rules/plan-mode.md 4.6 KB
- scripts/line-link.mjs 5.2 KB runs code
- scripts/render-png.mjs 11 KB runs code
- templates/comment.md 1.8 KB
- templates/page.html 24 KB
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.
- 12d ago Changed · +3 lines · +22 tokens per session 5688654aa1e2
- 20d ago Changed · +11 lines · +14 tokens per session 141181e82b4d
- 1mo ago Changed · +21 lines 1829eea48224
- 1mo ago Changed · +1 lines c4ecf3aec012
- 1mo ago First seen · 101 lines · 96 tokens per session scan A 2530fc4e85f1
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.
impact-map compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| impact-mapmthines/agent-skills | Skill | 22 | yesterday | MIT | A | 132 | Claude Code |
| ego-lite-simplifycitrolabs/ego-lite | Skill | 26k | yesterday | MIT | A | 68 | Codex |
| create-pull-requestCodelyTV/agent-harness | Skill | 363 | 10d ago | none | A | 64 | Claude Code |
| code-review-and-qualityshennawardana23/skillme | Skill | 4 | 1mo ago | Apache-2.0 | A | 86 | Claude Code |
| coding-standardsshennawardana23/skillme | Skill | 4 | 1mo ago | Apache-2.0 | A | 106 | Claude Code |
| doubt-driven-developmentshennawardana23/skillme | Skill | 4 | 1mo ago | Apache-2.0 | A | 81 | Claude Code |
| best-practicesshennawardana23/skillme | Skill | 4 | 1mo ago | Apache-2.0 | A | 49 | Claude Code |