Agent skill

N8n Multi Instance

by sickn33 in sickn33/agentic-awesome-skills

Select, verify, and safely switch n8n MCP instances across production, staging, teams, or clients, especially before credential writes.

MITAuto-check passedProductivity & Automation

Install N8n Multi Instance

skills CLI
$ npx skills add sickn33/agentic-awesome-skills --skill n8n-multi-instance -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sickn33/agentic-awesome-skills n8n-multi-instance --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/n8n-multi-instance .claude/skills/n8n-multi-instance && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
n8n-multi-instance
GitHub stars
47k
Used in
1 other repo
Token cost
~3.3k tokens
SKILL.md length
1,588 words
Files
1
Skills in repo
1,394
Repo updated
First seen
Licence
MIT

At a glance

Select, verify, and safely switch n8n MCP instances across production, staging, teams, or clients, especially before credential writes.

  • Works in 6 steps: Discover first. Call… → Switch by name to your target before… → Switch in its own turn. Never put a… → …
  • Tasks that involve Workflow automation
  • SKILL.md covers When to Use, Golden rules, Core workflow and The n8n_instances tool, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

N8n Multi Instance is an agent skill from sickn33/agentic-awesome-skills. Select, verify, and safely switch n8n MCP instances across production, staging, teams, or clients, especially before credential writes.

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation, covering Workflow automation. It works with n8n and Model Context Protocol. The repository describes itself as: AAS Core is the local, agent-first control plane for complete catalog discovery, agent-owned selection, stack validation, and planning, backed by 2,400+ agentic skills. Includes… The licence is MIT.

When your agent uses it

  • Tasks that involve Workflow automation

Example prompts

  • “/n8n-multi-instance”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Discover first. Call n8n_instances({mode:"list"}) before acting so you know the instance
  2. Switch by name to your target before doing work on a non-default instance
  3. Switch in its own turn. Never put a switch and a dependent operation in the **same
  4. Verify before high-stakes ops. Immediately before creating/updating/deleting credentials
  5. An unexpected NOT_FOUND is almost always a wrong-instance misroute, not a deletion. Don't
  6. On INSTANCE_AMBIGUOUS, switch on this session, then retry. The system is refusing to

What it can do on your machine

Read from SKILL.md and the folder at commit 1e53ce2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

N8n Multi Instance loads about 3.3k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 1,588 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sickn33/agentic-awesome-skills at commit 1e53ce2, republished under its MIT licence (© sickn33). 1,588 words, ~3,302 tokens.

