brownfield-blast

brownfield-blast is a command for Claude Code from wednesday-solutions/ai-agent-skills. It costs 0 tokens per session (965 once invoked), scanned A, original, MIT.

A report that shows which files may be affected if you change a selected file. It follows direct and indirect dependencies, meaning files that use the selected file either immediately or through other files.

In plain words
What is it for?
Use it to inspect a file's dependents, count the affected files, understand the file's role, and review its risk and possible danger areas.
Why use it?
It helps you see the wider impact of a change before editing shared code. This can reveal dependent files, cross-language links, and risk information that may otherwise be easy to miss.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to inspect a file's dependents, count the affected files, understand the file's role, and review its risk and possible danger areas.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wednesday-solutions/ai-agent-skills/brownfield-blast
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.

Clone the repo
git clone --depth 1 https://github.com/wednesday-solutions/ai-agent-skills

Made for: Claude Code.

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 brownfield-blast

README.md
[![agentmods](https://agentmods.dev/badge/commands/wednesday-solutions/ai-agent-skills/brownfield-blast/github.svg)](https://agentmods.dev/commands/wednesday-solutions/ai-agent-skills/brownfield-blast)
Your own site
<a href="https://agentmods.dev/commands/wednesday-solutions/ai-agent-skills/brownfield-blast"><img src="https://agentmods.dev/badge/commands/wednesday-solutions/ai-agent-skills/brownfield-blast/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 brownfield-blast

Your own site · 80×15
<a href="https://agentmods.dev/commands/wednesday-solutions/ai-agent-skills/brownfield-blast"><img src="https://agentmods.dev/badge/commands/wednesday-solutions/ai-agent-skills/brownfield-blast.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 965 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.00000 $0.00965
Opus 5 $0.00000 $0.00483
Sonnet 5 $0.00000 $0.00193
Haiku 4.5 $0.00000 $0.00097

Measured 11d ago against content hash a94667c50ee7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

brownfield-blast 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 11d 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/commands/brownfield-blast.md · 150 lines

How it starts

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

/brownfield-blast — Blast Radius Report

Purpose

Generate a detailed blast radius report showing all files affected if you change a given file.

Trigger

  • "Show me the blast radius of this file"
  • "What happens if I change X?"
  • "Who depends on this module?"

Type: /brownfield-blast <file-path>


Steps

1. Resolve the target file

If $ARGUMENTS is empty, use the currently open file. Resolve relative paths to project root. Verify the file exists in the graph.

2. Load blast radius from DB

const queries = require('./.claude/query-helpers.js');
const blastData = queries.getBlastRadius(targetFilePath);

Returns:

  • count (total transitive dependents)
  • direct (files that directly import this)
  • transitive (all affected files at all depths)
  • files (array with distances/hops)
  • crossLang (cross-language dependencies)

3. Load file summary for context

const summary = queries.getFileSummary(targetFilePath);

Provides:

  • summary (1-line module purpose)
  • primaryRole (Util, Logic, Infra, etc.)
  • importedByCount (fan-in)
  • riskScore, band
  • dangerReason

4. Build the report

Format:

# Blast Radius — <file-path>

## File Summary
[Summary from dep-graph]

**Role:** <role>  
**Risk Score:** <score>/100  
**Bug Fixes:** <count>  

---

## Direct Dependents
<N> files directly import this:
- <file 1>
- <file 2>
- ...

---

## Transitive Dependents
<N> files would be affected if this changes:
- <file 1> (distance: 1 hop)
- <file 2> (distance: 1 hop)
- <file 3> (distance: 2 hops)
- ...
[Show up to 20; note if more exist]

---

## Cross-Language Hits
[If any]
- <swift file> imports this JS file (iOS build may break)
- <go file> depends on exported JSON schema

---

## Recommended Action

[If transitive dependents < 5]
✓ Safe to change. Low blast radius. Run tests in dependent files.

[If transitive dependents 5-20]
⚠ Moderate impact. Affects <N> files. Ensure tests pass for:
  • <top 3 dependent files>

[If transitive dependents > 20]
🛑 CRITICAL impact. <N> files depend on this.
Before changing:
  1. Ensure changes are backwards compatible
  2. Update all dependent imports
  3. Run full test suite
  4. Notify team (@owner)

Read the full file on GitHub · 150 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. 11d ago First seen · 150 lines · 0 tokens per session scan A a94667c50ee7

Subscribe to this mod's changes

brownfield-blast is a command published in the GitHub repository wednesday-solutions/ai-agent-skills (168 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 965 tokens. 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-30.