Skip to content
SkillModel-led6,466 tokens in use

n8n Agents

A guide for designing n8n AI agents: which AI node to use, how to name tools, wire memory, force structured output and gate risky actions behind human review.

6,686 stars on the repository MIT Licenseczlonkowski/n8n-skills · skills/n8n-agents
/plugin install czlonkowski/n8n-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing n8n Agents costs

152tokens idle
6,466tokens in use
28,780tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter12/15
  • Structure19/25
  • Examples15/15
  • Output15/15
  • Size11/15
  • Resources13/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity88
  • Maintenance92
  • Community60
  • Maturity36
  • Momentum40

n8n Agents is a skill for Claude that goes deep on the LangChain nodes in n8n. It covers the choice between an AI Agent, a Basic LLM Chain, a Text Classifier and an Information Extractor, and the model, memory, tool and output parser slots of an agent.

It also covers tool names and descriptions as part of the prompt, the parameters an agent fills with $fromAI, structured output with autoFix, memory keys, RAG, human approval nodes, chat bot topologies and persisted agents managed through the n8n MCP tools.

What You Get

  • A decision table for AI Agent, Basic LLM Chain, Text Classifier, Information Extractor, Sentiment Analysis and Summarization Chain
  • Rules for tool names and descriptions, and for the $fromAI parameter name, description and type
  • Defaults for structured output with a manual JSON Schema, autoFix and a separate fixer model
  • Memory guidance covering the buffer window, session keys and when to use Postgres or Redis chat memory
  • Reference files for tools, sub-workflow tools, system prompts, memory, human review, chat bots, RAG and examples
  • A pre-ship checklist and an anti-pattern table

Common Use Cases

  • Building a Slack or Discord support bot as an n8n workflow with a bot-user filter to stop reply loops
  • Routing incoming text to several branches with one Text Classifier node
  • Wrapping refunds or email sends in a human approval step that shows the real tool parameters
  • Fixing an agent that skips a tool or hits the iteration cap
  • Creating and publishing a persisted n8n agent through the n8n MCP tools

What Makes It Unique

It is tied to n8n’s own node types and connection names (ai_languageModel, ai_memory, ai_tool, ai_outputParser) and to the n8n-mcp tools that build and validate them. It states opinions a general prompt guide would not: send routing to a Text Classifier, keep per-tool advice in the tool description, and show approvers the literal tool parameters. It points to sibling skills for code tools, binary data and sub-workflows.

Under The Hood

The skill is instructions plus reference markdown files, with no scripts of its own. It tells Claude to call the n8n-mcp tools, which search nodes, validate configuration, patch workflows, run test executions and read saved workflows from your n8n instance. Those calls reach your n8n server, and the persisted-agent section can create, run, validate and publish agents with real credentials, so a live call runs real tools. It tells Claude to publish only when you ask.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers