graph TD
U([User]) --> CM[CLAUDE.md
always loaded]
U --> SC[Slash Commands
.claude/commands/]
CM --> CTX[Session Context]
SC --> CTX
CTX --> SK[Skills
.claude/skills/
auto-loaded by model]
CTX --> TASK[Task Tool
native primitive]
TASK --> SA[Subagents
.claude/agents/
isolated context]
TASK --> AT[Agent Teams
experimental
TeamCreate/TaskCreate
SendMessage]
SA --> H[Hooks
settings.json
Pre/PostToolUse
Stop/SessionStart]
AT --> H
H --> MCP[MCP Servers
external tools
GitHub/DBs/APIs]
SK --> PL[Plugins
bundle all above
marketplace]
SA --> PL
H --> PL
MCP --> PL
CTX --> LSP[LSP Servers
code intelligence
rust-analyzer/pyright]
CTX --> OT[OTel Telemetry
native OTLP/Prometheus
Grafana/Datadog]
style U fill:#f7ece8,stroke:#c84b2f,color:#1a1a1a
style CM fill:#fdf6e3,stroke:#b08a2e,color:#1a1a1a
style SC fill:#fdf6e3,stroke:#b08a2e,color:#1a1a1a
style CTX fill:#f5f2eb,stroke:#d4cfc2,color:#1a1a1a
style SK fill:#eef7f1,stroke:#2d7a4f,color:#1a1a1a
style TASK fill:#c84b2f,stroke:#c84b2f,color:#faf8f3
style SA fill:#eef7f1,stroke:#2d7a4f,color:#1a1a1a
style AT fill:#fdf6e3,stroke:#b08a2e,color:#1a1a1a
style H fill:#eef7f1,stroke:#2d7a4f,color:#1a1a1a
style MCP fill:#f5f2eb,stroke:#d4cfc2,color:#7a7468
style PL fill:#f5f2eb,stroke:#d4cfc2,color:#7a7468
style LSP fill:#f5f2eb,stroke:#d4cfc2,color:#7a7468
style OT fill:#eef7f1,stroke:#2d7a4f,color:#1a1a1a
CLAUDE.md
Slash Commands
Task Tool
Subagents
12+ Hook Events
Skills
MCP
OTel Telemetry
LSP
Plugins
Agent Teams
TaskCreate/Update
SendMessage
TeamCreate/Delete
Most mature agent ecosystem. Task tool is the native spawning primitive — subagents and Agent Teams both sit on top of it. Hooks fire at 12+ lifecycle events. OTel telemetry is native, not bolted on. Agent Teams (experimental) adds a shared task board on disk + peer-to-peer agent messaging — unique to Claude Code.