N8n Agents Official 标志

N8n Agents Official

组织
n8n-io
n8n-agents-official

Use when the user wants an agent, assistant, or bot in n8n, or is building, editing, testing, publishing, or debugging a first-class n8n Agent. Covers choosing an Agent vs a workflow vs the AI Agent node, the Agent MCP tools (create_agent, mutate_agent, validate_agent, call_agent, publish_agent, update_agent_integration), Agent config JSON, tools and approvals, skills, sub-agents, model routing, knowledge files, vector stores, memory and sessions, Slack / Telegram / Discord / Linear / n8n Chat channels, scheduled tasks, the Message an Agent node, and reading Agent sessions and traces. Triggers on "build me an agent", "assistant", "chatbot", "Slack bot", "Telegram bot", "agent skills", "sub-agent", "knowledge base", "agent memory", "session", "Message an Agent", "publish the agent", or any Agent tool call.

Add to TypingMind

概览

发布者n8n-io
代码仓库skills
技能名称n8n-agents-official
星标数
551
复刻数
80
附带文件
12
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 12 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 n8n-io 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 N8n Agents Official AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/n8n-io/skills/tree/main/skills/n8n-agents-official
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/n8n-io/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/n8n-agents-official .claude/skills/n8n-agents-official
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 N8n Agents Official,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 N8n Agents Official。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 N8n Agents Official 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

n8n Agents

A first-class n8n Agent is a saved resource with its own instructions, model, tools, skills, sub-agents, memory, channels, scheduled tasks, versions, and spend limits. It is configured as JSON through the Agent MCP tools, never with Workflow SDK code. The AI Agent node inside a workflow is a different thing, covered by n8n-ai-nodes-official.

Agents are generally available. The UI shows a Preview tag because they change often and some features you might expect aren't there yet. They aren't ready for Enterprise yet: an Enterprise instance may have them enabled, but don't assume it. If create_agent isn't in your tool list, Agents aren't enabled on this instance. Say so and offer a workflow instead of guessing.

Non-negotiables

  1. Always send a memory block when creating over MCP: "memory": { "enabled": true, "storage": "n8n" }. The UI adds it on every save. create_agent saves exactly what you send, and without it the Agent forgets the previous turn even inside one session (verified live).
  2. Never publish without the user's explicit OK. A built Agent is a draft. Configuring a channel on an already published Agent connects it immediately, so confirm that too.
  3. Publish what the Agent calls. Workflow tools need a When Executed by Another Workflow trigger, the same project, and a published workflow (validate_agent reports it). Saved sub-agents must be published too, and nothing checks that: validation and publishing pass, then production delegation fails and the parent quietly answers on its own.
  4. Approval on anything that sends, changes, deletes, or spends, and know what the approver will see. See references/APPROVALS.md.
  5. One mutate_agent per change, always with the latest configHash. A stale hash returns stale_config: call get_agent and retry.

Agent, workflow, or AI Agent node?

Decide before calling any build tool. The first question is the "say it out loud" test.

You can...Build
Say every step before the request arrives, none needs judgmentWorkflow
Say every step, one needs judgment (label, extract, summarize, write)Workflow with an AI step: Text Classifier, Information Extractor, chain, or AI Agent node (n8n-ai-nodes-official)
Not say the steps until you see the request, and people talk to it or it acts on its ownFirst-class n8n Agent
Not say the steps, but one of the limits below appliesAI Agent node in a workflow
Not say the steps, and a fixed pipeline also needs the same brainFirst-class Agent, called from the workflow with Message an Agent. The agent decides, the workflow acts

"Build me an agent" or "assistant" means a first-class Agent unless a limit applies. A Chat Trigger plus an AI Agent node is not a substitute for a requested Agent. If a request is really a fixed trigger plus fixed steps, explain the mismatch and ask before building a workflow instead.

Current limits that point to the AI Agent node

NeedWhy an Agent can't do it todayUse instead
Custom approval message, or the approver must see the parameters in SlackApproval is on/off with a fixed message. Channel cards show the tool name onlyA workflow tool that runs its own send-and-wait approval with the values (can post in the same Slack thread)
Trigger or node data mapped exactly into a tool parameterTool expressions only see the model's own arguments (verified live for node and workflow tools)AI Agent node, or Message an Agent with structured output and downstream nodes doing the mapping
One conversation shared by a native channel and workflowsChannel threads and Message an Agent session keys live in separate namespacesA shell workflow on the platform's trigger, calling the Agent with Message an Agent
Approval inside a Message an Agent callFails with "Suspend/resume is not supported in workflow execution context"Gate the action in the calling workflow

