skemo documentation
skemo is a language for diagrams. You write cards, the zones that group them and the arrows between them as a few lines of indented text; skemo lays them out, routes the arrows and renders the result as PNG, SVG, WebP, animated HTML or GIF.
intro.skemo
diagram(dir="right")
card#browser.client Browser
to(api) HTTPS
zone#backend Backend
card#api.service API
| REST, JSON
to(db)
card#db.store Database
| PostgreSQLintro.css
.client { --c: #7048E8; --label: "CLIENT"; }
.service { --c: #3E6FC4; --label: "SERVICE"; }
.store { --c: #2F9E44; --label: "DATA"; }What you can draw
Architecture diagramssystems, containers, services and data
Cloud and networkVPCs, subnets, instances, Kubernetes
Processes and pipelinesCI/CD, data flows, business processes
Org charts and treeshierarchies with shared trunks
Mind mapsa central idea, balanced branches
Timelines and roadmapsperiods, milestones, lanes, dependencies
Chronological friezeshistory over centuries and millennia
Step-by-step animationsdiagrams that unfold during a talk
Animated flowsdots and dashes moving along arrows
Where it fits
Diagrams as codein Git, reviewed in pull requests, rendered in CI
AI agentsa skill that teaches coding agents to write skemo
Why text
- The text is the source. A diagram is read, reviewed with
git diffand fixed like code. - Layout is automatic. No coordinates to maintain; pin only what you want fixed.
- Edits stay local. Changing one card only moves the arrows attached to it.
- Style is CSS. A card type is one line: an accent colour and a label. Light, dark and print themes follow.
- Cheap for AI agents. An agent writes a few hundred tokens of text instead of thousands of SVG coordinates.
Learn the language
| Getting started | install skemo and render a first diagram |
| Syntax | the four tags and how a line is read |
| Cards and zones, arrows | the elements of a diagram |
| Styling with CSS | types, colours, looks |
| Command line | every command and option |
skemo is in pre-release (0.1.0-rc.11). The language described here is stable; features marked preview may still change.
