Every system has a shape.schemap shows it.
The real viewer. Click a card, press P to play, T to trace.
schemap is an agent skill that turns “map this” into a map you can explore. Your coding agent writes a small typed JSON. schemap checks it, lays it out and delivers an interactive map and an image for your README, docs or pull request.
All in one self-contained HTML file.
Make any system feel explorable.
Select a card to see what it touches. Trace everything upstream and downstream, find every route between two cards, or play the flow and watch it move.
Trace and route Keep only what feeds a card or what it feeds, or light every path between two.
Flow playback Pulses travel edge by edge, and each card glows in its colour when they arrive.
A format your agent
can write and repair.
- Write nodes, edges and groups. No coordinates, no styling.
validate --jsonnames each problem and the fixes allowed.- Repair only what's named, then run it again.
deliverwrites map.html, map.svg and a snippet.- Paste the snippet into a README, a docs page or a pull request.
The CLI ships inside the skill as one file. All it needs is Node.
$ node skill/bin/schemap.mjs validate map.json map.json error refs/unknown-node /edges/3/to no node has id "cache" fix: use one of the known node ids | add a node with id "cache" 1 error(s), 0 warning(s) $ node skill/bin/schemap.mjs deliver map.json delivered .schemap/bookshop/map.html · sha256 98d5987c03c8cea1 · 83913 bytes static .schemap/bookshop/map.svg [](./.schemap/bookshop/map.html)
Five kinds, one format. Services, stores and infrastructure, and the calls between them.
Lives where your docs live. The SVG shows on GitHub, GitLab, VS Code, Obsidian and docs sites. Click it to open the interactive map, or embed the map itself with an iframe.
Embedding guide →$ npx skills add decimozs/schemap ◇ Found 1 skill ✓ schemap (copied) → ./.claude/skills/schemap $ claude > Make an architecture map of this repository, backed by evidence from the code. delivered .schemap/bookshop/map.html static .schemap/bookshop/map.svg
Architecture
[](./.schemap/checkout/map.html)
$ schemap validate map.json ✓ map.json: no problems $ schemap diff main.json map.json Bookshop: +1 node · +1 edge · 1 changed $ schemap serve map.json live at http://127.0.0.1:4400, reloads on save
Works where your team works.
Maps in every pull request. The Action comments with a preview, a link that opens the live map in the browser, and exactly what changed. Broken maps fail the check, and out-of-date images get flagged.
One command to install. Claude Code and other agents that support skills pick it up when you ask for a map. The CLI ships inside, so there is nothing else to set up.
An image that links to the map. map.svg shows on GitHub, GitLab, VS Code and Obsidian. Click it to open the interactive map.
The live map inside your docs. Embed map.html with an iframe in MDX, Astro, Starlight, Docusaurus or VitePress. It follows your site’s light or dark theme.
Any script, any CI. validate, deliver, serve and diff run anywhere Node 22 does. Deterministic output, clear exit codes.
Bookshop ·
.schemap/bookshop/map.json· changedOpen the interactive map · map.json
+1 node · +1 edge · 1 changed
searchapicard.title: shop-api → orders-apiapi-search