codex-plugin/skills/mermaid/SKILL.md
Render Mermaid diagrams as ASCII/Unicode art or SVG
npx skillsauth add genomewalker/cc-soul mermaidInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
[mermaid] visualize→ASCII|SVG | via beautiful-mermaid
supported: flowchart, state, sequence, class, ER
output: terminal-friendly ASCII or SVG file
themes: 15 built-in (tokyo-night, github-dark, etc.)
When user asks for a diagram, architecture visualization, or flowchart:
graph TD
A[Start] --> B{Decision}
B -->|Yes| C[Action]
B -->|No| D[End]
sequenceDiagram
Alice->>Bob: Hello
Bob-->>Alice: Hi back
stateDiagram-v2
[*] --> Idle
Idle --> Processing: start
Processing --> Done: complete
Done --> [*]
classDiagram
Animal <|-- Duck
Animal <|-- Fish
Animal : +int age
Animal : +isMammal()
erDiagram
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE-ITEM : contains
Use the mermaid-render script to render diagrams:
# ASCII output (terminal)
mermaid-render ascii "graph LR; A --> B --> C"
# SVG output (file)
mermaid-render svg "graph TD; A --> B" output.svg
# With theme
mermaid-render svg "graph TD; A --> B" output.svg --theme tokyo-night
User: "Show me the hook lifecycle"
graph TD
A[SessionStart] --> B[UserPromptSubmit]
B --> C{Tool Call?}
C -->|Yes| D[PreToolUse]
D --> E[Tool Executes]
E --> F{Success?}
F -->|Yes| G[PostToolUse]
F -->|No| H[PostToolUseFailure]
G --> I{More Tools?}
H --> I
I -->|Yes| C
I -->|No| J[Stop]
Then render as ASCII for terminal display.
development
Build, convert, and fine-tune the Qwen3-0.6B hint model for personal fact extraction. Covers corpus generation, ChatML conversion, LoRA fine-tuning with unsloth, GGUF export, and Ollama registration.
development
Build, convert, and fine-tune the Qwen3-0.6B hint model for personal fact extraction. Covers corpus generation, ChatML conversion, LoRA fine-tuning with unsloth, GGUF export, and Ollama registration.
tools
Browse and resume tasks, threads, and background jobs across sessions
tools
Resume a thread by loading its ~800-token context capsule