Implementation
July 10, 2026 ยท View on GitHub
๐ Home โข ๐ง Implementation
Implementation
How Claude Code implements agentic patterns through components and architecture
Components vs Building Block
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ ๐ฆ BUILDING BLOCK (Anthropic) COMPONENTS (Claude Code) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Augmented LLM ๐ฆ Subagent โ
โ (LLM + Retrieval + Tools + Memory) ๐ฆด Slash Command โ
โ ๐ Skill โ
โ โ Foundation concept ๐ช Hook โ
โ โ
โ Each Component internally uses โ Abstractions that organize โ
โ the Building Block to function agent capabilities โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Navigation
| Section | Description |
|---|---|
| components/ | ๐ฆ Subagent, ๐ฆด Slash Command, ๐ Skill, ๐ช Hook |
| architecture/ | 5-Layer system architecture |
Quick Reference
Components Overview
| Component | Emoji | Invocation | Location |
|---|---|---|---|
| Subagent | ๐ฆ | Task tool (๐ชบ) | .claude/agents/*.md |
| Slash Command | ๐ฆด | User /command | .claude/commands/*.md |
| Skill | ๐ | Context-based | .claude/skills/*/SKILL.md |
| Hook | ๐ช | Event-driven | .claude/settings.json |
Architecture Overview
| Layer | Emoji | Role |
|---|---|---|
| User Layer | ๐โโ๏ธ | Entry point |
| Main Agent Layer | ๐ | Orchestration |
| Delegation Layer | ๐ | Workflow definition |
| Execution Layer | โก | Actual work |
| State Layer | ๐พ | Persistence |
File Structure
.claude/
โโโ agents/ # ๐ฆ Subagent definitions
โ โโโ *.md # One file per subagent type
โโโ commands/ # ๐ฆด Slash Command definitions
โ โโโ *.md # One file per command
โโโ skills/ # ๐ Skill definitions
โ โโโ skill-name/ # One directory per skill
โ โโโ SKILL.md # Skill content
โโโ settings.json # ๐ช Hooks and configuration
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