Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

n8n-agents

Skill by czlonkowski

Designs n8n AI agents and the LangChain nodes around them. It helps builders choose between an AI Agent, an LLM chain, a text classifier or an information extractor, and wire their model, memory, tool and output parser slots.

  • Score 94
  • 23k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install n8n-agents

Built from the published package, never by AI.

git clone --depth 1 https://github.com/czlonkowski/n8n-mcp /tmp/n8n-mcp && mkdir -p ~/.claude/skills && cp -r /tmp/n8n-mcp/data/skills/n8n-agents ~/.claude/skills/n8n-agents

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install n8n-agents in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a design guide for n8n AI agents built with the @n8n/n8n-nodes-langchain nodes. It explains when to use an AI Agent node instead of a basic LLM chain, a text classifier, an information extractor or a summarization chain. It describes the model, memory, tools and outputParser slots, and how each sub-node connects to the agent through its ai_* connection type.

It also covers writing tool names and descriptions as prompts, structured output with autoFix, memory keyed by sessionId, RAG, human review of tool actions and chat topologies. It is aimed at developers building or editing AI nodes in n8n workflows, and it points to related n8n skills for workflow patterns, sub-workflows and code tools.

Written from the project's SKILL.md and checked against it.

What it can do

  • Node choiceHelps decide between an AI Agent, a basic LLM chain, a text classifier, an information extractor or a summarization chain.
  • Sub-node slotsExplains the model, memory, tools and outputParser slots and how they connect to the agent.
  • Tool designCovers tool names and descriptions as part of the prompt, and the four tool types.
  • Dynamic parametersExplains how $fromAI() lets the agent fill tool parameters and which values to set deterministically.
  • Structured outputCovers JSON Schema output parsing with autoFix and a coding-capable fixer model.
  • MemoryExplains buffer window memory and keying conversations with a stable sessionId.
  • Human reviewDescribes gating tools with user-visible side effects behind an approval step.

What you need

  • n8n
  • A chat model provider for the model sub-node, such as OpenAI, Anthropic or OpenRouter

Try asking

  • Should I use an AI Agent or a basic LLM chain for this n8n workflow?
  • Write a clear description for my n8n tool that looks up customer orders.
  • Set up structured JSON output with autoFix in my n8n AI agent.

Good to know

  • Default tool-call limits and memory window sizes are low and need to be raised for real use, according to the source.
  • Custom code tools follow a separate runtime contract covered by another skill.
  • Media generation should use the provider's own node, not an agent.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: data/skills/n8n-agents/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • CHAT_AGENT_PATTERNS.md13 KB
  • EXAMPLES.md19 KB
  • HUMAN_REVIEW.md9 KB
  • MEMORY.md8 KB
  • RAG.md6 KB
Show all 11 files
  • README.md8 KB
  • SKILL.md27 KB
  • STRUCTURED_OUTPUT.md7 KB
  • SUBWORKFLOW_AS_TOOL.md9 KB
  • SYSTEM_PROMPT.md7 KB
  • TOOLS.md11 KB

Alternatives to n8n-agents

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

n8n-agents: common questions

When should I use an AI Agent instead of a basic LLM chain?

The source says to use an AI Agent when the task needs tool calls, multiple turns or memory. For one-shot text in and text out with no tools, it suggests a basic LLM chain, which is easier to debug.

Why does my agent skip a tool I added?

The source says the model picks a tool by reading only its name and description. A tool with a vague name and an empty description may be skipped or misused.

What does autoFix do in structured output?

It lets the output parser repair malformed JSON using a second model. The source recommends a coding-capable fixer model, because without autoFix one bad response can halt the workflow.

How do I install n8n-agents?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is n8n-agents free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is n8n-agents safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to n8n-agents?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

n8n-agents Install

Add to stack

Loading.