MCP build sequence

  1. get_agent_builder_reference once. Its configSchema is the source of truth for field names; trust it over this skill when they differ.
  2. search_projects, then discover_agent_assets (models, integrations, workflows, subagents, mcpServers), list_credentials, and search_nodes with usage: "agentTool" + get_node_types for node tools.
  3. create_agent with model, credential, instructions, memory block, and ordinary tools. Skills, tasks, and custom tools come after, through mutate_agent, because they need server-generated ids.
  4. mutate_agent, one operation per call. skill.upsert doesn't change configHash; config patches do.
  5. validate_agent until valid: true and missing is empty.
  6. One representative call_agent. It runs the draft through Preview with real tools, so side effects happen: if any tool without approval sends, writes, or pays, ask the user before the test. Every returned approval goes to the human; resume each with its continuation.
  7. Report the draft with the url from validate_agent, plus the session link (see references/SESSIONS_AND_DEBUGGING.md), and ask whether to publish.
  8. publish_agent only on an explicit yes. Channels: update_agent_integration (references/CHANNELS.md).

Details on every operation, error code, and version tool: references/MCP_BUILD.md.

Where depth lives

FileRead when
references/MCP_BUILD.mdAny mutate_agent operation, error codes, versions, revert, delete, availableInMCP
references/CONFIG.mdWriting or reviewing Agent JSON: every field, limits, defaults, what is versioned
references/TOOLS.mdNode, workflow, custom, MCP server, and built-in tools, input modes, what expressions can see
references/APPROVALS.mdAdding approval, what each surface shows, where approval can't happen, custom approval through a workflow tool
references/SKILLS.mdAdding Agent skills: how loading works, writing descriptions, references
references/SUB_AGENTS.mdDelegation, saved vs inline sub-agents, model routing by difficulty
references/KNOWLEDGE.mdUploaded knowledge files vs external vector stores
references/MEMORY.mdMemory kinds, session scopes, session keys
references/CHANNELS.mdSlack, Telegram, Discord, Linear, n8n Chat, or "native channel or shell workflow?"
references/TASKS.mdScheduled tasks
references/MESSAGE_AN_AGENT.mdCalling an Agent from a workflow
references/SESSIONS_AND_DEBUGGING.mdAnything went wrong, or the user asks where to see what the Agent did

For a chat bot built as a workflow shell (platforms without a native channel, slash commands, custom routing), the shell patterns live in n8n-ai-nodes-official references/CHAT_SURFACE_PATTERNS.md, section "Core as Message an Agent". Its one rule that can't wait: on surfaces that deliver the bot's own messages (Slack, Discord), a shell that posts replies must filter out the bot's user ID right after the trigger, or it triggers itself forever.

Writing instructions

Instructions are the system prompt. Same split as the node: persona, rules, output format, and inter-tool flow go in instructions; how to call a specific tool goes in that tool's description. Long procedures the Agent needs only sometimes belong in a skill, which costs tokens only when loaded. Say where to deliver results ("post the summary in #ops"), because a scheduled run has no one to reply to.

Anti-patterns

Anti-patternWhat goes wrongFix
create_agent without memoryAgent forgets the previous turn even in one sessionSend { "enabled": true, "storage": "n8n" }
Chat Trigger + AI Agent node when the user asked for an agentLoses channels, sessions, approvals, versions, tasks, and budgetsFirst-class Agent, unless a limit applies
Publishing because validation passedThe user didn't approve a live Agent, and channels go live with itReport the draft and ask
Saved sub-agent left unpublishedProduction delegation fails silently; the parent answers without itPublish children before the parent goes live
Expression in a tool input that reads $('Webhook') or $json.<trigger field>Only the model's arguments are visible, so the value is empty or wrongPass it through the message, or keep the mapping in a workflow
Approval on a tool the Agent calls under Message an Agent or a taskRun fails, or parks with no one to answerGate in the calling workflow; give tasks only safe tools
Same Message an Agent session key for two Agents in a project (e.g. both keyed on a bare Telegram id)Keys are project-wide, not per Agent: the second Agent fails with "Failed to create the agent execution record"Prefix keys per Agent: support-<telegramId>
Skill body says "read references/x.md" vaguelyThe model often skips it"Load references/x.md with load_skill (filePath) before answering"
Integrations set through config.patchRejectedupdate_agent_integration
Slack connected with a credential built for a Slack TriggerPasses every check, receives nothingManaged setup, or an app whose request URL points at this Agent

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

N8n Agents Official AI 技能有什么作用?

Use when the user wants an agent, assistant, or bot in n8n, or is building, editing, testing, publishing, or debugging a first-class n8n Agent. Covers choosing an Agent vs a workflow vs the AI Agent node, the Agent MCP tools (create_agent, mutate_agent, validate_agent, call_agent, publish_agent, update_agent_integration), Agent config JSON, tools and approvals, skills, sub-agents, model routing, knowledge files, vector stores, memory and sessions, Slack / Telegram / Discord / Linear / n8n Chat channels, scheduled tasks, the Message an Agent node, and reading Agent sessions and traces. Trigg...

为什么在 TypingMind 中使用 N8n Agents Official?

因为您只需安装一次,就能搭配任何模型使用。N8n Agents Official 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 N8n Agents Official?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/n8n-io/skills/tree/main/skills/n8n-agents-official。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 N8n Agents Official?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

N8n Agents Official 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 N8n Agents Official 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

N8n Agents Official AI 技能免费吗?

是的。n8n-io 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