agentleFS
tmolavitmolavi/n8n-agent-skills/skills/n8n-agents/SKILL.md

n8n-agents

Skill1 starsChanged 3 months agoMITView on GitHub

Use when building n8n AI Agent / LangChain clusters — tools, memory, RAG, structured output, system prompts, sub-workflow-as-tool, or fixing agent connection topology (ai_languageModel, ai_tool, ai_memory).

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep business policies explicit (PII, refunds, legal)

    line 37
  2. Distinctive:

    Prefer structured output parser over "please return JSON"

    line 38

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

n8n AI Agents

Author: Taghi Molavi

Topology (critical)

AI Agent is a cluster, not a single node:

  • Chat model → connection type ai_languageModel
  • Tools → ai_tool (HTTP tools, Code tools, Workflow tools, Vector retrieve, …)
  • Memory → ai_memory
  • Output parser → ai_outputParser when structured JSON required

Missing language model = agent that cannot run. Lint should catch this.

Tool quality = prompt quality

Tool names and descriptions are part of the system prompt. Vague tools → tool thrash.

Good description:

create_draft_invoice — Create a draft invoice in Stripe for an existing customer_id. Input: customer_id (string), line_items (array of {price_id, quantity}). Does not finalize or charge.

Bad: helper — does stuff with billing.

System prompt design

  • Role, tools available, refusal rules, output format
  • Keep business policies explicit (PII, refunds, legal)
  • Prefer structured output parser over "please return JSON"

Patterns

PatternWhen
Router agent + specialist sub-agentsMulti-domain support
Sub-workflow as toolReuse audited business logic
RAG retrieve → agentDocs/help centers
Human review gateIrreversible actions
Memory windowMulti-turn chat widgets

Safety

  • Destructive tools require confirmation tool or human-in-the-loop
  • Separate staging tools/credentials
  • Log tool calls for audit

References

  • references/TOOLS.md
  • references/RAG_AND_MEMORY.md
  • references/STRUCTURED_OUTPUT.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.