System Atlas skill
A skill that turns an architecture discussion into an interactive isometric map of the system and a SYSTEM.md text twin from one data file
- 461 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- The skill runs the `build.mjs` build script and creates files in the repository
- The agent reads the project's documents and code to assemble the map
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/system-atlasDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- The skill runs the `build.mjs` build script and creates files in the repository
- The agent reads the project's documents and code to assemble the map
This is third-party code. Review the repository files before installing.
What it does
System Atlas is a skill that builds a clickable map from an architecture discussion. The only source is the `data.mjs` file, and the `build.mjs` script produces two views from it: a self-contained `atlas.html` with no build step or dependencies and a `SYSTEM.md` text twin. The diagram cannot drift from the text because both files are generated and never hand-edited. On the map, hovering shows a structure's description, a click pins it, the right arrow opens its inner steps, and the whole scheme can be panned and zoomed. Moving dots stand for requests: a click shows the route and a sample JSON payload. So the scheme does not turn into noise, the skill cuts it into chapters, each revealing at most three new structures. Roles get different shapes: the brain, stores, tool decks, gates and scheduled jobs. Open questions get stable codes like `Q-<code><n>` and states: open, resolved with an answer and a date, or routed to a named next step. The agent follows an order: read the inputs, discuss the structure, build the first atlas, cut it into chapters, generate the text twin and rebuild after every change.
Who it is for. Architects and team leads who discuss a system that is still taking shape with a team or a client and want decisions and questions kept in one place.
Good fit when
- The architecture of an agent system is still moving and discussing it as a static diagram is awkward
- A client or team has to see how a request passes through structures, and paragraphs would not show it
- Several rounds of feedback are underway and each question must be tracked by code until closed
- Decisions with trade-offs should sit in an ADR table next to the map
- After a vendor change or a dropped scheduled job the atlas has to be refreshed with a single rebuild
Not a fit when
- The system settled long ago and a plain README is enough
- A single diagram in a pull request description will do
- You need a diagram as a picture for a slide: the result is an interactive HTML page
- The team has no way to show an HTML file: it must be published as an artifact or served from a static server
Example request
Make an atlas of this pipeline so we can walk through it together and find the holesLimitations
The result is a single HTML file, and others can see it only if you publish it: as an artifact, through `npx serve`, `python3 -m http.server` or the repository's pages. The README describes the build as `bun build.mjs`, so Bun is needed. The skill asks before committing the atlas and follows the repository's docs policy. An atlas not updated after the system changed is worse than no atlas, and the author requires a rebuild after every edit.
How to disable. Delete the `system-atlas` folder from `~/.claude/skills/` or the project's `.claude/skills/`. Atlases already built (`data.mjs`, `atlas.html`, `SYSTEM.md`) stay in the repository and are deleted separately.
FAQ
Where in the repository should the atlas live?
If the repo commits design docs, `docs/<system>/atlas/` works. Where only ADRs and a glossary are committed, keep the atlas in a git-ignored folder and attach the generated `SYSTEM.md` to the spec issue.
What is in the assets folder?
The `template.html` renderer, the `build.mjs` script that turns `data.mjs` into `atlas.html` and `SYSTEM.md`, and `data.example.mjs`, a documented starter. You copy the example to `data.mjs` and fill it in.
How does the skill track feedback questions?
Every question has a stable `Q-<code><n>` code. Its state lives in the data: open, resolved with an answer and a date, or routed to a named step. A person's words are recorded as they are, and after a rejection every file is swept.
Can I install the skill by hand?
Yes, copy `skills/system-atlas/` into the agent's skills directory: for Claude Code that is `~/.claude/skills/system-atlas/` for personal use or `.claude/skills/system-atlas/` for a project.
How do I check the skill triggers correctly?
`skills/system-atlas/evals/evals.json` holds three test prompts: a new atlas, an update and a small greenfield project. They work as a check after you change the skill.
Discussion
No questions or reviews yet.
Related
SkillsA skill that draws an interactive isometric map of a repository: buildings sized by real code, flows traced along real calls.
stack-diagram is an architecture-diagram skill that embeds logos and fonts in HTML, so the finished file opens offline.
A Claude Code template: wireframe, prototype and an HTML spec before the code, then a build with the native plan and goal modes
A skill that draws a clickable Mermaid diagram in HTML: how a feature, a data flow or database tables work, with code per node
A skill that maps a repository into meaningful blocks, walks through the code on that map step by step and highlights broken spots
A skill maps project architecture, rules and proposed edit scope in an HTML page so users can approve a plan before code changes.
README in short
The description explains why an atlas beats a diagram that goes stale in a week and lists the features: the map, chapters, data packets, the text twin, coded questions and structure roles. It then gives the agent's working order, the build scheme from `data.mjs`, a table of repository files, installation, inspirations and the MIT license.
README badge
Original SKILL.md
---
name: system-atlas
description: Build and maintain an explorable, progressively-disclosed isometric "atlas" of a system's architecture — an interactive page (hover to read, click to pin, go inside for steps, moving data packets you can inspect, chapters that reveal the system a few structures at a time) plus a generated text twin (SYSTEM.md) and question tracking by ID, all from one data file in the repo. Use this whenever someone wants to discuss, design, review, or explain an architecture visually — "make an atlas", "map the system", "make the architecture explorable", "visualize the codebase/agent/pipeline so we can talk about it", "a diagram I can click around", "walk me through how it fits together", or when an architecture discussion is producing a pile of open questions that need tracking across feedback rounds. Also use it to update an existing atlas after decisions change.
---
# System Atlas
An atlas is one data file that renders two views: an **interactive isometric map** (a single self-contained HTML file), and a **generated text twin** (`SYSTEM.md`) with the decisions table, every structure, the flows, and the open questions by ID. The data file is the only thing anyone edits; both views rebuild from it. It sits beside a hand-written glossary (`CONTEXT.md`) and ADRs.
The reason for this shape: an architecture discussion produces decisions, questions, and vocabulary faster than any one document can hold, and the person you are discussing with wants to *see* the system, not read it. The map is for them; the text twin is for the repo and for you next session; the single source is what keeps the two honest.
This skill was distilled from building a real agent-architecture atlas across one long design session and several rounds of feedback. The user's corrections from that session are the rules below; `references/process-and-lessons.md` has the story.
## When to reach for it — and when not
Use it when the system is new enough that vocabulary, decisions, and questions are still moving, and there will be more than one feedback round. Don't use it for a finished system that only needs a README, or for one diagram in a PR.
## Process
Follow the order — each step was earned by a correction the first time round.
1. **Read the inputs before drawing.** The vision doc, the repo's existing surfaces, and whatever prior art the user allows (ask — they may forbid a branch or a source). If you will build on a framework, read its docs first; hand long docs to a subagent with your specific design questions and have it return a primer with gotchas and a "what it does not give us" list. Drawing before this produces boxes that don't map to anything real.
2. **Discuss before drawing.** Propose the structure in chat, mapped to the runtime's real primitives, and ask only the questions you cannot derive from the repo. Take defaults for the rest and say which. Ask as plain chat text.
3. **First atlas — the whole system.** Copy `assets/` into the atlas home (`template.html`, `build.mjs`, and `data.example.mjs` renamed to `data.mjs`), fill the data, build, publish. **Where the atlas home is depends on the repo's docs policy.** Some repos commit design docs freely — then `docs/<system>/atlas/` in-tree is right. Other repos deliberately commit only ADRs and `CONTEXT.md`, with specs and evidence going to the issue tracker instead; in that case put the atlas, `SYSTEM.md` and `research/` in a git-ignored scratch directory and attach `SYSTEM.md` plus the research to the spec issue as comments when the spec is published, keeping only `docs/<system>/adr/` and `docs/<system>/CONTEXT.md` in-tree. Ask which policy applies before committing anything. Learned the hard way: committing the whole set produced a 3,900-line docs PR and four review rounds reconciling three restatements of one design — with ADRs plus a glossary only, there is one place to be consistent. If your agent has a design-guidance skill for HTML artifacts, load it before touching the template; read `references/design-language.md` for the visual rules either way.
4. **Progressive disclosure.** A whole system at once reads as noise ("hard to parse" was the first correction). Ten-ish chapters; each adds at most three structures and runs one small flow that only touches revealed structures; the last chapter shows everything with a flow picker. Unrevealed structures stay in the index, dimmed, with their chapter number. Panels are summary-first: one sentence, then *Read more* and *Steps* folded.
5. **Shapes and labels.** Letters on boxes are not enough ("better box shapes/labelling" was the second correction). Give each role a shape and put a readable name label on the canvas under every structure — see design-language.
6. **Text twin.** `CONTEXT.md` is a glossary and nothing else (domain-model format: the nouns, one line each); ADRs only for decisions that are hard to reverse, surprising without context, and the result of a real trade-off — these two are the in-tree pieces. `SYSTEM.md` is generated and `research/` holds evidence; both live with the atlas (scratch dir or `docs/`, per step 3). Don't open issues unless asked.
7. **Feedback by question ID.** Every question is `Q-<code><n>` with a state: open (a string), resolved `{q, r}` (answer + date), or routed `{q, to}` (handed to a named next step such as a deep dive). Record the user's words. If they call something "not a question", drop it; if they say "I don't get this", explain with a concrete example *before* resolving. After each round: rebuild, republish, update memory.
8. **Deep dives feed back.** Research with subagents against one shared brief (the interface we own, the requirements that separate candidates, a usage model for cost, a fixed deliverable shape). Write a synthesis with a normalized cost/fit grid. Fold resolutions into the data as `{q, r: '… (from the deep dive, date)'}`. If the user rejects a proposal, sweep *every* file and rewrite — a banner on top of a stale section is not enough; they will find it.
9. **Keep it current.** "The atlas is great for me — but not if it's not up to date." One source, rebuild and republish after every change, never hand-edit generated files, and leave a `README.md` in the docs folder explaining the set (table in process-and-lessons).
## Publishing the map
`atlas.html` is one self-contained file — no build step, no external assets beyond a Google Fonts stylesheet. Publish it whichever way the person can actually open:
- If your agent can publish a hosted HTML artifact, publish it there and keep the URL stable across rebuilds; put it in `META.artifactUrl` so the generated `SYSTEM.md` links to it.
- Otherwise serve the folder with any static server (`npx serve`, `python3 -m http.server`) and hand over the local URL, or commit the file and let the repo's pages host serve it.
Either way the rule is the same: one URL, republished after every data change, never a second copy.