I’ve been reading into the docs and it sounds like you can engineer a skill to work functionally like a subagent. If you:
Set context: fork
Define specific allowed-tools
Ensure disable-model-invocation: false
Then you have a “skill” that runs in its own independent context, with specific tools, and is automatically picked up by claude when needed
Which is pretty much exactly what a subagent is.
There’s
this blog
where they say this on using subagents vs skills:
When to use a Skill instead:
If multiple agents or conversations need the same expertise—like security review procedures or data analysis methods—create a Skill rather than building that knowledge into individual subagents. Skills are portable and reusable, while subagents are purpose-built for specific workflows. Use Skills to teach expertise that any agent can apply; use subagents when you need independent task execution with specific tool permissions and context isolation.
So i get it in theory, but can someone please provide
a
real
example
you’ve actually implemented to take advantage of this distinction? It will help “settle” this for me, because at this point it still feels a bit like splitting hairs
Only real examples please. I don’t need any theoreticals
Thanks in advance
submitted by
/u/JonaOnRed
Originally posted by u/JonaOnRed on r/ClaudeCode
