# Blast Radius

> Analyze the blast radius of a code change before making it. Use before generating a diff that touches more than one file, before refactoring shared code, or when the user's request could affect files beyond the ones being directly edited.

- Skill: `cxgrd/blast-radius` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cxgrd/blast-radius`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cxgrd/blast-radius/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: cxgrd (https://skillmd.com/u/cxgrd)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/cxgrd/blast-radius

---


# Blast Radius Analysis

Before making a change that could affect other files, run:

`cxgrd input "<description of the change>" --json`

This returns a JSON object with affected files, risk level, and recommendations. Read the output and factor high-risk affected files into your plan before editing.

## Pre-requisites
This command requires that the project has been scanned with `cxgrd scan`.
If the project hasn't been scanned yet (`cxgrd input` returns a NO_GRAPH error), run `cxgrd scan` first, then retry.

