(I used AI to clean up my message because my English is not very good.)
I’ve been loving n8n for building AI-powered workflows — the AI Agent node + tools is super powerful for small-to-medium scale stuff.
Right now my setup uses one big system prompt that configures the agent’s personality, rules, available actions, output format, etc. Works beautifully when the scope is limited.
But as soon as the agent needs to handle more domains (customer support + data analysis + scheduling + content generation + …), the system prompt balloons to thousands of tokens. Every single call pays the full price, even for trivial queries → higher costs, slower responses, harder to maintain/debug.
What I’m dreaming of (and maybe some of you already built):
-
A “skills” system (like Anthropic’s Claude skills / tool-use patterns) where the agent has:
-
A short core prompt (“You are a helpful coordinator…”)
-
A router / classifier that decides which “skill” to activate
-
Only loads/injects the relevant skill instructions (as dynamic context, sub-prompt, or even a separate AI Agent node) for that task
-
In n8n terms, this could look like:
-
Main AI Agent with minimal prompt + tool-calling to “route to skill X”
-
Or Switch + IF nodes that classify intent first → then call specialized AI Agent sub-workflows with their own focused system prompts
-
Or dynamic prompt injection from a database / GitHub (like the “Use skills in n8n agent node” template)
Has anyone implemented something like this successfully at scale?
-
Multi-agent hierarchies?
-
Intent classification upfront then route to slimmed-down agents?
-
External skill files pulled on-demand?
-
Prompt caching tricks that actually work in n8n?
Would love to see example workflows or patterns — happy to share mine too if it helps spark ideas.