Turn plain-English descriptions or mermaid source into an editable Excalidraw file plus rendered SVG and PNG.

CCM score
61 of 100
skills.sh installs
278
GitHub stars
142.6K
last updated
Nov 25, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full diagram flow: source text in, an .excalidraw file to edit on excalidraw.com, and SVG and PNG renders out
  • Accepts either a natural-language description or existing mermaid source as input, so you can start from either form
  • Writes the diagram source alongside its outputs so the triplet stays in sync if you regenerate later
  • Designed for architecture diagrams, flowcharts, and process visualizations requested with phrases like "make a diagram" or "diagram this"

Install

$ npx -y skills add garrytan/gstack --skill diagram -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Preamble (run first)

!~/.claude/skills/gstack/bin/gstack-skill-load start --skill "diagram" --model "claude"

If the line above is not the start output, run this once; otherwise it already ran:

~/.claude/skills/gstack/bin/gstack-skill-start --skill "diagram" --model "claude"

Read the echoed KEY: value STATUS lines — they drive every preamble rule below. Degraded mode: if SKILL_START_PROTO: 1 is missing from the output (script absent, stale install, or a different protocol number), apply safe defaults: treat SESSION_KIND as interactive, do NOT assume Conductor, skip onboarding/telemetry steps (their gates are marker-based, so consent and onboarding prompts are DEFERRED to the next healthy run — never lost), tell the user to run ./setup or /gstack-upgrade, and proceed with their task. Note SESSION_ID and TEL_START from the output — the Telemetry step needs them at skill end.

Details

Repository
github.com/garrytan/gstack
License
MIT
First seen
Nov 25, 2026

More from garrytan/gstack

All 63

Similar to Diagram