Skip to content

Instantly share code, notes, and snippets.

@belfie13
Created July 22, 2026 02:48
Show Gist options
  • Select an option

  • Save belfie13/44fac70164e04e21ac66422040749074 to your computer and use it in GitHub Desktop.

Select an option

Save belfie13/44fac70164e04e21ac66422040749074 to your computer and use it in GitHub Desktop.
mermaid flowchart template
flowchart LR
mainsys["Main System Prompt"]:::red -->m["environment and background"]
delegatesys["Delegate System Prompt"]:::one -.->|·1·|a["instructions on how to delegate to subagents"]
subagentsys["SubAgent System Prompts"]:::two -->s["character instructions"]
delegatesys -.->|·3…*·|s
delegatesys -.->|·2·|m
red{{red}}:::red ==>org[/org/]:::org -.->yel[/yel\]:::yel ---lim(((lim))):::lim -->|lbl|grn[grn]:::grn --text-->tea{teal}:::tea -->aqa(aqa):::aqa
red -->pnk[(pnk)]:::pnk -->maj[[maj]]:::maj -->pur([pur]):::pur -->blu((blu)):::blu ~~~ cyn>cyn]:::cyn
classDef red fill:#600,stroke:#400,stroke-width:4;
classDef org fill:#640,stroke:#420,stroke-width:4;
classDef yel fill:#660,stroke:#440,stroke-width:4;
classDef lim fill:#460,stroke:#240,stroke-width:4;
classDef grn fill:#060,stroke:#040,stroke-width:4;
classDef tea fill:#064,stroke:#042,stroke-width:4;
classDef aqa fill:#066,stroke:#044,stroke-width:4;
classDef cyn fill:#046,stroke:#024,stroke-width:4;
classDef blu fill:#006,stroke:#004,stroke-width:4;
classDef pur fill:#406,stroke:#204,stroke-width:4;
classDef maj fill:#606,stroke:#404,stroke-width:4;
classDef pnk fill:#604,stroke:#402,stroke-width:4;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment