N8n cli schedule audit

From 8Dvibes/n8n-cli · View interactive version

N8n cli schedule audit is an AI agent skill from the GitHub repository 8Dvibes/n8n-cli. Audit n8n Schedule Triggers for cron collisions and bad expressions. Finds 50-things-at-3am pileups and suggests rebalanced schedules. Use before going to production, after imports, or when spreading load.

How to use this skill

Skill file

/n8n-cli-schedule-audit — Schedule Trigger Audit

Read every workflow's Schedule Trigger, build a calendar view of what fires when, and surface collisions and rebalancing opportunities.

Procedure

  1. Find scheduled workflows:
  1. Build a unified schedule table:
  1. Find collisions:
  1. Find sus expressions:
  1. Suggest a rebalanced schedule for any minute with 5+ collisions:

Output format

## n8n Schedule Audit — [profile] — [date]

### Summary
- Scheduled workflows: N
- Distinct cron expressions: M
- Worst collision: N workflows at HH:MM
- Workflows running every minute: N

### Heat map (next 24 hours)
[ASCII bar: 24 hours, height = count of fires per hour]

### Collision hotspots
| Time   | Count | Workflows |
|--------|-------|-----------|
| 00:00  | 12    | Sync A, Sync B, ... |

### Suspicious expressions
| Workflow | Cron | Reason |
| Foo      | * * * * * | Every minute, 60% error rate |

### Recommended rebalance
| Workflow | Current cron | Proposed cron | Rationale |
| Sync A   | 0 0 * * *    | 5 0 * * *     | Spread 00:00 collision |

### How to apply
For each row in the rebalance table, edit the workflow in the n8n UI or use:
  n8n-cli wf export <id> -o /tmp/workflow.json
  # edit the cron field in /tmp/workflow.json
  n8n-cli wf update <id> /tmp/workflow.json

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.