# Tool, skill, or subagent? Decomposing an agent that outgrew its prompt
Canonical: https://social-archive.org/hjbhjh/uhY1I25Q9n
Original URL: https://www.youtube.com/watch?v=mWvtOHlZM-I
Author: Claude
Platform: youtube
## Content
When does logic belong in a tool, a skill, or a subagent? You'll learn the decision framework by doing: inherit a 402-line inventory agent, decompose it live on Claude Managed Agents, and run evals after every change to see what flips.
