WHO does WHAT β colors, emojis, and diagram standards
Visual language answering: WHO does WHAT?
| Acteur | Emoji | Color | Description |
|---|
| User (neutral) | πββοΈ | Indigo #6366f1 | Human idle state |
| User (input) | πββοΈ | Indigo #6366f1 | Human sends input |
| User (output) | πββοΈ | Indigo #6366f1 | Human receives output |
| Main Agent | π | Purple #8b5cf6 | Claude Code orchestrator |
| Subagent | π¦ | Pink #ec4899 | Delegated worker |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β THE POULTRY FAMILY β
β β
β USER STATES: AGENTS: β
β πββοΈ neutral (idle) π Main Agent β orchestrates (can spawn π¦) β
β πββοΈ gives (input) π¦ Subagent β executes (cannot spawn other π¦) β
β πββοΈ receives (output) β
β β
β HIERARCHY: πββοΈπ₯ β π β π¦ β π€πββοΈ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Action | Emoji | Description | Example |
|---|
| Input | π₯ | Data enters | πββοΈπ₯ |
| Output | π€ | Data exits | ππ€, π€πββοΈ |
| Thinking | π | Reasons/prompts | ππ |
| Routing | π¦ | Decides direction | ππ¦ |
| Spawn | πͺΊ | Creates subagent | ππͺΊ |
| Execute | β‘ | Runs task | π¦β‘ |
| Observe | π | Reads | ππ |
| Write | βοΈ | Modifies | π¦βοΈ |
| Validate | β
| Approves | πββοΈβ
|
| Question | β | Asks | πβ |
| Split | π | Divides task | ππ |
| Merge | π | Combines results | ππ |
| Plan | π | Creates plan | ππ |
| Adjust | π | Loops/iterates | ππ |
| Continue | βΆοΈ | Resumes | πβΆοΈ |
| Idle | π€ | Not chosen | π¦π€ |
π₯/π€ Position Rule: ACTEURπ₯ = sends in, ACTEURπ€ = produces, π€ACTEUR = receives
| Combo | Meaning |
|---|
| πββοΈ | Idle state |
| πββοΈπ₯ | Sends input |
| πββοΈβ
| Validates |
| πββοΈβ | Questions |
| π€πββοΈ | Receives output |
| Combo | Meaning |
|---|
| ππ | Thinks |
| ππ¦ | Routes |
| ππͺΊ | Spawns |
| ππ | Splits |
| ππ | Merges |
| ππ | Plans |
| ππ€ | Outputs |
| πβ‘ | Executes |
| ππ | Observes |
| πβοΈ | Writes |
| ππ | Loops |
| πβΆοΈ | Continues |
| Combo | Meaning |
|---|
| π¦π | Thinks |
| π¦β‘ | Executes |
| π¦π | Observes |
| π¦βοΈ | Writes |
| π¦π€ | Returns |
| π¦β
| Validates |
| π¦π€ | Idle |
| Status | Emoji | Color | Use Case |
|---|
| Success | β
| Emerald #10b981 | Task completed |
| Error | β | Red #ef4444 | Failure |
| Warning | β οΈ | Amber #f59e0b | Caution needed |
| In Progress | π | Blue #3b82f6 | Currently running |
| Pending | β³ | Slate #64748b | Waiting |
| Skip | βοΈ | Slate #64748b | Bypassed |
| Element | Emoji | Color | Description |
|---|
| Hook | πͺ | Emerald #10b981 | Event-driven automation |
| State/Data | πΎ | Emerald #10b981 | Persisted data |
| Event | Trigger | Use Case |
|---|
PreToolUse | Before tool execution | Validation, blocking |
PostToolUse | After tool completion | Cleanup, formatting |
PermissionRequest | Permission dialogs | Auto-allow/deny |
UserPromptSubmit | Before processing input | Pre-processing |
SessionStart | Session starts/resumes | Environment setup |
SessionEnd | Session ends | Cleanup |
Stop | Claude finishes | Post-response actions |
SubagentStop | Subagent completes | Subagent cleanup |
PreCompact | Before compact | Lifecycle management |
Notification | Notifications sent | Custom notifications |
| Source | Emoji | Color | Description |
|---|
| Built-in | π§ | Slate #64748b | Native Claude Code tools |
| External (MCP) | π | Amber #f59e0b | Model Context Protocol servers |
| Category | Combo | Tools |
|---|
| Read File | π§π | Read |
| Search Content | π§π | Grep |
| Search Files | π§ποΈ | Glob |
| Write Ops | π§βοΈ | Write, Edit, NotebookEdit |
| Shell Ops | π§π | Bash, BashOutput, KillShell |
| Web Ops | π§π | WebFetch, WebSearch |
| User Interaction | π§β | AskUserQuestion |
| Planning | π§π | TodoWrite |
| Spawn | πͺΊ | Task (spawns π¦ Subagent) |
| Color | Hex | Usage |
|---|
| π£ Indigo | #6366f1 | User πββοΈ, Slash Commands 𦴠|
| π£ Purple | #8b5cf6 | Main Agent π, Skills π |
| π©· Pink | #ec4899 | Subagent π¦ |
| π Amber | #f59e0b | MCP Tools π, Warning β οΈ |
| π’ Emerald | #10b981 | State πΎ, Success β
, Hook πͺ |
| π΅ Blue | #3b82f6 | Parallel π€οΈ, Progress π |
| π΄ Red | #ef4444 | Errors β |
| π©Ά Slate | #64748b | Built-in π§, Neutral |
| π©Ά Slate-400 | #94a3b8 | Idle π€ |
| π©΅ Teal | #14b8a6 | Wizard π§ |
| π©΅ Cyan | #06b6d4 | Data flow |
%%{init: {'theme': 'base', 'themeVariables': {'lineColor': '#64748b'}}}%%
flowchart TB
%% Acteurs
classDef user fill:#6366f1,stroke:#4f46e5,stroke-width:2px,color:#ffffff
classDef main fill:#8b5cf6,stroke:#7c3aed,stroke-width:2px,color:#ffffff
classDef subagent fill:#ec4899,stroke:#db2777,stroke-width:2px,color:#ffffff
classDef skill fill:#8b5cf6,stroke:#7c3aed,stroke-width:2px,color:#ffffff
%% Tools (by source)
classDef builtinTool fill:#64748b,stroke:#475569,stroke-width:2px,color:#ffffff
classDef mcpTool fill:#f59e0b,stroke:#d97706,stroke-width:2px,color:#ffffff
%% Other
classDef state fill:#10b981,stroke:#059669,stroke-width:2px,color:#ffffff
classDef wizard fill:#14b8a6,stroke:#0d9488,stroke-width:2px,color:#ffffff
classDef parallel fill:#3b82f6,stroke:#2563eb,stroke-width:2px,color:#ffffff
classDef error fill:#ef4444,stroke:#dc2626,stroke-width:2px,color:#ffffff
classDef idle fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#ffffff
style L1 fill:#e0e7ff,stroke:#6366f1,stroke-width:2px %% User Layer
style L2 fill:#f3e8ff,stroke:#8b5cf6,stroke-width:2px %% Main Agent
style L3 fill:#fce7f3,stroke:#ec4899,stroke-width:2px %% Subagent
style L4 fill:#fef3c7,stroke:#f59e0b,stroke-width:2px %% Tools
style L5 fill:#ecfdf5,stroke:#10b981,stroke-width:2px %% State
| Symbol | Meaning |
|---|
[Rectangle] | Process/Component |
{Diamond} | Decision point |
((Circle)) | Start/End |
--> | Sequential flow |
-.-> | Optional/async flow |
-->β | Parallel flow |
| β
Do | β Don't |
|---|
| Always use ACTEUR + ACTION | π§ for Main Agent (use π) |
| Use classDef (never inline) | π€ for Subagent (use π¦) |
| White text on dark fills | π€ for User (use πββοΈ) |
| 2px stroke-width | Random colors |
| β
Correct | β Avoid |
|---|
| π¦ Subagent | Sub-agent, child agent |
| 𦴠Slash Command | Command, slash-command |
| π Skill | Capability, ability |
| πͺ Hook | Trigger, event handler |
| π Main Agent | Parent agent, orchestrator |
| Task (πͺΊ spawn) | Task tool, delegate |
| πββοΈ User (input) | π€ User |
| π§ Built-in | Native Tool, π οΈ Tool |
| π External (MCP) | API tool |
# β
Good
The π Main Agent πͺΊ spawns a π¦ Subagent via the Task tool.
πββοΈ Users invoke /generate to trigger the workflow.
# β Avoid
The parent spawns a child agent.
Users run the generate command.
| Emoji | Pattern | Type |
|---|
| ποΈ | Direct Execution | Baseline (#0) |
| βοΈ | Prompt Chaining | Workflow (#1) |
| π¦ | Routing | Workflow (#2) |
| π€οΈ | Parallelization | Workflow (#3) |
| π¦ | Orchestrator-Workers | Workflow (#4) |
| π©» | Evaluator-Optimizer | Workflow (#5) |
| π | Autonomous Agent | The Alternative |
| π§ | Wizard Workflows | Variant |
| π | Parallel Tool Calling | Variant |
| 𧬠| Master-Clone | Variant |
| π₯οΈ | Multi-Window Context | Variant |
| π | Progressive Skills | Mechanism |
| ποΈ | Programmatic Orchestration | Mechanism |