The 5-layer Claude Code agent stack: CLAUDE.md, Skills, Hooks, Subagents, Plugins

blaizedsouza · x · 2026-11-30

A structured infographic breaks down building smarter Claude Code agents into 5 layers: CLAUDE.md (memory/constitution, global + project config), Skills (on-demand knowledge via SKILL.md, run in isolated context), Hooks (deterministic guardrails on PreToolUse/Stop etc., e.g. auto-lint, blocking rm -rf), Subagents (delegation with own context windows and permissions to keep main context clean), and Plugins (npm-like distribution of skills/agents/hooks/commands), with MCP Servers and Agent Teams on the periphery for tools and parallel orchestration.

Original post →

More from coding & agent

coding & agent channel →