[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JEQ4BBX77JXBMAJGDM3NEY":3,"skill-same:01M6JEQ4BBX77JXBMAJGDM3NEY":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6JEQ4BBX77JXBMAJGDM3NEY","n8n-agents",null,"Design n8n AI agents the right way. Use when building or editing any @n8n\u002Fn8n-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\u002FJSON output, output parser, RAG, vector store, a chat assistant\u002Fbot, or human-in-the-loop review. Covers Agent-vs-chain-vs-classifier choice, the model\u002Fmemory\u002Ftools\u002FoutputParser slots, tool names\u002Fdescriptions as prompt, structured output with autoFix, memory, RAG, human review, and chat topologies.","S3YED\u002Fappie-kit","S3YED","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F62743867?v=4","01M6JBKBRRVP6KMS0VWZ27T3R6","01M6JBKBX0KG30284PW1DBYJT1",14,"MIT","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fmisc\u002Fn8n-agents\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"n8n agents","n8n","text","information","chain","human","classifier","node","choice","model","design","loop","JSON Output","vector","rag","ai agent","memory","ai agents","review","bot","2026-11-10 10:12:30",false,"---\nname: n8n-agents\ndescription: Design n8n AI agents the right way. Use when building or editing any @n8n\u002Fn8n-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\u002FJSON output, output parser, RAG, vector store, a chat assistant\u002Fbot, or human-in-the-loop review. Covers Agent-vs-chain-vs-classifier choice, the model\u002Fmemory\u002Ftools\u002FoutputParser slots, tool names\u002Fdescriptions as prompt, structured output with autoFix, memory, RAG, human review, and chat topologies.\n---\n\n# n8n Agents\n\nThe n8n AI Agent node (`@n8n\u002Fn8n-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*.\n\nFor node-type formats: in workflow JSON the LangChain nodes use the long `@n8n\u002Fn8n-nodes-langchain.*` form (`.agent`, `.lmChatOpenAi`, `.memoryBufferWindow`, `.outputParserStructured`, `.toolWorkflow`, `.toolHttpRequest`, `.toolCode`). When you call `get_node` \u002F `validate_node`, use the **short** form (`nodes-langchain.agent`). See **n8n-mcp-tools-expert** for the format rules.\n\n---\n\n## Pick the right node first\n\nReaching for an Agent when the task is one-shot classification or extraction is the most common over-build. Decide before you wire anything:\n\n| You need to… | Use | Why |\n|---|---|---|\n| Call tools, reason over multiple turns, or hold memory | **AI Agent** (`.agent`) | The full loop: model + tools + memory + optional parser. Also a fine default when you'd rather standardize. |\n| One-shot text in → text out, no tools | **Basic LLM Chain** (`.chainLlm`) | No agent loop, easier to debug. Still accepts an `outputParserStructured` sub-node. |\n| Route a natural-language input to one of **N branches** | **Text Classifier** (`.textClassifier`) | ONE node, N output handles, downstream wires directly into each. Not Agent + Switch. |\n| Pull structured fields out of free text | **Information Extractor** (`.informationExtractor`) | Purpose-built field extraction with a schema. |\n| 3-way positive\u002Fneutral\u002Fnegative split | **Sentiment Analysis** (`.sentimentAnalysis`) | Built-in branch outputs. |\n| Condense a long document | **Summarization Chain** (`.chainSummarization`) | Map-reduce summarization built in. |\n| Generate an image \u002F audio \u002F video | **The provider's native single-call node** (OpenAI, Gemini, ElevenLabs…) | NEVER wrap media generation in an Agent — see \"Binary and the agent boundary\". |\n\n**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.\n\nChat-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.\n\n---\n\n## The sub-node pattern\n\nThe Agent has a **main input** (the prompt \u002F user message) and up to four **sub-node slots**, each wired by its own `ai_*` connection type:\n\n| Slot | Connection type | Required? | Node example |\n|---|---|---|---|\n| **model** | `ai_languageModel` | Yes | `.lmChatOpenAi`, `.lmChatAnthropic`, `.lmChatOpenRouter` |\n| **memory** | `ai_memory` | Optional | `.memoryBufferWindow`, `.memoryPostgresChat` |\n| **tools** | `ai_tool` | Optional (but the point of an agent) | `slackTool`, `.toolWorkflow`, `.toolHttpRequest`, `.toolCode` |\n| **outputParser** | `ai_outputParser` | Optional | `.outputParserStructured` |\n\nA sub-node connects FROM itself TO the agent. In workflow JSON the connection lives on the **sub-node**, keyed by the `ai_*` type:\n\n```json\n\"Main LLM\": {\n  \"ai_languageModel\": [[{ \"node\": \"AI Agent\", \"type\": \"ai_languageModel\", \"index\": 0 }]]\n},\n\"Simple Memory\": {\n  \"ai_memory\": [[{ \"node\": \"AI Agent\", \"type\": \"ai_memory\", \"index\": 0 }]]\n},\n\"Search customer DB\": {\n  \"ai_tool\": [[{ \"node\": \"AI Agent\", \"type\": \"ai_tool\", \"index\": 0 }]]\n}\n```\n\nMultiple tools all connect into the same `ai_tool` index 0 — they stack, they don't fan into separate indices. With `n8n_update_partial_workflow` you wire each with an `addConnection` op using `sourceOutput: \"ai_tool\"`. The agent puts its final answer in **`$json.output`** (not `.text`, not `.response`) — downstream nodes read `{{ $json.output }}`.\n\nSee **EXAMPLES.md** for a complete stateless agent-core node-object snippet.\n\n---\n\n## Two non-negotiables\n\n1. **Tool names and descriptions ARE part of the prompt.** The model picks a tool by reading its name and description — nothing else. A tool named `tool1` with an empty description is invisible to the model: it skips it, mis-selects it, or hallucinates parameters. There's usually no error — just an agent that \"won't use my tool\". Treat both like API design. → **TOOLS.md**\n2. **Structured output must parse AND autoFix.** An `outputParserStructured` with `autoFix: true` and a **coding-capable fixer model** is the production pattern. Without autoFix, one malformed JSON response halts the whole workflow. → **STRUCTURED_OUTPUT.md**\n\n---\n\n## Strong defaults\n\n- **Per-tool usage goes in the tool description, not the system prompt.** Anything about *how to call this specific tool* belongs with the tool, so it travels across agents and keeps the system prompt focused. → **SYSTEM_PROMPT.md**\n- **Sub-workflow tools (`.toolWorkflow`) for anything multi-step.** Any workflow becomes a tool with typed `$fromAI()` inputs, and composes with branching, error handling, and reuse. Default here when in doubt. → **SUBWORKFLOW_AS_TOOL.md** and **n8n-subworkflows**.\n- **Wrap tools with user-visible side effects in human review.** Sends, payments, refunds, account changes get gated behind an approval node so a human signs off before the tool fires. → **HUMAN_REVIEW.md**\n- **Raise `maxIterations`.** The default tool-call cap is **low** (single digits on most versions) — fine for a one-tool agent, far too low for a multi-tool agent that chains several calls per turn. It surfaces as \"max iterations reached\" or empty output. Set `options.maxIterations` to a realistic ceiling (15 for a focused sub-agent, 50-200 for a broad orchestrator).\n- **Put the current date in the system prompt** via `{{ $now }}` (or `{{ $now.format('DDDD') }}`). A hardcoded date is stale immediately.\n\n---\n\n## The four tool types\n\nPick the lightest option that covers the job:\n\n| Tool type | Node | Use when |\n|---|---|---|\n| **Native tool node** | `slackTool`, `gmailTool`, `toolCalculator`, … | The capability maps to one existing node + one operation. Lowest overhead. |\n| **Sub-workflow as tool** | `.toolWorkflow` | More than one node, reusable logic, or you want independent testability. The canonical n8n way — **default when in doubt**. |\n| **HTTP Request Tool** | `.toolHttpRequest` | A single external HTTP API the agent should orchestrate directly. Reuse the service's predefined credential to cover operations a native node doesn't expose. |\n| **MCP Client Tool** | `.mcpClientTool` | A maintained MCP server already covers it, or you want one published workflow to serve many agents. |\n\nThere is also a **Custom Code Tool** (`.toolCode`) for pure inline computation — but its runtime contract (string in \u002F string out, no `$fromAI`, no `$helpers`) is owned by the **n8n-code-tool** skill. Read that before writing one. Rule of thumb: if you find yourself reaching for `$fromAI()` inside the code, you want `.toolWorkflow` instead.\n\n### `$fromAI()`: how the agent fills tool parameters\n\nTool parameters the agent should decide are wrapped in `$fromAI()`. It is a **real n8n expression helper**, used inside a tool node's parameter expressions:\n\n```\n={{ $fromAI('paramName', 'what to put here — be specific: format, range, example', 'string') }}\n```\n\n- **paramName** — the name the model uses internally (snake_case or camelCase, be consistent).\n- **description** — tells the model what value to produce. **It is part of the prompt** — write it like JSDoc.\n- **type** (optional) — `'string'` (default), `'number'`, `'boolean'`, `'json'`. A wrong-typed value fails the call.\n- **defaultValue** (optional) — used when the model omits it.\n\n`$fromAI()` carries JSON only — it **cannot carry binary** (no base64, no file bytes). And not every parameter has to be `$fromAI`: plumb identity, authority limits, and correlation IDs (`userId`, refund caps, `sessionId`) deterministically from workflow context so the agent can't get them wrong or even see them. → **TOOLS.md** for the full anatomy and the \"give the agent a button, not a steering wheel\" pattern.\n\n---\n\n## System prompt vs tool description\n\n| Belongs in the **system prompt** | Belongs in the **tool's description** |\n|---|---|\n| Persona, role, voice | What this specific tool does |\n| Global output\u002Fformat rules (\"respond in markdown\") | When to use it vs other tools |\n| Refusal \u002F safety behavior | What each parameter means and its shape |\n| Display protocols (`![]()` for images) | Examples of good vs bad invocations |\n| Universal context (current date via `$now`, user role) | Tool-specific gotchas (rate limits, edge cases) |\n| Inter-tool flow (\"after generating, always display\") | Tool-specific input transformations |\n\nWhy split it: a well-described tool works in **any** agent that drops it in, tool details only \"load\" when the model considers that tool (token efficiency), and you update one tool description instead of a paragraph buried in a 5000-token prompt. → **SYSTEM_PROMPT.md**\n\n---\n\n## Structured output: when and how\n\nAdd an `outputParserStructured` sub-node (wired `ai_outputParser`) when downstream needs strict JSON, not free-form text. Two rules:\n\n1. **Use `schemaType: 'manual'` with a real JSON Schema, not `jsonSchemaExample`.** An example can't express required-vs-optional, enums, numeric ranges, or array constraints — you outgrow it the first time the shape gets non-trivial. Reach for `fromJson` + an example only for throwaway shapes.\n2. **`autoFix: true` with a coding-capable fixer model.** Wire a *second* model into the parser's `ai_languageModel` slot. Reconciling broken JSON against a schema is a coding task — a weak fixer just produces another malformed retry and burns tokens.\n\n→ **STRUCTURED_OUTPUT.md** for the schema patterns, the load-bearing \"DO NOT wrap in markdown\" retry line, and the parse-failure cookbook.\n\n---\n\n## Memory: brief mental model\n\nMemory is a sub-node (`ai_memory`). Without it, every call is stateless — correct for one-shot tasks (classify, summarize). With it, the agent holds a conversation, keyed by whatever expression you bind to `sessionKey`.\n\n- **`memoryBufferWindow`** — keeps the last N exchanges per key and persists across executions via n8n's store. The default for chat. **`contextWindowLength` defaults to 5, which is very low** — 50 is a saner starting point. Messages past the window are gone entirely.\n- **`memoryPostgresChat` \u002F `memoryRedisChat`** — only when memory must be read *outside* the agent (your own UI, analytics, cross-system). Not needed just to survive restarts; BufferWindow already does that.\n\n**Plumb a stable key from the trigger to memory consistently.** Chat triggers fill `sessionId` automatically; for other surfaces derive one (Slack `thread_ts`, a webhook conversation ID). Never hardcode `sessionId: 'default'` and never put `sessionId` behind `$fromAI` (the model will fabricate a UUID). → **MEMORY.md**\n\n---\n\n## Binary and the agent boundary\n\nThis is the seam that trips people up:\n\n- **The model CAN see uploaded images** (vision) via `options.passthroughBinaryImages: true` on the agent.\n- **Tools CANNOT receive binary.** `$fromAI()` is JSON-only — no base64, no bytes, even through non-AI bindings.\n- **The agent's output is text-shaped** (or structured-text with a parser). When a model returns image\u002Faudio\u002Fvideo bytes, the Agent doesn't surface them at all — there's nothing to recover downstream.\n\n**Workaround:** pre-stage uploads to storage before the agent runs, inject the storage keys into the system prompt, and let tools accept the key as a string parameter and re-fetch internally. For one-shot media generation, skip the agent and call the provider's native single-call node directly.\n\nThe binary mechanics (which storage, how to stage, how to re-fetch) are owned by **n8n-binary-and-data** — see its agent-tool binary reference. This skill only marks the boundary; don't re-derive the mechanics here.\n\n---\n\n## Human review (gate destructive tools)\n\nWhen a tool's effect needs human sign-off before execution (sends, payments, refunds, account changes), wrap it with a review tool node — `slackHitlTool`, `discordHitlTool`, `telegramHitlTool`, `gmailHitlTool`, etc. (n8n names these \"Hitl\" \u002F human-in-the-loop). The review node sits **between** the wrapped tool and the agent on the `ai_tool` connection: wrapped tool → review node → Agent.\n\nWhether sign-off is needed is a product\u002Fpolicy call — **surface the question to the user**, recommend based on blast radius, and let them decide.\n\n**The critical rule: show the actual parameters the wrapped tool will receive.** Use the literal `{{ $tool.parameters.\u003Cname> }}` in the approval message, never a `$fromAI()` paraphrase — otherwise the human approves text the model made up, not the call about to fire. → **HUMAN_REVIEW.md**\n\n---\n\n## Chat agents (Slack, Discord, Teams, Telegram)\n\n**The one non-negotiable, regardless of complexity:** any chat-triggered workflow that posts a reply MUST **filter out the bot's own user ID**, or its own replies re-trigger it in an infinite loop that burns runs and tokens. Prefer trigger-level filtering when available (Slack Trigger's `options.userIds` is an **exclusion list** — put the bot ID there); otherwise filter `$json.user !== '\u003CBOT_USER_ID>'` in the first node after the trigger.\n\nBeyond the filter, a simple bot (trigger → agent → reply) lives fine in one workflow. Split into **shell + core + sub-agents** only once you need loading UX, sub-agents, multi-surface reuse, or robust error handling:\n\n- **Shell** — trigger, anti-loop filter, event-type Switch, loading\u002Ferror UX, renders the reply. No LLM.\n- **Core** — stateless agent, `chatInput` + `threadId` inputs, memory keyed on `threadId`, tools and sub-agents.\n- **Sub-agents** — one narrow domain each, called via `.toolWorkflow`, **stateless** (full context in `chatInput`).\n\n→ **CHAT_AGENT_PATTERNS.md** for per-surface semantics, threading-as-session, and the full topology.\n\n---\n\n## RAG (retrieval augmented generation)\n\nn8n ships the LangChain RAG primitives (document loaders, splitters, embeddings, vector stores, retrievers). Two opinions worth stating up front:\n\n1. **Rule out cheaper lookups first.** Exact lookups → a database or Data Table query, not RAG. Freshness → a live search tool. A small\u002Fstructured doc set → give the agent list\u002Ffetch tools. Reach for a vector store only when there are too many docs to list and queries are semantic.\n2. **Wire the vector store as a retrieval tool** (`mode: 'retrieve-as-tool'`, `ai_tool`) so the agent decides when retrieval is relevant and can phrase the query itself. Embed query and documents with the **same** model.\n\n→ **RAG.md** (intentionally thin — defaults depend on data shape and scale).\n\n---\n\n## Reference files\n\n| File | Read when |\n|---|---|\n| **TOOLS.md** | Adding tools, choosing among the four types, writing names\u002Fdescriptions, `$fromAI` anatomy |\n| **SUBWORKFLOW_AS_TOOL.md** | Wiring a sub-workflow as a tool via `.toolWorkflow`, mapping agent-filled vs plumbed params |\n| **SYSTEM_PROMPT.md** | Writing\u002Frefactoring a system prompt, the system-prompt-vs-tool-description split |\n| **STRUCTURED_OUTPUT.md** | Forcing JSON output, configuring autoFix, the fixer model, parse-failure fixes |\n| **MEMORY.md** | Choosing a memory type, persistence, sessionId handling |\n| **HUMAN_REVIEW.md** | Adding human approval, approval-message content, multi-channel approver |\n| **CHAT_AGENT_PATTERNS.md** | Building a Slack\u002FDiscord\u002FTeams\u002FTelegram bot, shell + core + sub-agents topology |\n| **RAG.md** | Retrieval-augmented agents (thin by design) |\n| **EXAMPLES.md** | Concrete node-object snippets: stateless agent core, Slack router shell, domain sub-agent |\n\n---\n\n## Anti-patterns\n\n| Anti-pattern | What goes wrong | Fix |\n|---|---|---|\n| Generic tool names (`tool1`, `doStuff`, `runQuery`) | Model can't tell which tool to pick — skips them or hallucinates params | Verb-first specific names: `Search customer database`, `Generate image with Veo` |\n| Empty or one-line tool descriptions | Model has no idea when to invoke; bad selection, no error | Write a real description: what it does, when to use, what each param means |\n| Cramming per-tool instructions into the system prompt | Bloated prompt, no reuse, per-tool guidance buried | Move tool-specific instructions into tool descriptions |\n| Agent + Switch to route on natural language | Two nodes + prompt boilerplate where Text Classifier is one node | Use Text Classifier — each category gets its own output handle (name **and** description) |\n| Wrapping image\u002Faudio\u002Fvideo generation in an Agent | Binary doesn't flow through tools or out of the agent output | Use the provider's native single-call node directly |\n| `outputParserStructured` without `autoFix` | One malformed response halts the workflow | `autoFix: true` + a coding-capable fixer model |\n| Passing binary directly to a tool | Doesn't work — binary can't cross the tool boundary | Pre-stage to storage, pass keys; see **n8n-binary-and-data** |\n| Hardcoded `sessionId` \u002F no sessionId \u002F `sessionId` behind `$fromAI` | Conversations cross, or the model fabricates a UUID | Plumb a stable key from the trigger to memory and tools |\n| Two near-identical tools | Selection is non-deterministic, model gets confused | One tool with internal branching driven by a parameter |\n| Chat bot with no bot-user filter | Its own replies re-trigger it → infinite loop | Exclude the bot user ID at the trigger or first node |\n| `maxIterations` left at the low default on a multi-tool agent | \"Max iterations reached\" \u002F empty output | Raise `options.maxIterations` |\n| Filling the human-review message via `$fromAI()` | Approver signs off on a paraphrase, not the real call | Use literal `{{ $tool.parameters.\u003Cname> }}` |\n\n---\n\n## What's NOT available via the community MCP\n\n| Want to do | Reality |\n|---|---|\n| Run \u002F chat-test the agent end-to-end with live tokens | `n8n_test_workflow` runs the workflow, but a true multi-turn chat session is a UI activity (canvas chat tester). |\n| Set credentials' actual secret values | `n8n_manage_credentials` creates\u002Fupdates credential records, but the agent provider keys themselves are entered\u002Fverified in the UI. |\n| Assign a workflow's Error Workflow | UI only — see **n8n-error-handling**. Build the catch-all, then hand the user the UI step. |\n| Pin the exact model availability per instance | Model lists shift between versions — `search_nodes`\u002F`get_node` reflect what's installed. Verify on the target instance. |\n\nWhat the MCP **can** do: search and inspect every LangChain node (`search_nodes`, `get_node`), validate node config and the whole graph (`validate_node`, `validate_workflow`), build and patch the agent and its sub-nodes (`n8n_update_partial_workflow` with `addConnection` on `ai_*` outputs), test (`n8n_test_workflow`), and pull the saved JSON to verify wiring (`n8n_get_workflow`). The deep AI-agent guide also lives in `tools_documentation({topic: \"ai_agents_guide\", depth: \"full\"})`.\n\n---\n\n## Integration with other skills\n\n- **n8n-workflow-patterns** (`ai_agent_workflow.md`) — the high-level \"agent in a workflow\" shape. This skill is the deep dive; start there for architecture.\n- **n8n-mcp-tools-expert** — node-type formats (short form for `get_node`, long form in JSON) and tool-selection guidance. Consult before any MCP call.\n- **n8n-node-configuration** — `displayOptions`-driven fields on the agent and sub-nodes; Slack\u002FBlock Kit message shapes (`NODE_FAMILY_GOTCHAS.md`, Slack section).\n- **n8n-expression-syntax** — `{{ }}`, `$json.output`, `$now`, and `$fromAI`\u002F`$tool.parameters` all rely on correct expression syntax.\n- **n8n-code-tool** — the Custom Code Tool's runtime contract (string in\u002Fout, no `$fromAI`). Read it before writing a `.toolCode`.\n- **n8n-subworkflows** — the sub-workflow primitive that `.toolWorkflow` builds on (Execute Workflow Trigger inputs\u002Foutputs, naming, search-before-build).\n- **n8n-binary-and-data** — owns the agent-tool binary boundary mechanics (staging uploads, returning generated files).\n- **n8n-validation-expert** — interpreting `validate_workflow` results, including AI-connection issues (a tool wired into `main` instead of `ai_tool` flags as disconnected).\n- **n8n-error-handling** — `onError: 'continueErrorOutput'` on tool sub-workflows and the agent-core call; error UX on chat shells.\n- **n8n-code-javascript \u002F n8n-code-python** — for Code-node logic *inside* a tool sub-workflow (different sandbox from the Code Tool).\n\n---\n\n## Quick reference checklist\n\nBefore shipping an agent:\n\n- [ ] **Right node**: Agent for tools\u002Fmemory\u002Fmulti-turn; Text Classifier for routing; Information Extractor for fields; native node for media\n- [ ] **Model** wired via `ai_languageModel`\n- [ ] **Every tool** has a verb-first specific name AND a real description\n- [ ] **`$fromAI()` descriptions** are specific (format, range, example); identity\u002Flimits\u002FsessionId plumbed deterministically, not via `$fromAI`\n- [ ] **Per-tool guidance** lives in tool descriptions, not the system prompt\n- [ ] **`$now`** in the system prompt (no hardcoded date)\n- [ ] **`maxIterations`** raised for multi-tool agents\n- [ ] **Memory** keyed on a stable `sessionKey` from the trigger (not `'default'`, not `$fromAI`); `contextWindowLength` raised from 5\n- [ ] **Structured output**: `schemaType: 'manual'` + `autoFix: true` + a coding-capable fixer model\n- [ ] **Destructive tools** wrapped in human review; approval message uses `$tool.parameters`, not `$fromAI`\n- [ ] **Chat bots** filter the bot's own user ID (trigger-level or first node)\n- [ ] **Binary**: model vision via `passthroughBinaryImages`; tools get storage keys, never bytes\n- [ ] **Validated** with `validate_workflow` and verified with `n8n_get_workflow` (sub-nodes on `ai_*`, not `main`)\n\n---\n\n**Remember**: an agent is only as good as its tool names, descriptions, and system-prompt discipline. The model can't see your wiring — it sees a system prompt and a list of named, described tools. Design those like an API and most \"the agent won't behave\" problems disappear.","# n8n Agents\n\nThe n8n AI Agent node (`@n8n\u002Fn8n-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*.\n\nFor node-type formats: in workflow JSON the LangChain nodes use the long `@n8n\u002Fn8n-nodes-langchain.*` form (`.agent`, `.lmChatOpenAi`, `.memoryBufferWindow`, `.outputParserStructured`, `.toolWorkflow`, `.toolHttpRequest`, `.toolCode`). When you call `get_node` \u002F `validate_node`, use the **short** form (`nodes-langchain.agent`). See **n8n-mcp-tools-expert** for the format rules.\n\n---\n\n## Pick the right node first\n\nReaching for an Agent when the task is one-shot classification or extraction is the most common over-build. Decide before you wire anything:\n\n| You need to… | Use | Why |\n|---|---|---|\n| Call tools, reason over multiple turns, or hold memory | **AI Agent** (`.agent`) | The full loop: model + tools + memory + optional parser. Also a fine default when you'd rather standardize. |\n| One-shot text in → text out, no tools | **Basic LLM Chain** (`.chainLlm`) | No agent loop, easier to debug. Still accepts an `outputParserStructured` sub-node. |\n| Route a natural-language input to one of **N branches** | **Text Classifier** (`.textClassifier`) | ONE node, N output handles, downstream wires directly into each. Not Agent + Switch. |\n| Pull structured fields out of free text | **Information Extractor** (`.informationExtractor`) | Purpose-built field extraction with a schema. |\n| 3-way positive\u002Fneutral\u002Fnegative split | **Sentiment Analysis** (`.sentimentAnalysis`) | Built-in branch outputs. |\n| Condense a long document | **Summarization Chain** (`.chainSummarization`) | Map-reduce summarization built in. |\n| Generate an image \u002F audio \u002F video | **The provider's native single-call node** (OpenAI, Gemini, ElevenLabs…) | NEVER wrap media generation in an Agent — see \"Binary and the agent boundary\". |\n\n**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.\n\nChat-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.\n\n---\n\n## The sub-node pattern\n\nThe Agent has a **main input** (the prompt \u002F user message) and up to four **sub-node slots**, each wired by its own `ai_*` connection type:\n\n| Slot | Connection type | Required? | Node example |\n|---|---|---|---|\n| **model** | `ai_languageModel` | Yes | `.lmChatOpenAi`, `.lmChatAnthropic`, `.lmChatOpenRouter` |\n| **memory** | `ai_memory` | Optional | `.memoryBufferWindow`, `.memoryPostgresChat` |\n| **tools** | `ai_tool` | Optional (but the point of an agent) | `slackTool`, `.toolWorkflow`, `.toolHttpRequest`, `.toolCode` |\n| **outputParser** | `ai_outputParser` | Optional | `.outputParserStructured` |\n\nA sub-node connects FROM itself TO the agent. In workflow JSON the connection lives on the **sub-node**, keyed by the `ai_*` type:\n\n```json\n\"Main LLM\": {\n  \"ai_languageModel\": [[{ \"node\": \"AI Agent\", \"type\": \"ai_languageModel\", \"index\": 0 }]]\n},\n\"Simple Memory\": {\n  \"ai_memory\": [[{ \"node\": \"AI Agent\", \"type\": \"ai_memory\", \"index\": 0 }]]\n},\n\"Search customer DB\": {\n  \"ai_tool\": [[{ \"node\": \"AI Agent\", \"type\": \"ai_tool\", \"index\": 0 }]]\n}\n```\n\nMultiple tools all connect into the same `ai_tool` index 0 — they stack, they don't fan into separate indices. With `n8n_update_partial_workflow` you wire each with an `addConnection` op using `sourceOutput: \"ai_tool\"`. The agent puts its final answer in **`$json.output`** (not `.text`, not `.response`) — downstream nodes read `{{ $json.output }}`.\n\nSee **EXAMPLES.md** for a complete stateless agent-core node-object snippet.\n\n---\n\n## Two non-negotiables\n\n1. **Tool names and descriptions ARE part of the prompt.** The model picks a tool by reading its name and description — nothing else. A tool named `tool1` with an empty description is invisible to the model: it skips it, mis-selects it, or hallucinates parameters. There's usually no error — just an agent that \"won't use my tool\". Treat both like API design. → **TOOLS.md**\n2. **Structured output must parse AND autoFix.** An `outputParserStructured` with `autoFix: true` and a **coding-capable fixer model** is the production pattern. Without autoFix, one malformed JSON response halts the whole workflow. → **STRUCTURED_OUTPUT.md**\n\n---\n\n## Strong defaults\n\n- **Per-tool usage goes in the tool description, not the system prompt.** Anything about *how to call this specific tool* belongs with the tool, so it travels across agents and keeps the system prompt focused. → **SYSTEM_PROMPT.md**\n- **Sub-workflow tools (`.toolWorkflow`) for anything multi-step.** Any workflow becomes a tool with typed `$fromAI()` inputs, and composes with branching, error handling, and reuse. Default here when in doubt. → **SUBWORKFLOW_AS_TOOL.md** and **n8n-subworkflows**.\n- **Wrap tools with user-visible side effects in human review.** Sends, payments, refunds, account changes get gated behind an approval node so a human signs off before the tool fires. → **HUMAN_REVIEW.md**\n- **Raise `maxIterations`.** The default tool-call cap is **low** (single digits on most versions) — fine for a one-tool agent, far too low for a multi-tool agent that chains several calls per turn. It surfaces as \"max iterations reached\" or empty output. Set `options.maxIterations` to a realistic ceiling (15 for a focused sub-agent, 50-200 for a broad orchestrator).\n- **Put the current date in the system prompt** via `{{ $now }}` (or `{{ $now.format('DDDD') }}`). A hardcoded date is stale immediately.\n\n---\n\n## The four tool types\n\nPick the lightest option that covers the job:\n\n| Tool type | Node | Use when |\n|---|---|---|\n| **Native tool node** | `slackTool`, `gmailTool`, `toolCalculator`, … | The capability maps to one existing node + one operation. Lowest overhead. |\n| **Sub-workflow as tool** | `.toolWorkflow` | More than one node, reusable logic, or you want independent testability. The canonical n8n way — **default when in doubt**. |\n| **HTTP Request Tool** | `.toolHttpRequest` | A single external HTTP API the agent should orchestrate directly. Reuse the service's predefined credential to cover operations a native node doesn't expose. |\n| **MCP Client Tool** | `.mcpClientTool` | A maintained MCP server already covers it, or you want one published workflow to serve many agents. |\n\nThere is also a **Custom Code Tool** (`.toolCode`) for pure inline computation — but its runtime contract (string in \u002F string out, no `$fromAI`, no `$helpers`) is owned by the **n8n-code-tool** skill. Read that before writing one. Rule of thumb: if you find yourself reaching for `$fromAI()` inside the code, you want `.toolWorkflow` instead.\n\n### `$fromAI()`: how the agent fills tool parameters\n\nTool parameters the agent should decide are wrapped in `$fromAI()`. It is a **real n8n expression helper**, used inside a tool node's parameter expressions:\n\n```\n={{ $fromAI('paramName', 'what to put here — be specific: format, range, example', 'string') }}\n```\n\n- **paramName** — the name the model uses internally (snake_case or camelCase, be consistent).\n- **description** — tells the model what value to produce. **It is part of the prompt** — write it like JSDoc.\n- **type** (optional) — `'string'` (default), `'number'`, `'boolean'`, `'json'`. A wrong-typed value fails the call.\n- **defaultValue** (optional) — used when the model omits it.\n\n`$fromAI()` carries JSON only — it **cannot carry binary** (no base64, no file bytes). And not every parameter has to be `$fromAI`: plumb identity, authority limits, and correlation IDs (`userId`, refund caps, `sessionId`) deterministically from workflow context so the agent can't get them wrong or even see them. → **TOOLS.md** for the full anatomy and the \"give the agent a button, not a steering wheel\" pattern.\n\n---\n\n## System prompt vs tool description\n\n| Belongs in the **system prompt** | Belongs in the **tool's description** |\n|---|---|\n| Persona, role, voice | What this specific tool does |\n| Global output\u002Fformat rules (\"respond in markdown\") | When to use it vs other tools |\n| Refusal \u002F safety behavior | What each parameter means and its shape |\n| Display protocols (`![]()` for images) | Examples of good vs bad invocations |\n| Universal context (current date via `$now`, user role) | Tool-specific gotchas (rate limits, edge cases) |\n| Inter-tool flow (\"after generating, always display\") | Tool-specific input transformations |\n\nWhy split it: a well-described tool works in **any** agent that drops it in, tool details only \"load\" when the model considers that tool (token efficiency), and you update one tool description instead of a paragraph buried in a 5000-token prompt. → **SYSTEM_PROMPT.md**\n\n---\n\n## Structured output: when and how\n\nAdd an `outputParserStructured` sub-node (wired `ai_outputParser`) when downstream needs strict JSON, not free-form text. Two rules:\n\n1. **Use `schemaType: 'manual'` with a real JSON Schema, not `jsonSchemaExample`.** An example can't express required-vs-optional, enums, numeric ranges, or array constraints — you outgrow it the first time the shape gets non-trivial. Reach for `fromJson` + an example only for throwaway shapes.\n2. **`autoFix: true` with a coding-capable fixer model.** Wire a *second* model into the parser's `ai_languageModel` slot. Reconciling broken JSON against a schema is a coding task — a weak fixer just produces another malformed retry and burns tokens.\n\n→ **STRUCTURED_OUTPUT.md** for the schema patterns, the load-bearing \"DO NOT wrap in markdown\" retry line, and the parse-failure cookbook.\n\n---\n\n## Memory: brief mental model\n\nMemory is a sub-node (`ai_memory`). Without it, every call is stateless — correct for one-shot tasks (classify, summarize). With it, the agent holds a conversation, keyed by whatever expression you bind to `sessionKey`.\n\n- **`memoryBufferWindow`** — keeps the last N exchanges per key and persists across executions via n8n's store. The default for chat. **`contextWindowLength` defaults to 5, which is very low** — 50 is a saner starting point. Messages past the window are gone entirely.\n- **`memoryPostgresChat` \u002F `memoryRedisChat`** — only when memory must be read *outside* the agent (your own UI, analytics, cross-system). Not needed just to survive restarts; BufferWindow already does that.\n\n**Plumb a stable key from the trigger to memory consistently.** Chat triggers fill `sessionId` automatically; for other surfaces derive one (Slack `thread_ts`, a webhook conversation ID). Never hardcode `sessionId: 'default'` and never put `sessionId` behind `$fromAI` (the model will fabricate a UUID). → **MEMORY.md**\n\n---\n\n## Binary and the agent boundary\n\nThis is the seam that trips people up:\n\n- **The model CAN see uploaded images** (vision) via `options.passthroughBinaryImages: true` on the agent.\n- **Tools CANNOT receive binary.** `$fromAI()` is JSON-only — no base64, no bytes, even through non-AI bindings.\n- **The agent's output is text-shaped** (or structured-text with a parser). When a model returns image\u002Faudio\u002Fvideo bytes, the Agent doesn't surface them at all — there's nothing to recover downstream.\n\n**Workaround:** pre-stage uploads to storage before the agent runs, inject the storage keys into the system prompt, and let tools accept the key as a string parameter and re-fetch internally. For one-shot media generation, skip the agent and call the provider's native single-call node directly.\n\nThe binary mechanics (which storage, how to stage, how to re-fetch) are owned by **n8n-binary-and-data** — see its agent-tool binary reference. This skill only marks the boundary; don't re-derive the mechanics here.\n\n---\n\n## Human review (gate destructive tools)\n\nWhen a tool's effect needs human sign-off before execution (sends, payments, refunds, account changes), wrap it with a review tool node — `slackHitlTool`, `discordHitlTool`, `telegramHitlTool`, `gmailHitlTool`, etc. (n8n names these \"Hitl\" \u002F human-in-the-loop). The review node sits **between** the wrapped tool and the agent on the `ai_tool` connection: wrapped tool → review node → Agent.\n\nWhether sign-off is needed is a product\u002Fpolicy call — **surface the question to the user**, recommend based on blast radius, and let them decide.\n\n**The critical rule: show the actual parameters the wrapped tool will receive.** Use the literal `{{ $tool.parameters.\u003Cname> }}` in the approval message, never a `$fromAI()` paraphrase — otherwise the human approves text the model made up, not the call about to fire. → **HUMAN_REVIEW.md**\n\n---\n\n## Chat agents (Slack, Discord, Teams, Telegram)\n\n**The one non-negotiable, regardless of complexity:** any chat-triggered workflow that posts a reply MUST **filter out the bot's own user ID**, or its own replies re-trigger it in an infinite loop that burns runs and tokens. Prefer trigger-level filtering when available (Slack Trigger's `options.userIds` is an **exclusion list** — put the bot ID there); otherwise filter `$json.user !== '\u003CBOT_USER_ID>'` in the first node after the trigger.\n\nBeyond the filter, a simple bot (trigger → agent → reply) lives fine in one workflow. Split into **shell + core + sub-agents** only once you need loading UX, sub-agents, multi-surface reuse, or robust error handling:\n\n- **Shell** — trigger, anti-loop filter, event-type Switch, loading\u002Ferror UX, renders the reply. No LLM.\n- **Core** — stateless agent, `chatInput` + `threadId` inputs, memory keyed on `threadId`, tools and sub-agents.\n- **Sub-agents** — one narrow domain each, called via `.toolWorkflow`, **stateless** (full context in `chatInput`).\n\n→ **CHAT_AGENT_PATTERNS.md** for per-surface semantics, threading-as-session, and the full topology.\n\n---\n\n## RAG (retrieval augmented generation)\n\nn8n ships the LangChain RAG primitives (document loaders, splitters, embeddings, vector stores, retrievers). Two opinions worth stating up front:\n\n1. **Rule out cheaper lookups first.** Exact lookups → a database or Data Table query, not RAG. Freshness → a live search tool. A small\u002Fstructured doc set → give the agent list\u002Ffetch tools. Reach for a vector store only when there are too many docs to list and queries are semantic.\n2. **Wire the vector store as a retrieval tool** (`mode: 'retrieve-as-tool'`, `ai_tool`) so the agent decides when retrieval is relevant and can phrase the query itself. Embed query and documents with the **same** model.\n\n→ **RAG.md** (intentionally thin — defaults depend on data shape and scale).\n\n---\n\n## Reference files\n\n| File | Read when |\n|---|---|\n| **TOOLS.md** | Adding tools, choosing among the four types, writing names\u002Fdescriptions, `$fromAI` anatomy |\n| **SUBWORKFLOW_AS_TOOL.md** | Wiring a sub-workflow as a tool via `.toolWorkflow`, mapping agent-filled vs plumbed params |\n| **SYSTEM_PROMPT.md** | Writing\u002Frefactoring a system prompt, the system-prompt-vs-tool-description split |\n| **STRUCTURED_OUTPUT.md** | Forcing JSON output, configuring autoFix, the fixer model, parse-failure fixes |\n| **MEMORY.md** | Choosing a memory type, persistence, sessionId handling |\n| **HUMAN_REVIEW.md** | Adding human approval, approval-message content, multi-channel approver |\n| **CHAT_AGENT_PATTERNS.md** | Building a Slack\u002FDiscord\u002FTeams\u002FTelegram bot, shell + core + sub-agents topology |\n| **RAG.md** | Retrieval-augmented agents (thin by design) |\n| **EXAMPLES.md** | Concrete node-object snippets: stateless agent core, Slack router shell, domain sub-agent |\n\n---\n\n## Anti-patterns\n\n| Anti-pattern | What goes wrong | Fix |\n|---|---|---|\n| Generic tool names (`tool1`, `doStuff`, `runQuery`) | Model can't tell which tool to pick — skips them or hallucinates params | Verb-first specific names: `Search customer database`, `Generate image with Veo` |\n| Empty or one-line tool descriptions | Model has no idea when to invoke; bad selection, no error | Write a real description: what it does, when to use, what each param means |\n| Cramming per-tool instructions into the system prompt | Bloated prompt, no reuse, per-tool guidance buried | Move tool-specific instructions into tool descriptions |\n| Agent + Switch to route on natural language | Two nodes + prompt boilerplate where Text Classifier is one node | Use Text Classifier — each category gets its own output handle (name **and** description) |\n| Wrapping image\u002Faudio\u002Fvideo generation in an Agent | Binary doesn't flow through tools or out of the agent output | Use the provider's native single-call node directly |\n| `outputParserStructured` without `autoFix` | One malformed response halts the workflow | `autoFix: true` + a coding-capable fixer model |\n| Passing binary directly to a tool | Doesn't work — binary can't cross the tool boundary | Pre-stage to storage, pass keys; see **n8n-binary-and-data** |\n| Hardcoded `sessionId` \u002F no sessionId \u002F `sessionId` behind `$fromAI` | Conversations cross, or the model fabricates a UUID | Plumb a stable key from the trigger to memory and tools |\n| Two near-identical tools | Selection is non-deterministic, model gets confused | One tool with internal branching driven by a parameter |\n| Chat bot with no bot-user filter | Its own replies re-trigger it → infinite loop | Exclude the bot user ID at the trigger or first node |\n| `maxIterations` left at the low default on a multi-tool agent | \"Max iterations reached\" \u002F empty output | Raise `options.maxIterations` |\n| Filling the human-review message via `$fromAI()` | Approver signs off on a paraphrase, not the real call | Use literal `{{ $tool.parameters.\u003Cname> }}` |\n\n---\n\n## What's NOT available via the community MCP\n\n| Want to do | Reality |\n|---|---|\n| Run \u002F chat-test the agent end-to-end with live tokens | `n8n_test_workflow` runs the workflow, but a true multi-turn chat session is a UI activity (canvas chat tester). |\n| Set credentials' actual secret values | `n8n_manage_credentials` creates\u002Fupdates credential records, but the agent provider keys themselves are entered\u002Fverified in the UI. |\n| Assign a workflow's Error Workflow | UI only — see **n8n-error-handling**. Build the catch-all, then hand the user the UI step. |\n| Pin the exact model availability per instance | Model lists shift between versions — `search_nodes`\u002F`get_node` reflect what's installed. Verify on the target instance. |\n\nWhat the MCP **can** do: search and inspect every LangChain node (`search_nodes`, `get_node`), validate node config and the whole graph (`validate_node`, `validate_workflow`), build and patch the agent and its sub-nodes (`n8n_update_partial_workflow` with `addConnection` on `ai_*` outputs), test (`n8n_test_workflow`), and pull the saved JSON to verify wiring (`n8n_get_workflow`). The deep AI-agent guide also lives in `tools_documentation({topic: \"ai_agents_guide\", depth: \"full\"})`.\n\n---\n\n## Integration with other skills\n\n- **n8n-workflow-patterns** (`ai_agent_workflow.md`) — the high-level \"agent in a workflow\" shape. This skill is the deep dive; start there for architecture.\n- **n8n-mcp-tools-expert** — node-type formats (short form for `get_node`, long form in JSON) and tool-selection guidance. Consult before any MCP call.\n- **n8n-node-configuration** — `displayOptions`-driven fields on the agent and sub-nodes; Slack\u002FBlock Kit message shapes (`NODE_FAMILY_GOTCHAS.md`, Slack section).\n- **n8n-expression-syntax** — `{{ }}`, `$json.output`, `$now`, and `$fromAI`\u002F`$tool.parameters` all rely on correct expression syntax.\n- **n8n-code-tool** — the Custom Code Tool's runtime contract (string in\u002Fout, no `$fromAI`). Read it before writing a `.toolCode`.\n- **n8n-subworkflows** — the sub-workflow primitive that `.toolWorkflow` builds on (Execute Workflow Trigger inputs\u002Foutputs, naming, search-before-build).\n- **n8n-binary-and-data** — owns the agent-tool binary boundary mechanics (staging uploads, returning generated files).\n- **n8n-validation-expert** — interpreting `validate_workflow` results, including AI-connection issues (a tool wired into `main` instead of `ai_tool` flags as disconnected).\n- **n8n-error-handling** — `onError: 'continueErrorOutput'` on tool sub-workflows and the agent-core call; error UX on chat shells.\n- **n8n-code-javascript \u002F n8n-code-python** — for Code-node logic *inside* a tool sub-workflow (different sandbox from the Code Tool).\n\n---\n\n## Quick reference checklist\n\nBefore shipping an agent:\n\n- [ ] **Right node**: Agent for tools\u002Fmemory\u002Fmulti-turn; Text Classifier for routing; Information Extractor for fields; native node for media\n- [ ] **Model** wired via `ai_languageModel`\n- [ ] **Every tool** has a verb-first specific name AND a real description\n- [ ] **`$fromAI()` descriptions** are specific (format, range, example); identity\u002Flimits\u002FsessionId plumbed deterministically, not via `$fromAI`\n- [ ] **Per-tool guidance** lives in tool descriptions, not the system prompt\n- [ ] **`$now`** in the system prompt (no hardcoded date)\n- [ ] **`maxIterations`** raised for multi-tool agents\n- [ ] **Memory** keyed on a stable `sessionKey` from the trigger (not `'default'`, not `$fromAI`); `contextWindowLength` raised from 5\n- [ ] **Structured output**: `schemaType: 'manual'` + `autoFix: true` + a coding-capable fixer model\n- [ ] **Destructive tools** wrapped in human review; approval message uses `$tool.parameters`, not `$fromAI`\n- [ ] **Chat bots** filter the bot's own user ID (trigger-level or first node)\n- [ ] **Binary**: model vision via `passthroughBinaryImages`; tools get storage keys, never bytes\n- [ ] **Validated** with `validate_workflow` and verified with `n8n_get_workflow` (sub-nodes on `ai_*`, not `main`)\n\n---\n\n**Remember**: an agent is only as good as its tool names, descriptions, and system-prompt discipline. The model can't see your wiring — it sees a system prompt and a list of named, described tools. Design those like an API and most \"the agent won't behave\" problems disappear.",{"name":5,"description":7},"master","8ec37df6d71fb664ea19d32c079e7d3ff931a8e0","skills\u002Fmisc\u002Fn8n-agents",3,"https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit","https:\u002F\u002Fweblyfe.ai","https:\u002F\u002Fgithub.com\u002FS3YED","2026-08-27 01:54:02",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add S3YED\u002Fappie-kit --skill n8n-agents",{"tool":57,"command":58},"bunx","bunx skills add S3YED\u002Fappie-kit --skill n8n-agents",{"tool":60,"command":61},"pnpm","pnpm dlx skills add S3YED\u002Fappie-kit --skill n8n-agents","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fmisc\u002Fn8n-agents\u002FSKILL.md",true,[],[66,91,117,140,167,190],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":38},"01M6JFD4M6N4DSGC7TXEJ5R3J2","ai-music","AI music generation and audio tools: HeartMuLa lyrics-to-music generation, songwriting craft (+ Suno prompts), and audio spectrogram\u002Ffeature visualization.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fwethlete\u002Fai-music\u002FSKILL.md",[],[73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],"music","ai music","humanizer","visualization","Tools","Audio","hermes","hermes agent","songwriting","suno","lyrics","prompts","heartmula","craft","generation","feature","ai music generation","music generation",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":38},"01M6JFCZE4XNFQFMNZDHKHT5V5","agentic-webdesign-design-system-ingestion","Use v0 Design Systems 2.0, Bolt Design System Agents, or Lovable to generate production UI from a client's real design system components — not generic Tailwind. Use when building a client website where brand consistency matters.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fweb-design\u002Fagentic-webdesign-design-system-ingestion\u002FSKILL.md",[],[28,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116],"agentic","design system","system","ingestion","webdesign","agentic webdesign design system ingestion","components","generate","design systems","website","ui","Tailwind","bolt","lovable","v0","design-system","wed","design system components","appie",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":38},"01M6JFCVPX3913CFAS6QQJ33ZB","agentic-webdesign-agent-elements","Use 21st.dev Agent Elements — 25 shadcn\u002Fui components purpose-built for AI agent UIs. Tool cards (Bash, Edit, Search, Plan, Subagent, MCP), chat, input, streaming. Open source, shadcn-registry install, no runtime lock-in.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fweb-design\u002Fagentic-webdesign-agent-elements\u002FSKILL.md",[],[98,124,102,125,126,33,104,127,128,129,130,131,132,133,134,135,136,137,138,139],"elements","agentic webdesign agent elements","MCP","registry","search","streaming","open source","open","Bash","plan","subagent","edit","install","input","lock","source",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":38},"01M6JFCQC7H65M9QJ6TRE71BS1","vercel-deployment","Deploy static sites and frontends to Vercel — handles both CLI and REST API paths, including the CLI token sanitization workaround.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fsoftware-development\u002Fvercel-deployment\u002FSKILL.md",[],[147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166],"deployment","vercel deployment","vercel","macos","cli","linux","windows","deploy","vercel deploy","REST","api","site","deploy to vercel","token","rest api","host","sites","paths","sanitization","static site",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":38},"01M6JFCM4SMTXBM5A01BK2YQG1","software-quality-workflows","Umbrella workflow for TDD, debugging, code simplification, spikes, pre-commit review, and debugger-assisted investigation.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fsoftware-development\u002Fsoftware-quality-workflows\u002FSKILL.md",[],[174,175,176,177,36,178,179,180,181,182,183,184,185,186,187,188,189],"workflows","quality","software","software quality workflows","tdd","workflow","commit","debugging","code","debugger","pre-commit","investigation","code simplification","user","simplification","for",{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":38},"01M6JFCGD0M6CEATY01W7YN6DB","react-component-refactoring","Safely refactor large React components into smaller, maintainable pieces using proven patterns","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fsoftware-development\u002Freact-component-refactoring\u002FSKILL.md",[],[197,198,199,200,201,202,203,204,150,205,206,104,207,153,208,182,209,210,211,212],"react","component","refactoring","component refactoring","react component","react component refactoring","frontend","writing","safe","typescript","react components","modular","refactor","simplify","patterns","test-driven-development"]