N8n Agents skill for Claude

Design n8n AI agents the right way.

When Claude uses it

Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain, Text Classifier, or Information Extractor — and whenever the user mentions AI agents, LLM with tools, tool calling, $fromAI, system prompts, agent memory, sessionId, structured/JSON output, output parser, RAG, vector store, a chat assistant/bot, or human-in-the-loop review. Covers Agent-vs-chain-vs-classifier choice, the model/memory/tools/outputParser slots, tool names/descriptions as prompt, structured output with autoFix, memory, RAG, human review, and chat topologies.

N8n Agents SKILL.md

A preview of the skill file from WilkoMarketing/antigravity-n8n-skills.

n8n Agents

The n8n AI Agent node (@n8n/n8n-nodes-langchain.agent) is a multi-turn LLM driver with sub-nodes for the model, memory, tools, and an optional output parser. This skill is the deep guide to designing agents and the LangChain family around them. For the high-level "where an agent fits in a workflow" picture, see n8n-workflow-patterns ai_agent_workflow.md — this skill goes one level down into how to build it well.

For node-type formats: in workflow JSON the LangChain nodes use the long @n8n/n8n-nodes-langchain.* form (.agent, .lmChatOpenAi, .memoryBufferWindow, .outputParserStructured, .toolWorkflow, .toolHttpRequest, .toolCode). When you call get_node / validate_node, use the short form (nodes-langchain.agent). See n8n-mcp-tools-expert for the format rules.


Pick the right node first

Reaching for an Agent when the task is one-shot classification or extraction is the most common over-build. Decide before you wire anything:

You need to…UseWhy
Call tools, reason over multiple turns, or hold memoryAI Agent (.agent)The full loop: model + tools + memory + optional parser. Also a fine default when you'd rather standardize.
One-shot text in → text out, no toolsBasic LLM Chain (.chainLlm)No agent loop, easier to debug. Still accepts an outputParserStructured sub-node.
Route a natural-language input to one of N branchesText Classifier (.textClassifier)ONE node, N output handles, downstream wires directly into each. Not Agent + Switch.
Pull structured fields out of free textInformation Extractor (.informationExtractor)Purpose-built field extraction with a schema.
3-way positive/neutral/negative splitSentiment Analysis (.sentimentAnalysis)Built-in branch outputs.
Condense a long documentSummarization Chain (.chainSummarization)Map-reduce summarization built in.
Generate an image / audio / videoThe provider's native single-call node (OpenAI, Gemini, ElevenLabs…)NEVER wrap media generation in an Agent — see "Binary and the agent boundary".

Text Classifier detail (the Agent + Switch anti-pattern): every category needs both a name AND a description. The model routes against the description, not the name — a category with no description gets picked by coin-flip. Set options.enableAutoFixing: true for robustness on edge inputs. One node, N branches, done. Reaching for an Agent that "decides" then a Switch that "routes" is two nodes plus prompt boilerplate for what Text Classifier does natively.

Chat-model nodes (.lmChatOpenAi, .lmChatAnthropic, .lmChatOpenRouter, …) are sub-nodes — they don't run standalone. They wire into a chain, agent, classifier, or extractor via the ai_languageModel connection.

Read the full SKILL.md on GitHub →

How to install N8n Agents

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit WilkoMarketing/antigravity-n8n-skills/n8n-agents#main ~/.claude/skills/n8n-agents

Codex

npx degit WilkoMarketing/antigravity-n8n-skills/n8n-agents#main ~/.codex/skills/n8n-agents

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the N8n Agents skill do?

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain, Text Classifier, or Information Extractor — and whenever the user mentions AI agents, LLM with tools, tool calling, $fromAI, system prompts, agent memory, sessionId, structured/JSON output, output parser, RAG, vector store, a chat assistant/bot, or human-in-the-loop review. Covers Agent-vs-chain-vs-classifier choice, the model/memory/tools/outputParser slots, tool names/descriptions as prompt, structured output with autoFix, memory, RAG, human review, and chat topologies.

+How do I install N8n Agents in Claude Code?

Copy the skill folder into ~/.claude/skills/n8n-agents, for example with "npx degit WilkoMarketing/antigravity-n8n-skills/n8n-agents#main ~/.claude/skills/n8n-agents". Claude Code loads it automatically and uses it when a task matches.

+Does N8n Agents work with ChatGPT or Codex?

Yes. N8n Agents uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/n8n-agents. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is N8n Agents free?

N8n Agents is published on GitHub by WilkoMarketing. The repository does not declare a license, so check with the author before reusing it.

Related ai agents & skills skills

  1. Grill Me

    A relentless interview to sharpen a plan or design.

    mattpocock/skills★ 327k
  2. Skill Creator

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    anthropics/skills★ 197k
  3. Caveman

    Terse caveman voice: answer first, fluff gone, every technical fact kept.

    JuliusBrussee/caveman★ 121k
  4. N8n Mcp Tools Expert

    Expert guide for using n8n-mcp MCP tools effectively. Use when searching for nodes, validating configurations, accessing templates,…

    WilkoMarketing/antigravity-n8n-skills★ 108
  5. Using N8n Mcp Skills

    Use when building, editing, validating, testing, or debugging an n8n workflow through the n8n-mcp MCP server — designing a flow,…

    WilkoMarketing/antigravity-n8n-skills★ 108
  6. Llm Council

    Multi-LLM collaborative brainstorming and planning. Use when user explicitly requests consultation with multiple AI models (ChatGPT,…

    gcpdev/llm-council-skill★ 506
  7. Llm Wiki

    Use when building or maintaining an Obsidian second brain that an LLM keeps up to date, or when ingesting a paper, article or book into it.

    alirezarezvani/claude-skills★ 30k
  8. Grill With Docs

    A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

    mattpocock/skills★ 327k
  9. Brainstorming

    You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning…

    obra/superpowers★ 319k

See all ai agents & skills skills →

More skills from WilkoMarketing

  1. N8n Binary And Data

    Handle files and binary data in n8n correctly. Use when working with files, images, PDFs, attachments, uploads or downloads, base64,…

    WilkoMarketing/antigravity-n8n-skills★ 108
  2. N8n Code Javascript

    Write, review, or debug JavaScript in an n8n Code node. Use when a Code node is already in the workflow (editing it, fixing an error,…

    WilkoMarketing/antigravity-n8n-skills★ 108
  3. N8n Code Python

    Write Python in n8n Code nodes (native Python, `language` pythonNative, n8n 2.x).

    WilkoMarketing/antigravity-n8n-skills★ 108

All skills by WilkoMarketing →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.