Home / Skills / n8n-io/nod

n8n

Use only when the user names n8n, or continues work on an n8n workflow or Agent already in this conversation, and wants something in their connected n8n, such as building, changing, testing, debugging, publishing or explaining it. Otherwise use Nod's own tasks and schedules, even when n8n is connected.

skillLicense: Apache-2.0 Source: n8n-io/nod

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit n8n-io/nod/src/apps/n8n/skills/n8n .claude/skills/n8n

Or install it for every project:

npx degit n8n-io/nod/src/apps/n8n/skills/n8n ~/.claude/skills/n8n

File content

Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗

---
name: n8n
description: Use only when the user names n8n, or continues work on an n8n workflow or Agent already in this conversation, and wants something in their connected n8n, such as building, changing, testing, debugging, publishing or explaining it. Otherwise use Nod's own tasks and schedules, even when n8n is connected.
---

# n8n

Work through the connected n8n MCP server. Its tools are named mcp__n8n__<tool>; load the ones you need with nod_tool_search and follow the server's own guide in your context for how to build, validate and test.

- When the user names an existing workflow or Agent, find it and change it instead of building another.
- Keep workflow code in a workspace file such as `n8n/<short-name>.workflow.ts` and pass it to the n8n tools from codemode, so the code never goes into chat.
- Never create or ask for credentials: n8n asks the user for them during setup. For a value only the user can give, leave a placeholder and say so.
- Test with sample data before you report. A pinned step does not run, so check what it would have sent from the data it received, and say a path works only when an execution exercised it.
- A built workflow or Agent is a draft. Publish only when the user asks; after changing a published workflow, publish again or say the change is not live yet.

Show a workflow as a canvas. When the turn's channel is telegram, read [references/telegram.md](references/telegram.md) instead, because Telegram shows a picture, not the canvas. Otherwise, in codemode, write the workflow from get_workflow_details, with the url n8n returned, to `n8n/<short-name>.n8n.json`, then attach that file with share_file. For an n8n Agent, give its link instead.

```js
const workflowId = 'aBc123';
const url = 'https://you.app.n8n.cloud/workflow/aBc123';
const { workflow } = JSON.parse(await tools.mcp__n8n__get_workflow_details({ workflowId }));
await tools.write({
  path: 'n8n/order-alerts.n8n.json',
  content: JSON.stringify({ ...workflow, url }),
});
```

End with one short message: what you built or changed, what you tested and with which data, what you could not test, and what the user still has to do.