Quick start
schemap is an agent skill plus a small CLI. You install the skill once; the agent runs the CLI for you.
Requirements: Node.js 22.12 or later, and a coding agent that supports skills (for example Claude Code).
1. Install the skill
Section titled “1. Install the skill”With the skills CLI:
npx skills add decimozs/schemapIt finds the skill in the repository’s skill/ folder and copies all of it, SKILL.md, bin/schemap.mjs, references/ and examples/, into your agent’s skills directory (.claude/skills/schemap/ for Claude Code). Useful flags:
-g: install for your user instead of the current project.-a claude-code: pick the agent (repeat for several).-y: skip the prompts.
npx skills add decimozs/schemap -g -a claude-code -yThe CLI comes inside the skill as one file, bin/schemap.mjs. Nothing else needs installing: no npm package.
Without the skills CLI
Section titled “Without the skills CLI”Copy or link the skill/ folder of the repository into your agent’s skills directory. For Claude Code:
git clone https://github.com/decimozs/schemap.gitln -s "$PWD/schemap/skill" ~/.claude/skills/schemap2. Ask for a map
Section titled “2. Ask for a map”In any project, ask your agent:
Make an architecture map of this repository, backed by evidence from the code.
Other prompts that work well:
- “Map how a checkout request reaches the database, as a sequence.”
- “Diagram our release process: who does what, in order.”
- “Show the states an order goes through.”
- “Map the clickstream pipeline from the browser to the warehouse.”
3. Open it
Section titled “3. Open it”The agent writes .schemap/<slug>/map.json, then delivers map.html and map.svg next to it and opens the map in your browser. Ask it to put the map in your README and it pastes the snippet:
[](./.schemap/bookshop/map.html)Editing a map
Section titled “Editing a map”Ask for changes in plain words: “add the Redis cache between the API and the database”. The agent edits the same map.json and delivers again. Ids stay stable, so links into the map keep working.