Download SKILL.mdSave it as .claude/skills/n8n-multi-instance/SKILL.md (or your agent's skills folder).
name
n8n-multi-instance
description
Select, verify, and safely switch n8n MCP instances across production, staging, teams, or clients, especially before credential writes.
risk
critical
source
https://github.com/czlonkowski/n8n-skills/tree/main/skills/n8n-multi-instance
source_repo
czlonkowski/n8n-skills
source_type
community
date_added
2026-07-21
author
Romuald Czlonkowski
license
MIT
license_source
https://github.com/czlonkowski/n8n-skills/blob/main/LICENSE

Working with multiple n8n instances over MCP

When to Use

Use this skill whenever one MCP connection can target multiple n8n instances, before instance-specific reads or writes, and whenever results suggest the session is aimed at the wrong environment.

Resolve the target by stable instance ID, verify it with a read-only health check, and state the resolved environment before mutations. Require explicit confirmation for credential create/update/delete operations, never print secret values, and stop on ambiguous targeting rather than guessing.

When the n8n_instances tool is available, the user has multi-instance mode on: one MCP connection can reach several n8n instances (e.g. prod, staging, or one per client/team). Every other n8n tool (n8n_get_workflow, n8n_list_workflows, n8n_update_partial_workflow, n8n_manage_datatable, n8n_manage_credentials, n8n_executions, n8n_test_workflow, …) runs against whichever instance this session is currently targeting. There is no per-call instance argument: you change the target only by switching. Target the wrong instance and a read returns the wrong data and a write lands in the wrong place — usually with no error (the one exception is an ambiguous credential write, which fails closed; see below). So target deliberately.

If the n8n_instances tool is not present, the account is single-instance: ignore this skill and use the n8n tools directly.

Golden rules

Six rules. Each prevents a class of silent misroute.

  1. Discover first. Call n8n_instances({mode:"list"}) before acting so you know the instance names and which one is current.
  2. Switch by name to your target before doing work on a non-default instance: n8n_instances({mode:"switch", name:"<instance name>"}). The match is case-insensitive.
  3. Switch in its own turn. Never put a switch and a dependent operation in the same parallel tool-call batch. Calls in one batch have no guaranteed order, so the dependent call can be resolved against the previous instance before the switch's session state is visible. Switch, let it return, then operate.
  4. Verify before high-stakes ops. Immediately before creating/updating/deleting credentials (and before destructive workflow edits), confirm current is the instance you intend — primary check is n8n_instances({mode:"list"}). The system fail-closes only the ambiguous credential case (rule 6); an explicit switch to the wrong instance still writes there silently, so this check is on you.
  5. An unexpected NOT_FOUND is almost always a wrong-instance misroute, not a deletion. Don't recreate the object. Re-check the current instance and retry (see Recovery).
  6. On INSTANCE_AMBIGUOUS, switch on this session, then retry. The system is refusing to write a secret because this session never picked a target itself. Comply — run switch here to confirm the instance, then retry the write. Don't work around it or retry blindly.

Core workflow

1. n8n_instances({mode:"list"})                      # see available[] + current + default
2. n8n_instances({mode:"switch", name:"prod"})       # bind THIS session to "prod"
   → returns { previous, current }; confirm current.name == "prod"
3. (do your work) n8n_list_workflows / n8n_get_workflow / n8n_manage_datatable / ...
4. Before a credential write or a delete:
   n8n_instances({mode:"list"})  → re-confirm current, THEN n8n_manage_credentials({action:"create", ...})

To move to another instance, just switch again. The whole session follows the switch.

The n8n_instances tool

Two modes (mode is required and enum-validated):

  • {mode:"list"} → { current, default, available }, no side effects.
    • current and default are each one instance { id, name, url, isDefault } (or null).
    • available is every instance, each with an extra isCurrent boolean. Match by name; never hard-code id.
  • {mode:"switch", name:"<name>"} → { previous, current }, and binds this session to the named instance. name is case-insensitive.
Error envelope (from the n8n_instances tool)

Every error returns { error: "<CODE>", message, … }. The ones you'll actually hit:

CodeWhenWhat to do
UNKNOWN_INSTANCEname matches no instancePick a name from the available list in the error payload and retry.
NAME_REQUIREDswitch with no nameRe-call with a name (the error lists the valid ones in available).
MULTI_INSTANCE_DISABLEDmulti-instance mode is offThere's nothing to switch; use the n8n tools directly. The user can enable it at the n8n-mcp dashboard.
NO_SESSIONthe request has neither an MCP session id nor a credential idA selection has nowhere to land. Reconnect / initialize a session, then switch.
UNKNOWN_MODEmode wasn't list/switchUse list or switch.
INVALID_CONTEXTserver-side metadata missingA server bug, not your input — report it.

Instance names can never be default, current, list, or switch (reserved), so you'll never see an instance literally named after a mode or field.

INSTANCE_AMBIGUOUS (from the credential-write path, not the tool)

A separate, higher-stakes error. It is not returned by n8n_instances — it's returned by the server when you call n8n_manage_credentials to create/update/delete a credential and the target instance is ambiguous: this session never switched on its own but inherited a switch made elsewhere (a fan-out / reconnect), pointing at a non-default instance. Rather than risk writing a secret to the wrong instance, the server blocks the write (it never reaches n8n, no quota is charged) and returns:

json
{
  "error": "INSTANCE_AMBIGUOUS",
  "message": "… the session issuing this request never switched there itself … Re-run n8n_instances({mode:\"switch\", name:\"…\"}) on this session to confirm the target …",
  "lastSelected": { "id": "…", "name": "…" },
  "default":      { "id": "…", "name": "…" }
}

Fix: decide which instance you actually want (lastSelected is the inherited switch, default is the account default), run n8n_instances({mode:"switch", name:"…"}) on this session, then retry the write. See rule 6.

How targeting behaves (mental model)

  • A switch binds this session to the chosen instance. The binding persists for the rest of the session and survives reconnects, idle, and backend deploys (~24h, the MCP session lifetime) — you should not need to re-switch before every call.
  • Other sessions / terminals are independent: switching here does not move them.
  • One session targets one instance at a time. There is no per-call instance argument; you change the target only via switch.
  • Reads and non-credential writes route to the currently-selected instance, silently — a misroute produces wrong data or a NOT_FOUND, not an error.
  • Credential writes are the one guarded case. They route the same way, except the server fail-closes the ambiguous state (a session that never switched, recovered onto a non-default instance) with INSTANCE_AMBIGUOUS. This is a safety net, not a substitute for rule 4: an explicit switch to the wrong instance still writes there.
  • If your selected instance is deleted (the user removes it mid-session), the next call silently falls back to your default instance — no error. So default's data appearing where you expected another instance's can look like "my data vanished." Re-list to see where you are.
Show full SKILL.md (635 more words)Show less

Recovery playbook

SymptomWhat it usually meansDo this
INSTANCE_AMBIGUOUS on a credential create/update/deleteThis session never switched itself; the system won't guess which instance to write the secret toRun n8n_instances({mode:"switch", name:"<target>"}) on this session (the error names lastSelected and default — pick the one you want), then retry the write. Never retry blindly.
NOT_FOUND for a workflow/datatable/credential you know existsYou're pointed at the wrong instance — not that it was deletedn8n_instances({mode:"list"}) → check current. If it's not your target, switch and retry. Do not recreate the object.
A read returns empty or unfamiliar dataWrong-instance read, or a silent fallback to default after your instance was deletedn8n_instances({mode:"list"}), confirm current, switch if needed, re-read before drawing conclusions.
UNKNOWN_INSTANCE on switchThe name is wrong (typo, or you guessed)Read the available names in the error and switch to one of those. Names are case-insensitive.
n8n_health_check reports an instanceName you didn't expectThis session is on a different instance than you thinkswitch to the intended instance, then proceed.
Repeated misroutes within one turnYou batched a switch with dependent workSplit them: switch alone, await the result, then operate one logical step at a time.

After any recovery switch, sanity-check with n8n_instances({mode:"list"}) (read current) as the primary signal. n8n_health_check also returns the resolved instance under details.instanceName, but it can be absent on some paths (legacy/chat), so treat it as a secondary confirmation.

Credential operations (highest stakes)

Credentials hold live secrets, and a misrouted credential write puts a secret on the wrong instance. The server protects the ambiguous case automatically — if this session never picked a target and inherited a switch to a non-default instance, the write fails closed with INSTANCE_AMBIGUOUS (rule 6) and never reaches n8n. But that net is narrow: a credential write on a session that did switch goes through to whatever instance it switched to, with no second guess. So:

  • Verify current immediately before n8n_manage_credentials create/update/delete — call n8n_instances({mode:"list"}) in the same short sequence, not 10 steps earlier where a later switch could have moved you.
  • On INSTANCE_AMBIGUOUS, switch on this session to confirm the target, then retry — don't work around it.
  • Credential reads (action:"list"/"get"/"getSchema") are not gated and don't write a secret, but a read off the wrong instance returns the wrong schema or list — so still verify current if the result looks wrong.
  • For the n8n_manage_credentials tool itself (CRUD shapes, getSchema discovery, never inlining secrets into text fields), see n8n-mcp-tools-expert.

Common multi-instance task: copy something between instances

To recreate a credential or workflow from instance A on instance B:

1. switch → A;  read the source (n8n_manage_credentials get / n8n_get_workflow)
2. switch → B   (its own call — never batched with the create below)
3. n8n_instances({mode:"list"})  → confirm current == B
4. create on B  (n8n_manage_credentials create / n8n_create_workflow)

Do each instance's steps in its own turn; never overlap switch → B with the create-on-B call (rule 3), and switch explicitly on this session before the credential write so it isn't ambiguous (rules 4 and 6).

Quick reference

  • See instances + where you are: n8n_instances({mode:"list"}) → { current, default, available }
  • Change target: n8n_instances({mode:"switch", name:"<name>"}) — its own turn, then operate
  • Confirm target: current from list (primary); details.instanceName from n8n_health_check (secondary, may be absent)
  • UNKNOWN_INSTANCE → switch to a name from the error's available list, then retry
  • INSTANCE_AMBIGUOUS (credential write) → switch on this session to confirm the target, then retry
  • Unexpected NOT_FOUND → verify the instance, switch, retry; do not recreate
  • Before credential writes → re-list, confirm current, then write (the fail-close only covers the ambiguous case)

Integration with other skills

  • n8n-mcp-tools-expert — owns n8n_manage_credentials (CRUD + getSchema) and the rule that secrets go through the credential system, never text fields. This skill adds the "which instance?" layer on top.
  • using-n8n-mcp-skills — the router; consult it for which skill owns a given build step.

Limitations

  • Instance discovery and switching depend on the connected n8n MCP server exposing multi-instance tools.
  • A successful switch does not authorize mutations or prove that the selected environment is appropriate for the task.
  • Unexpected empty or missing data may have causes other than misrouting; verify before changing targets.

© sickn33, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/n8n-multi-instance of sickn33/agentic-awesome-skills.

Open the folder on GitHubat commit 1e53ce2

Used in 1 other repository

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sickn33/agentic-awesome-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

N8n Multi Instance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

N8n Multi Instance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
N8n Multi Instance this skillsickn33/agentic-awesome-skills47k1 repos~3.3kAutomated safety check: PassMIT
N8n MCP Tools Expertdavila7/claude-code-templates32k8 repos~3.2kAutomated safety check: PassMIT
Using N8n MCP Skillsczlonkowski/n8n-skills6.4k—~4.3kAutomated safety check: PassMIT
N8nericrisco/rsc-harness156—~2.6kAutomated safety check: NotesMIT
Zapierericrisco/rsc-harness156—~2.8kAutomated safety check: NotesMIT
n8n Multi-Instance Targetingczlonkowski/n8n-skills6.4k—~3.2kAutomated safety check: PassMIT

Similar skills

  • N8n MCP Tools Expert

    davila7/claude-code-templates

    Expert guide for using n8n-mcp MCP tools effectively. An agent skill from davila7/claude-code-templates.

    32k GitHub starsUsed in 8 repos~3.2k tokens
    Productivity & AutomationAuto-check passed
  • Using N8n MCP Skills

    czlonkowski/n8n-skills

    A skill your agent uses when building, editing, validating, testing, or debugging an n8n workflow through the n8n-mcp MCP server — designing a flow, configuring a node, writing an expression or Code…

    6.4k GitHub stars~4.3k tokensUpdated 21 days ago
    Productivity & AutomationAuto-check passed
  • N8n

    ericrisco/rsc-harness

    A skill your agent uses when operating a live n8n instance programmatically — its REST API ({host}/api/v1, X-N8N-API-KEY) or the n8n-mcp server — to create, validate, test, activate, update, delete…

    156 GitHub stars~2.6k tokensUpdated yesterday
    Productivity & AutomationAuto-check: notes
  • Zapier

    ericrisco/rsc-harness

    A skill your agent uses when operating Zapier from an agent through the official hosted Zapier MCP server — connecting with a bearer key, discovering an app's actions, enabling one, and invoking a…

    156 GitHub stars~2.8k tokensUpdated yesterday
    Productivity & AutomationAuto-check: notes
  • n8n Multi-Instance Targeting

    czlonkowski/n8n-skills

    Keeps an n8n MCP session pointed at the right n8n instance, with rules for discovering, switching and verifying the target before credential writes and for recovering from misroutes.

    6.4k GitHub stars~3.2k tokensUpdated 21 days ago
    Productivity & AutomationAuto-check passed
  • Agents Onboarding

    fazer-ai/agents

    Conduz a jornada de onboarding 'do zero ao agente de atendimento' do fazer.ai agents num VPS, escolhendo o orquestrador de deploy (Tier A Coolify, B Portainer, C compose genérico para VM crua ou…

    118 GitHub stars~4.4k tokensUpdated today
    Productivity & AutomationAuto-check passed

More from sickn33/agentic-awesome-skills

All 1,394 skills in this repo
  • Liuguang Banlan UI

    sickn33/agentic-awesome-skills

    Implements an interface in one of two named color modes, iridescent white or colorful black, from a parameterized starter that reports measured color intensity.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • User Thoughts Memory

    sickn33/agentic-awesome-skills

    Saves a user's project decisions, rules and preferences into a project-local mdbase so later sessions and other agents can recover the intent.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Using LWC Memory and Graphs

    sickn33/agentic-awesome-skills

    Keeps project decisions, research and verified results available across coding-agent sessions through LWC memory, a document Wiki graph and a CodeGraph code index.

    47k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Find Complementary Founders

    sickn33/agentic-awesome-skills

    Guides an agent through assessing its own owner for cofounder fit, publishing an approved profile, and ranking complementary profiles other agents published for their owners.

    47k GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check passed
  • Whatsapp Cloud API

    sickn33/agentic-awesome-skills

    Integracao com WhatsApp Business Cloud API (Meta). An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~4.5k tokens
    Auto-check passed
  • Cline Pilot

    sickn33/agentic-awesome-skills

    Acts as a proxy for the Cline CLI, dispatching coding tasks one at a time, monitoring runs by hard evidence, relaying decisions to you and learning per-project preferences.

    47k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

Questions about N8n Multi Instance

What does N8n Multi Instance do?

Select, verify, and safely switch n8n MCP instances across production, staging, teams, or clients, especially before credential writes. N8n Multi Instance is an agent skill from sickn33/agentic-awesome-skills. Select, verify, and safely switch n8n MCP instances across production, staging, teams, or clients, especially before credential writes.

When should I use N8n Multi Instance?

N8n Multi Instance fits situations like: tasks that involve Workflow automation.

How do I install N8n Multi Instance in Claude Code?

Run `npx skills add sickn33/agentic-awesome-skills --skill n8n-multi-instance -a claude-code`. Or copy the skill folder (skills/n8n-multi-instance in sickn33/agentic-awesome-skills) into .claude/skills/n8n-multi-instance in your project. Claude Code loads it when a task matches its description.

How do I install N8n Multi Instance in Codex?

Run `npx skills add sickn33/agentic-awesome-skills --skill n8n-multi-instance -a codex`. Or copy the skill folder (skills/n8n-multi-instance in sickn33/agentic-awesome-skills) into .agents/skills/n8n-multi-instance in your project. Codex loads it when a task matches its description.

Can I use N8n Multi Instance in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sickn33/agentic-awesome-skills --skill n8n-multi-instance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/n8n-multi-instance, .gemini/skills/n8n-multi-instance, .github/skills/n8n-multi-instance and .opencode/skills/n8n-multi-instance in your project.

What does N8n Multi Instance need to run?

SKILL.md names no scripts, command-line tools or credentials: N8n Multi Instance is instructions for the agent only.

Does N8n Multi Instance access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is N8n Multi Instance safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does N8n Multi Instance use?

N8n Multi Instance is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does N8n Multi Instance use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to N8n Multi Instance?

Skills that share tags, products or a category with N8n Multi Instance: N8n MCP Tools Expert (davila7/claude-code-templates, 32k stars), Using N8n MCP Skills (czlonkowski/n8n-skills, 6.4k stars), N8n (ericrisco/rsc-harness, 156 stars) and Zapier (ericrisco/rsc-harness, 156 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains N8n Multi Instance?

sickn33 (a GitHub user) maintains it in sickn33/agentic-awesome-skills, which has 47,304 GitHub stars. The repository holds 1,394 skills in this directory. The repository was last updated on October 6, 2026.

Source: sickn33/agentic-awesome-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.