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.
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:
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.
A chat message comes in.
The workflow lists directories in the configured skills repos (root + /skills if present), filters out noise, and merges everything into one directory map.
That directory map gets injected into the agent’s system prompt so it knows what skill files exist.
When it needs instructions, it uses 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.
SKILLS_REPOS (any skills GitHub repo works as long as your credentials have access to it, such as any public repo)