impact-analysis

impact-analysis is a skill for Claude Code, Codex from cdeust/ai-architect-mcp-codebase. It costs 55 tokens per session (555 once invoked), scanned A, original, MIT.

A workflow for tracing which parts of a codebase may be affected by a proposed or completed change.

In plain words
What is it for?
Use it for implementation planning, pull-request review, regression analysis, dependency checks, and investigating the impact of changing a function or code difference.
Why use it?
It reveals callers, importers, users, and other dependents so regression risks and the likely scope of a change are easier to see.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the ai-architect-mcp-codebase plugin — 3 skills, 25 commands, 23 agents, 6 hooks, 2 MCP servers shipped together

Good fit Use it for implementation planning, pull-request review, regression analysis, dependency checks, and investigating the impact of changing a function or code difference.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cdeust/ai-architect-mcp-codebase/impact-analysis
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 cdeust/ai-architect-mcp-codebase --skill impact-analysis
Clone the repo
git clone --depth 1 https://github.com/cdeust/ai-architect-mcp-codebase

Made for: Claude Code, Codex.

Or install ai-architect-mcp-codebase, the plugin that ships this one along with the rest of its 3 skills, 25 commands, 23 agents, 6 hooks, 2 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdeust/ai-architect-mcp-codebase/impact-analysis/github.svg)](https://agentmods.dev/skills/cdeust/ai-architect-mcp-codebase/impact-analysis)
Your own site
<a href="https://agentmods.dev/skills/cdeust/ai-architect-mcp-codebase/impact-analysis"><img src="https://agentmods.dev/badge/skills/cdeust/ai-architect-mcp-codebase/impact-analysis/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-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/cdeust/ai-architect-mcp-codebase/impact-analysis"><img src="https://agentmods.dev/badge/skills/cdeust/ai-architect-mcp-codebase/impact-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 555 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.00055 $0.00555
Opus 5.5 $0.00022 $0.00222
Sonnet 5.5 $0.00011 $0.00111
Haiku 4.5 $0.00006 $0.00056

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

Security

Grade A, and why

impact-analysis 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 1mo 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.

plugins/ai-architect-mcp-codebase/skills/impact-analysis/SKILL.md · 35 lines

How it starts

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

Impact Analysis

Use the eight-tool core profile. Treat graph results as a lower bound wherever the tool reports heuristic resolution, dynamic dispatch, or coverage gaps.

For Rust caller or impact questions, request lsp: true in analyze_codebase and make rust-analyzer available. Inspect lsp_status.state: disabled means static-only analysis; failed means analysis continued and may retain partial LSP results. Record the error and treat affected conclusions as unverified until source checks or a successful rerun support them. completed means the pass returned, not that every call resolved. Record unresolved sites and coverage gaps.

If a full-profile workflow supplies a check_security_gates receipt, inspect both gates_passed and assessment_complete. A true pass with an incomplete assessment is not security clearance: report skipped checks, unresolved symbols and warnings. This core-profile workflow does not invoke that additional tool.

Workflow

  1. Call health_check. Build or refresh the graph with analyze_codebase, and keep the exact returned graph_path.
  2. If an actual unified diff or base/head refs exist, call detect_changes. Do not invent a diff for a proposal that has not been implemented.
  3. Use search_codebase to resolve every proposed or changed symbol to an exact qualified name. Confirm important targets with get_symbol or get_context.
  4. Call get_impact for each target. Page callers through next_offset. Treat importers, users, and implementors as capped summaries; use query_graph with an explicit ORDER BY when a complete paged list matters.
  5. Call query_graph with graph="missed". Inspect flagged ranges and search relevant source, including unflagged files, even when no gaps are flagged before making a negative claim about callers, dependencies, or test coverage. Clean parsing can still miss relationships.
  6. Follow high-risk dependents with get_context or get_symbol. Use sibling graphs only when the user supplies or authorizes those graph paths.

Read the full file on GitHub · 35 lines

Files

What ships with it

1 file 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.

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. 1mo ago Changed · +12 lines 64e832bd8c56
  2. 1mo ago First seen · 23 lines · 55 tokens per session scan A a0052f3b63e9

Subscribe to this mod's changes

impact-analysis is a skill published in the GitHub repository cdeust/ai-architect-mcp-codebase (7 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 555 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

brooks-harness

Maintenance orchestrator for the brooks-lint plugin itself. Runs a sequential subagent pipeline — author → eval → QA → trigger-audit → release — to add or edit a skill, refresh the eval suite, keep the four manifests + all README translations + CHANGELOG + AGENTS/GEMINI in sync, audit trigger boundaries, and cut…

hyhmrright/brooks-lint · 271 tokens

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens

new-skill

Scaffold a new brooks-lint analysis skill so it passes npm run validate and npm run evals on the first try — generates skills/{name}/SKILL.md (with the mandatory "Do NOT trigger for:" clause and a Process section citing guide step ranges) plus skills/{name}/{name}-guide.md (sequentially numbered steps), then appends…

hyhmrright/brooks-lint · 145 tokens

brooks-audit

Architecture audit that maps module dependencies, checks layering integrity, and flags structural decay across a codebase, drawing on twelve classic engineering books. Triggers when: user asks to audit architecture, review folder/module structure, check for circular imports, understand how the codebase is organized…

hyhmrright/brooks-lint · 143 tokens

brooks-sweep

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user…

hyhmrright/brooks-lint · 178 tokens

brooks-debt

Tech debt assessment that identifies, classifies, and prioritizes maintainability problems — helping teams build a refactoring roadmap — drawing on twelve classic engineering books. Triggers when: user asks about tech debt, refactoring priorities, what to clean up first, or asks "why is this so hard to change?", "what…

hyhmrright/brooks-lint · 131 tokens