N8n cli impact

From 8Dvibes/n8n-cli · View interactive version

N8n cli impact is an AI agent skill from the GitHub repository 8Dvibes/n8n-cli. Check blast radius before making n8n changes. Answers 'if I delete credential X or deactivate workflow Y, what breaks?' Use before any destructive operation in production.

How to use this skill

Skill file

/n8n-cli-impact — Change Blast-Radius Analysis

Given a proposed change to an n8n instance, find everything that would be affected and report it before the change is made.

Procedure

  1. Identify the target of the change — what is the user about to touch?
  1. Build the dependency graph (or load it from ~/.cache/n8n-cli/deps.json if /n8n-cli-deps was run recently):
  1. Reverse-search the graph for the target:
  1. Categorize impact:
  1. Compute downstream effects:
  1. Output a blast-radius report:
## Impact Analysis: [Proposed change]

**Target:** Stripe Live API credential (id: cred_xyz)
**Action:** Delete

### Direct impact: 7 workflows
| 🔴 | Process Order | uses cred for `Charge Customer` step | breaks immediately |
| 🔴 | Refund Order | uses cred for `Stripe Refund` step | breaks immediately |
| 🟡 | Daily Stripe Sync | uses cred for `List Charges` — has fallback to test mode | degrades silently |
| ... |

### Indirect impact: 3 workflows
These call the workflows above as sub-workflows, so they'll fail too:
- Order Fulfillment Pipeline (calls Process Order)
- Customer Lifetime Value (calls Daily Stripe Sync)
- ...

### Affected webhooks
- POST /webhook/stripe-event — handled by Process Order

### Recommendation
🔴 BLOCK. This change breaks 7 workflows immediately. Required steps before proceeding:
1. Create the replacement credential first
2. Update all 7 workflows to use the new credential (use /n8n-cli-bulk)
3. Then delete the old credential

### How to safely apply
[step-by-step playbook]

Output format

Safety rules

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.