Skip to main content

Use skills In n8n agent node

Workflow preview

Workflow preview
100%
Use skills In n8n agent node preview
Open on n8n.io

1. Workflow Overview

This template gives you a framework to use skills in any n8n agent. You can use this as a starting point and add any other tools or patterns needed for your use case. What are “skills”? Skills are ...

Best for

  • Internal Wiki automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.github, n8n-nodes-base.set, n8n-nodes-base.splitout, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.lmchatopenrouter

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Liam McGarrigle.

Original n8n.io source

1.1 Workflow description

Title
Use skills In n8n agent node
Workflow name
Use skills In n8n agent node

This template gives you a framework to use skills in any n8n agent. You can use this as a starting point and add any other tools or patterns needed for your use case.

What are “skills”?

Skills are a context management standard created by Anthropic for use in Claude code. Basically, instead of having a HUGE system prompt, skills split that into lots of small, structured instruction files that tell an agent how to do a specific kind of task. Instead of stuffing a massive prompt full of rules, the agent:

  • finds the relevant skill file
  • reads it
  • and follows the steps inside

It’s a simple pattern that makes managing system prompts for general purpose agents much more straightforward.

See an example of a skills repo here.

What this workflow does

  • Responds to messages in n8n Chat (or Chat Hub)
  • Builds an “available skills” index from one or more GitHub repos
  • Lets the agent browse folders + fetch skill files (Markdown) as needed
  • Uses the skill content to guide how it completes tasks

How it (roughly) works

  1. A chat message comes in.
  2. The workflow lists directories in the configured skills repos (root + /skills if present), filters out noise, and merges everything into one directory map.
  3. That directory map gets injected into the agent’s system prompt so it knows what skill files exist.
  4. When it needs instructions, it uses tools:
  • List Files by Path Name to explore folders
  • Get a File From GitHub to pull the skill file as raw text (no base64)

Same “skills” pattern as the CLI tools

The flow is: find a skill → open it → follow the steps, the same way it works in the CLI tools, but running inside n8n, so you don’t need to download or install anything locally.

How to set it up

  1. (Required) Add your GitHub credentials to each node that needs it
  2. (Required) Add your OpenRouter credentials to the chat node or replace with the provider of your choosing
  3. (Optional) Add more repos to SKILLS_REPOS (any skills GitHub repo works as long as your credentials have access to it, such as any public repo)
  4. (Optional) Add more tools and turn it into whatever agent you actually need

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.4

Block 2 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 3 - List Root Dirs

Type / Role
n8n-nodes-base.github - github
Config choices
Version 1.1

Block 4 - Set GitHub Repo URLs

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 6 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 9 - Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 10 - List Skills Dirs

Type / Role
n8n-nodes-base.github - github
Config choices
Version 1.1

Block 11 - Remove Skills Dirs & Dot Files

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.3

Block 12 - Remove Errors and Dot Files

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.3

Block 13 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - List Files by Path Name

Type / Role
n8n-nodes-base.githubTool - githubTool
Config choices
Version 1.1

Block 18 - Get a File From GitHub

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.4

Block 19 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Merge Directory Structures

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 21 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Use skills In n8n agent node
Complexity advanced
Nodes 21
Categories Internal Wiki, AI Chatbot
Author Liam McGarrigle
Published 09 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13270/13270.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Use skills In n8n agent node do?

This template gives you a framework to use skills in any n8n agent. You can use this as a starting point and add any other tools or patterns needed for your use case. What are “skills”? Skills are ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Internal Wiki, AI Chatbot use case.