Route n8n workflow tasks to specialist guidance skills
Router skill that names which n8n-mcp specialist skill to invoke first, before any workflow design, edit, validation, or credential action.
Why it matters
This router skill ensures you invoke the correct specialist skill before any n8n MCP workflow design, configuration, validation, or deployment action, preventing common antipatterns and keeping your work aligned with live tool schemas rather than outdated training data.
Outcomes
What it gets done
Map your intended action (configure node, write expression, handle errors, build agent) to the owning specialist skill
Enforce non-negotiables: invoke skills before actions, validate AND verify before activation, route secrets through credentials
Detect red-flag patterns (unnecessary Set nodes, premature Code nodes, missing error wiring) and trigger the correct skill
Flag drift between skill guidance and live tool behavior when n8n releases change parameter shapes or node versions
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/ag-using-n8n-mcp-skills | bash Overview
Using the n8n-mcp Skills
Routes n8n MCP tasks to the right specialist skill - workflow patterns, node configuration, expressions, validation, error handling, binary data, sub-workflows, agents, or multi-instance targeting - before any tool call. Use at the start of any n8n MCP workflow design, inspection, edit, validation, test, deployment, credential, or troubleshooting task.
What it does
This skill is a router, not a reference - it tells an agent which specialist n8n-mcp skill owns the rules for whatever it's about to do, invoked at the start of any n8n MCP workflow design, inspection, edit, validation, test, deployment, credential, execution, or troubleshooting task. It starts with read-only discovery and live schema inspection, never copies secrets into prompts or workflow fields, never infers the target instance, and requires approval before tests with side effects, activation, deletion, credential mutation, or other externally visible changes. Because the community n8n-mcp server and n8n itself move faster than any model's training cutoff, when a skill's described tool, parameter shape, or behavior drifts from what the live tool actually shows, the live tool wins - flag the drift and suggest updating the pack and instance.
Three non-negotiable rules, each preventing a workflow class that looks correct but breaks in production: invoke the relevant skill before any n8n action, not just MCP calls - PreToolUse hooks remind on the highest-impact calls only when the plugin bundle is installed, so on plain skill-upload platforms like Claude.ai the responsibility is entirely the agent's own; validate AND verify before activating, since validate_workflow only proves well-formed JSON, not correctness - always also call n8n_get_workflow after every create or update to inspect the connections object, since validation alone misses silently dropped wires, Merge index off-by-ones, and unwired error outputs; and secrets never go in text fields - tokens, API keys, and passwords go through the n8n credential system, falling back to the HTTP Request node with the official credential type if no native node exists, since a Set node holding a token referenced via an expression is a leak with extra steps.
Because n8n changes constantly and "remembered" parameter names often validate as plain strings while doing nothing at runtime, the skill instructs trusting live tools (get_node, search_nodes, tools_documentation) and skill bodies over recollection - if a skill contradicts memory, trust the skill; if get_node contradicts a skill, trust the tool and flag the drift. Four strong defaults (each skill can carve its own exceptions): the Code node is a last resort behind an expression and then an Edit Fields arrow function; a Set node feeding zero or one consumers is almost always wrong and should be inlined at the consumer instead; per-item iteration is automatic, so a Loop Over Items node to "make it loop" is usually unnecessary; and nodes should always be configured from the live schema via get_node, never from memory.
Fifteen "red flag" thoughts each map to a skill to invoke first: assuming a workflow is simple enough to just build (most ship at 10+ nodes) routes to n8n-workflow-patterns; reaching for a Set node to map fields routes to n8n-expression-syntax; defaulting to a Code node routes to n8n-code-javascript; writing Python without an explicit ask still routes to n8n-code-javascript (Python only on request, via n8n-code-python); writing code an AI agent will call routes to n8n-code-tool (a different runtime contract); reaching for a DateTime node for date math routes to n8n-expression-syntax (inline Luxon is usually right); wiring a three-source Merge routes to n8n-node-configuration (Merge defaults to two inputs, the third silently drops); treating a passed validation as activation-ready, or hitting a validation error, both route to n8n-validation-expert; referencing $json.x directly in a branchy workflow routes to n8n-expression-syntax (prefer $('Node').item.json.x); building a happy-path-only webhook or scheduled flow routes to n8n-error-handling; passing a file through as JSON routes to n8n-binary-and-data (file contents live in $binary and can't cross the agent-tool boundary); wiring an AI agent with tools routes to n8n-agents (tool names and descriptions are the prompt); copying logic into another workflow or noticing a workflow getting big routes to n8n-subworkflows; and creating a credential or opening a workflow on a multi-instance account routes to n8n-multi-instance (every call hits the currently-targeted instance, and an ambiguous credential write fails closed).
The full skill index spans fourteen entries covering tool/node discovery and credentials (n8n-mcp-tools-expert), workflow architecture (n8n-workflow-patterns), node configuration (n8n-node-configuration), expressions and data mapping (n8n-expression-syntax), validation interpretation (n8n-validation-expert), JavaScript and Python Code nodes (n8n-code-javascript, n8n-code-python), the Custom Code Tool contract (n8n-code-tool), error handling (n8n-error-handling), binary/file data (n8n-binary-and-data), sub-workflow extraction (n8n-subworkflows), AI agents (n8n-agents), and multi-instance targeting (n8n-multi-instance).
The skill also gives working knowledge of the n8n-mcp tool surface itself, grouped by purpose: discovery/docs (tools_documentation, search_nodes, get_node, validate_node, search_templates/get_template), build/edit (n8n_create_workflow, n8n_update_partial_workflow as the preferred incremental-diff editor, n8n_update_full_workflow, n8n_autofix_workflow, n8n_deploy_template), validation (validate_workflow taking long-form node types, n8n_validate_workflow by id), inspect/lifecycle (n8n_get_workflow, n8n_list_workflows, n8n_delete_workflow, n8n_workflow_versions, n8n_instances, n8n_health_check), test/run (n8n_test_workflow which fires real side effects, n8n_executions, and n8n_evaluations for n8n 2.30+ test runs), and data/credentials/audit (n8n_manage_datatable, n8n_manage_credentials, n8n_audit_instance) - flagging a node-type form trap where get_node/validate_node take short form while workflow JSON uses long form. The overall protocol: recognize the matching skill and invoke it before the first MCP call, skim tools_documentation once per session, call get_node before configuring any node, validate before activating and get_workflow after to check connections, and surface any drift noticed. When nothing fits cleanly - a workflow the user built in the UI can't be found (usually per-workflow MCP access is off), the user reports something broken (believe them and re-check against get_node), or no skill fits a non-trivial task - the guidance is to ask rather than guess, since these are opinionated best practices, not laws, editable as plain markdown.
When to use - and when NOT to
Use this router at the start of any n8n MCP workflow design, inspection, edit, validation, test, deployment, credential, execution, or troubleshooting task, invoking the specialist skill it names before the first MCP call. Never copy secrets into prompts or workflow fields, never infer the target instance, and obtain approval before any test with side effects, activation, deletion, credential mutation, or other externally visible change.
Inputs and outputs
Input is an n8n MCP task description. Output is the identified specialist skill(s) to invoke, plus, when actually building, a validated and verified workflow whose connections were confirmed post-edit via n8n_get_workflow.
request: Build a webhook that validates input, calls an API, and returns structured errors.
specialists: [n8n-workflow-patterns, n8n-node-configuration, n8n-error-handling]
sequence:
- inspect the target instance and live node schemas
- build and validate the graph
- preview side effects and obtain approval
- write changes, fetch the saved workflow with n8n_get_workflow, and revalidate
- activate and test only after approval
Integrations
Every other n8n-mcp skill in the family - n8n-mcp-tools-expert, n8n-workflow-patterns, n8n-node-configuration, n8n-expression-syntax, n8n-validation-expert, n8n-code-javascript, n8n-code-python, n8n-code-tool, n8n-error-handling, n8n-binary-and-data, n8n-subworkflows, n8n-agents, and n8n-multi-instance - plus the full n8n-mcp tool surface (discovery, build/edit, validation, lifecycle, test/run, and data/credential/audit tools).
Who it's for
Coding agents and n8n workflow builders using the n8n-mcp server who need to know which specialist skill governs a given step, rather than guessing at parameter names or tool behavior from training data.
Source README
Using the n8n-mcp Skills
When to Use
Use this router at the start of any n8n MCP workflow design, inspection, edit, validation, test, deployment, credential, execution, or troubleshooting task so the relevant specialist guidance is loaded first.
Begin with read-only discovery and live schema inspection. Never copy secrets into prompts or workflow fields, never infer the target instance, and obtain approval before tests with side effects, activation, deletion, credential mutation, or other externally visible changes.
This is a router, not a reference. It tells you which skill owns the rules for what
you're about to do. The skill bodies hold the actual guidance - invoke them with the
Skill tool. When in doubt, load more skills rather than fewer.
The community n8n-mcp server and n8n itself move faster than any model's training
cutoff. Tool names, parameters, node typeVersions, and default behaviors drift between
releases. When you spot drift - a tool a skill names doesn't exist, a parameter shape
doesn't match what get_node returns, behavior differs from what a skill describes -
trust the live tool, tell the user, and suggest updating the pack and the instance.
Non-negotiables
Three rules with no exceptions. Each one prevents a class of workflow that looks correct
but breaks in production.
- Invoke the relevant skill before any n8n action - not just before MCP calls.
Before writing an expression, configuring a node, designing a workflow, wiring a
connection, or writing Code, invoke the matching skill. The PreToolUse hooks remind
you on the highest-impact tool calls only when the plugin bundle is installed; on
Claude.ai (plain skill uploads, no hooks) the responsibility is entirely yours. - Validate AND verify before activating. Run
validate_workflow(orn8n_validate_workflowby id) before you activate, and calln8n_get_workflowafter
every create or update to inspect theconnectionsobject. Validation alone misses
silently dropped wires, Merge index off-by-one, and error outputs that were never
wired. Validation passing means the JSON is well-formed - not that the workflow is
correct. - Secrets never go in text fields. Tokens, API keys, and passwords always go through
the n8n credential system. If no native node exists, use the HTTP Request node with
the official credential type. A Set node holding a token referenced via{{ $json.token }}
is a leak with extra steps. Seen8n-mcp-tools-expert.
Lean on skills, not training data
n8n changes constantly. "Remembered" parameter names are often silently wrong - they
validate as plain strings and then do nothing at runtime. Trust the skills and the live
tools (get_node, search_nodes, tools_documentation) over recollection. If a skill
contradicts your memory, trust the skill. If get_node contradicts a skill, trust the
tool and flag the drift.
Strong defaults
Each skill owns its own exceptions; these are the defaults.
- The Code node is a last resort. Expression first, then an arrow function inside Edit
Fields, then a Code node only when neither can do the job. Seen8n-code-javascript. - A Set node feeding 0-1 consumers is almost always wrong. Inline the expression at
the consumer instead. Seen8n-expression-syntax. - Per-item iteration is automatic. Don't add a Loop Over Items node to "make it loop"
when default per-item execution already handles the case. - Configure from the live schema, never from memory.
get_nodebefore you set
parameters. Seen8n-node-configuration.
Red flags: "about to ___" → invoke ___
If you catch yourself thinking any of these, stop and invoke the named skill first.
| Thought | Invoke |
|---|---|
| "This workflow is simple, I'll just build it" | n8n-workflow-patterns - most "simple" flows ship at 10+ nodes |
| "I'll add a Set node to map these fields" | n8n-expression-syntax - Set feeding ≤1 consumer is the #1 antipattern |
| "I'll just use a Code node, it's easier" | n8n-code-javascript - the bar is high; most reaches are expressions or Edit Fields |
| "The user mentioned data, I'll write Python" | n8n-code-javascript - default JS; Python (n8n-code-python) only on explicit ask |
| "I'm writing code an AI agent will call" | n8n-code-tool - a different runtime contract from the Code node |
| "Date math - I'll drop in a DateTime node" | n8n-expression-syntax - Luxon inline is almost always right |
| "I'll wire a Merge with 3 sources" | n8n-node-configuration - Merge defaults to 2 inputs; the 3rd silently drops |
| "Validation passed, I'm ready to activate" | n8n-validation-expert + n8n-workflow-patterns - run the antipattern scan |
| "Validation threw an error I don't understand" | n8n-validation-expert - what each error and warning means, and which are must-fix vs. best-practice advice |
"I'll reference $json.x here" |
n8n-expression-syntax - prefer $('Node').item.json.x in branchy workflows |
| "This webhook/scheduled flow is happy-path only" | n8n-error-handling - wire an error branch on every fallible node; 4xx caller faults, 5xx yours |
| "I'll pass this file/image through as JSON" | n8n-binary-and-data - file contents live in $binary, and can't cross the agent-tool boundary |
| "I'll wire up an AI agent and give the model some tools" | n8n-agents - tool names & descriptions ARE the prompt; memory, structured output, and topology have traps |
| "I'll copy this logic into another workflow" / "this is getting big" | n8n-subworkflows - extract a reusable sub-workflow; search before building |
| "I'll create that credential / open that workflow" (account has >1 instance) | n8n-multi-instance - every call hits the currently-targeted instance; reads misroute silently, and an ambiguous credential write fails closed with INSTANCE_AMBIGUOUS |
Skill index
| Skill | Reach for it when |
|---|---|
using-n8n-mcp-skills |
This router (auto-loaded). Names the skill that owns your task. |
n8n-mcp-tools-expert |
Choosing or calling any n8n-mcp tool; node discovery; credentials; data tables; security audit; templates |
n8n-workflow-patterns |
Designing or building a workflow; picking an architecture (webhook / HTTP API / database / AI agent / scheduled / batch) |
n8n-node-configuration |
Configuring any node; operation-aware required fields; property dependencies; surgical field edits |
n8n-expression-syntax |
Writing {{ }}, $json/$node/$now; mapping data between nodes; the transform gatekeeper; Set-node discipline |
n8n-validation-expert |
Interpreting validation errors/warnings; false positives; the validation loop; auto-fix; reviewing an existing workflow |
n8n-code-javascript |
Any Code node in JavaScript; data access; this.helpers; DateTime; SplitInBatches loop patterns |
n8n-code-python |
A Code node specifically requested in Python; standard-library limits |
n8n-code-tool |
The AI-agent-callable Custom Code Tool (toolCode) - returns a string, no $fromAI/$input |
n8n-error-handling |
Webhook/API or unattended workflows; wiring error outputs; retries; 4xx/5xx response shapes; silent failures |
n8n-binary-and-data |
Files, images, PDFs, attachments, uploads/downloads, vision; passing a file to/from an agent tool |
n8n-subworkflows |
Reusable / multi-step builds; Execute Workflow; extracting shared logic; Define-Below inputs; all-vs-each; exposing a workflow as an agent tool |
n8n-agents |
AI Agent / LLM-with-tools / Text Classifier; tool design & $fromAI; system prompts; structured output; memory; RAG; human review; chat bots |
n8n-multi-instance |
Accounts with multiple instances (the n8n_instances tool is present); switching the target instance; verifying before credential writes; recovering from an unexpected NOT_FOUND, wrong/empty reads, or an INSTANCE_AMBIGUOUS credential-write fail-close |
n8n-mcp tools - working knowledge from turn one
Qualified names look like mcp__<server>__<tool> (<server> is usually n8n-mcp). This
closes the gap where a tool's full description isn't loaded until first use.
Discovery & docs
tools_documentation- meta-docs for every tool;{topic:"ai_agents_guide", depth:"full"}for the agent guide.search_nodes- find nodes by keyword.get_node- node info. Takes a single SHORT-formnodeType(nodes-base.httpRequest,nodes-langchain.agent), plusdetail(minimal/standard/full) andmode(info/docs/search_properties/versions).validate_node- validate one node's config in isolation (profiles: minimal/runtime/ai-friendly/strict).search_templates/get_template- the template library (by keyword, nodes, task, metadata).
Build & edit
n8n_create_workflow- create from full workflow JSON.n8n_update_partial_workflow- incremental diff ops ({id, operations:[…]}): addNode, updateNode, patchNodeField, addConnection, activateWorkflow, etc. Preferred for edits.n8n_update_full_workflow- full replacement.n8n_autofix_workflow- auto-fix common issues.n8n_deploy_template- deploy a template to the instance.
Validate (necessary, not sufficient - always pair with the antipattern scan)
validate_workflow- full JSON in, errors/warnings/fixes out. Node types here are LONG form (n8n-nodes-base.set).n8n_validate_workflow- validate a deployed workflow by{id}(no node JSON to inspect).
Inspect & lifecycle
n8n_get_workflow- fetch a workflow (full / structure / active / filtered / minimal). Use it to verifyconnectionsafter edits;mode="filtered"+nodeNamesreads one heavy node (e.g. long Code source) without pulling the whole workflow, which can truncate client-side.n8n_list_workflows- list/filter (search before duplicating logic).n8n_delete_workflow,n8n_workflow_versions(history/rollback),n8n_instances(multi-instance accounts only: list/switch the target instance - seen8n-multi-instance),n8n_health_check(returns the resolvedinstanceName).
Test & run
n8n_test_workflow- runs real nodes (Code, HTTP, DB writes, sends all fire). Ask the user before running when side effects exist.n8n_executions- list/inspect executions. There is noexecute_workflowtool.n8n_evaluations- read evaluation test runs (n8n ≥ 2.30): list runs, aggregated metrics, per-case results. Read-only - runs are started from the n8n editor, not the API; a 403 usually means the API key predates 2.30 (re-create it for the testRun scopes).
Data, credentials, audit
n8n_manage_datatable- Data Table CRUD, filtering, dry-run.n8n_manage_credentials- credential CRUD +getSchemadiscovery.n8n_audit_instance- security audit (hardcoded secrets, unauthenticated webhooks, error-handling gaps).
Node-type form trap:
get_node/validate_nodetake SHORT form (nodes-base.set);
workflow JSON insidevalidate_workflow/n8n_create_workflowuses LONG form
(n8n-nodes-base.set). Mixing them is a common, silent mistake - seen8n-mcp-tools-expert.
The protocol, in order
- Recognize the matching skill from the index and invoke it before the first MCP call.
- Skim
tools_documentationonce per session to refresh the tool surface if you're unsure. get_nodebefore configuring any node - read the live schema, don't assume.- Build / edit, then
validate_workflowbefore activating andn8n_get_workflowafter to checkconnections. - Surface any drift you notice (missing tool, changed parameter, diverging behavior).
When in doubt
- Can't find a workflow the user built in the UI? The most common cause is per-workflow
MCP access being off. Ask them to open it in n8n, go to Settings, and enable MCP access. - User says it's broken? Believe them. Re-check parameters against
get_node, trace
data references, inspect the execution. Seen8n-validation-expert. - No skill fits and the task is non-trivial? Ask before guessing.
These are opinionated best practices, not laws. Disagree with a call? It's all markdown -
edit the skill.
Example
request: Build a webhook that validates input, calls an API, and returns structured errors.
specialists: [n8n-workflow-patterns, n8n-node-configuration, n8n-error-handling]
sequence:
- inspect the target instance and live node schemas
- build and validate the graph
- preview side effects and obtain approval
- write changes, fetch the saved workflow with n8n_get_workflow, and revalidate
- activate and test only after approval
Limitations
- The router describes a moving n8n MCP surface; live tool schemas and the target instance override stale examples.
- Availability of lifecycle, credential, evaluation, and multi-instance tools depends on server version and permissions.
- Routing to a specialist skill does not authorize mutations, executions, activation, deletion, or credential changes.
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.