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.
More from coding & agent
- Despite "frameworks are dead" takes, Next.js enters its golden age — Vjeux · 2026-12-06
- Voronoi noise patches beat grid tiles for natural game textures — Vjeux · 2026-12-06
- The Ninth Vigil: browser Diablo-style ARPG with all code written by AI agents, zero asset files — Promptmethus · 2026-12-06
- ToolSpace from RUC/Fudan/SJTU builds agent training envs from real tool execution evidence — jiqizhixin · 2026-12-06
- Grok Bot issue confirmed fixed by mattyp after user complaint — mattyp · 2026-12-06
- After 3 years solo: Pyramid, an encrypted long-term memory system for personal AI agents — Promptmethus · 2026-12-06