N8n cli smoke

From 8Dvibes/n8n-cli · View interactive version

N8n cli smoke is an AI agent skill from the GitHub repository 8Dvibes/n8n-cli. Run smoke tests against n8n webhook workflows. Sends known-good payloads and verifies expected responses. Use when promoting to production, after major changes, or as a daily reliability check.

How to use this skill

Skill file

/n8n-cli-smoke — n8n Smoke Test Suite

Build and run a smoke-test suite that verifies critical n8n workflows are responding correctly.

Procedure

Mode 1: Build the suite

  1. Ask the user which workflows to include:
  1. For each workflow:
  1. Save the suite to tests/smoke.yml:

```yaml

suite: production-smoke

profile: cloud # which n8n-cli profile to target

tests:

workflow_id: abc123

payload_file: tests/smoke/payloads/order-webhook.json

expect:

status: 200

max_latency_ms: 5000

body_contains: ["ok", "order_id"]

on_failure: alert # alert | continue | abort

workflow_id: def456

payload_file: tests/smoke/payloads/stripe-event.json

expect:

status: 200

max_latency_ms: 10000

on_failure: alert

```

  1. Save the payloads to tests/smoke/payloads/
  1. Generate a runner script (tests/smoke/run.sh) that reads the YAML, hits each webhook, and reports results

Mode 2: Run the suite

  1. Read tests/smoke.yml
  2. For each test:
  1. At the end, print a summary:

```

Smoke suite: production-smoke

Profile: cloud

Started: 2026-04-06 12:34:56

Duration: 4.2s

Results: 5 passed, 1 failed

Failed: stripe-event (TIMEOUT)

Run /n8n-cli-debug to investigate stripe-event.

```

  1. Exit code: 0 if all pass, 1 if any failed (so it can run in CI)

Output format

Tips

Companion: continuous smoke

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.