Claude Code Skills vs Subagents vs Hooks vs Workflows: Which to Use in 2026
Last Updated on September 22, 2026 by Editorial Team Author(s): Remy B. Originally published on Towards AI. Claude Code Skills vs Subagents vs Hooks vs Workflows: Which to Use in 2026 Eight primitives, one decision table: what each one costs, what it actually guarantees, and when to delete it. Key Takeaways– A skill is text Claude reads in your window. A subagent is a second Claude with its own window. That one difference decides everything else.– CLAUDE.md, rules, and skills are requests. A hook is a guarantee: it fires on a lifecycle event whether Claude agrees or not, and exit code 2 blocks the action.– Slash commands are skills now. Plugins aren’t a primitive at all, they’re the box you ship the others in.– A workflow moves the plan out of Claude’s head and into a script: up to 1,000 agents per run, 16 at a time, one result back.– Every primitive encodes an assumption about what the model can’t do alone. Re-test that assumption after each model release, and delete what no longer earns its place. Claude Code now has eight ways to change how it behaves, and most teams use one. In a study of 2,853 public repositories with agent configuration files, 90.6% had a context file like C…