Mfrostbutter/n8n-workflow-harness
Claude Code / Copilot / Cursor harness for building n8n workflows: 20 n8n skills, both n8n-mcp servers pinned, and a dependency-free verification toolkit.
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
up to ~16.3k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Context hog · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 58/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit Mfrostbutter/n8n-workflow-harness/.claude ./rig-n8n-workflow-harness # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-agents .claude/skills/n8n-agents $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-binary-and-data .claude/skills/n8n-binary-and-data $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-canvas-docs .claude/skills/n8n-canvas-docs $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-code-javascript .claude/skills/n8n-code-javascript $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-code-python .claude/skills/n8n-code-python $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-code-tool .claude/skills/n8n-code-tool $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-credential-mapping .claude/skills/n8n-credential-mapping $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-enterprise-delivery .claude/skills/n8n-enterprise-delivery $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-error-handling .claude/skills/n8n-error-handling $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-expression-syntax .claude/skills/n8n-expression-syntax $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-gotchas .claude/skills/n8n-gotchas $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-instance-ops .claude/skills/n8n-instance-ops $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-mcp-tools-expert .claude/skills/n8n-mcp-tools-expert $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-multi-instance .claude/skills/n8n-multi-instance $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-node-configuration .claude/skills/n8n-node-configuration $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-node-dev .claude/skills/n8n-node-dev $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-project-organization .claude/skills/n8n-project-organization $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-promotion-pipeline .claude/skills/n8n-promotion-pipeline $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-self-hosting .claude/skills/n8n-self-hosting $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-subworkflows .claude/skills/n8n-subworkflows $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-upgrade-plan .claude/skills/n8n-upgrade-plan $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-validation-expert .claude/skills/n8n-validation-expert $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-workflow-as-code .claude/skills/n8n-workflow-as-code $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-workflow-map .claude/skills/n8n-workflow-map $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/n8n-workflow-patterns .claude/skills/n8n-workflow-patterns $ npx degit Mfrostbutter/n8n-workflow-harness/.agents/skills/using-n8n-mcp-skills .claude/skills/using-n8n-mcp-skills
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Read(**/.env)",
"Read(**/.env.*)",
"Bash(git push --force:*)",
"Bash(rm -rf:*)",
"mcp__n8n__n8n_delete_workflow",
"mcp__n8n-official__delete_data_table",
"mcp__n8n-official__delete_data_table_column",
"mcp__n8n-official__delete_agent"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "mcp__n8n__n8n_(create_workflow|update_partial_workflow|update_full_workflow|delete_workflow|autofix_workflow|deploy_temp",
"hooks": [
{
"type": "command",
"command": "node .claude/hooks/pre-n8n-write.mjs"
}
]
},
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "node scripts/guard-pre-tool.mjs"
}
]
}
]
}
} MCP servers (5)
| server | source | est. tokens |
|---|---|---|
| n8n-docs env: DISABLE_CONSOLE_OUTPUT, LOG_LEVEL, MCP_MODE, N8N_MCP_TELEMETRY_DISABLED | local / custom | 2.5k |
| n8n env: DISABLE_CONSOLE_OUTPUT, LOG_LEVEL, MCP_MODE, N8N_API_KEY, N8N_API_URL +4 | local / custom | 2.5k |
| n8n-official | local / custom · remote | 2.5k |
| n8n_docs env: DISABLE_CONSOLE_OUTPUT, LOG_LEVEL, MCP_MODE, N8N_MCP_TELEMETRY_DISABLED | local / custom | 2.5k |
| n8n_official | local / custom | 2.5k |
Skills (26)
n8n-agentsn8n-binary-and-datan8n-canvas-docsn8n-code-javascriptn8n-code-pythonn8n-code-tooln8n-credential-mappingn8n-enterprise-deliveryn8n-error-handlingn8n-expression-syntaxn8n-gotchasn8n-instance-opsn8n-mcp-tools-expertn8n-multi-instancen8n-node-configurationn8n-node-devn8n-project-organizationn8n-promotion-pipelinen8n-self-hostingn8n-subworkflowsn8n-upgrade-plann8n-validation-expertn8n-workflow-as-coden8n-workflow-mapn8n-workflow-patternsusing-n8n-mcp-skills
Hooks (3)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | node .claude/hooks/session-start.mjs |
| PreToolUse | mcp__n8n__n8n_(create_workflow|update_partial_workflow|update_full_workflow|delete_workflow|autofix_workflow|deploy_temp | node .claude/hooks/pre-n8n-write.mjs |
| PreToolUse | .* | node scripts/guard-pre-tool.mjs |
Permissions
deny (8)
Read(**/.env)
Read(**/.env.*)
Bash(git push --force:*)
Bash(rm -rf:*)
mcp__n8n__n8n_delete_workflow
mcp__n8n-official__delete_data_table
mcp__n8n-official__delete_data_table_column
mcp__n8n-official__delete_agent
ask (0)
—
allow (39)
Read
Glob
Grep
Bash(node scripts/:*)
Bash(./scripts/doctor.sh:*)
Bash(./scripts/health-check.sh:*)
Bash(./scripts/drift-check.sh:*)
Bash(./scripts/export-all.sh:*)
Bash(./scripts/validate.sh:*)
Bash(node --version)
Bash(node --test:*)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git add:*)
Bash(git commit:*)
Bash(git branch:*)
Bash(git checkout:*)
mcp__n8n-docs__search_nodes
mcp__n8n-docs__get_node
mcp__n8n-docs__validate_node
mcp__n8n-docs__validate_workflow
mcp__n8n-docs__search_templates
mcp__n8n-docs__get_template
mcp__n8n-docs__tools_documentation
Bash(./scripts/lint-workflow.sh:*)
Bash(./scripts/wf-diff.sh:*)
Bash(./scripts/node-inventory.sh:*)
Bash(./scripts/gen-agent-configs.sh:*)
mcp__n8n-official__get_workflow_sdk_reference
mcp__n8n-official__get_workflow_best_practices
mcp__n8n-official__search_nodes
mcp__n8n-official__get_node_types
mcp__n8n-official__validate_workflow
mcp__n8n-official__validate_node_config
mcp__n8n-official__get_workflow_details
mcp__n8n-official__search_workflows
mcp__n8n-official__get_workflow_history
mcp__n8n-official__get_workflow_versions_diff
Similar rigs
czlonkowski/n8n-skills
n8n skillset for Claude Code to build flawless n8n workflows
Skill Collector 6.6k tok · · Q3
czlonkowski/n8n-mcp
A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you
Orchestrator 3.8k tok · · Q8
walidboulanouar/n8n-claude-code-template
Claude Code template for building n8n workflows — onboarding agent, expert build agent, 7 n8n skills, n8n-mcp pre-configured. Say hey and start building.
Pragmatist 3.9k tok · · Q20
freddy-schuetz/hackathon-n8n-starter
Einsteiger-freundlicher Hackathon-Starter: Claude Code + n8n — Skills, n8n-MCP, KI-Agent-Lernworkflows + Frontend/Backend-Beispiele. Setup per „richte mir das ein“.
Skill Collector 3.1k tok · · Q13