Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add metraton/gaia --skill diagram-buildergit clone --depth 1 https://github.com/metraton/gaiaWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/metraton/gaia/diagram-builder)<a href="https://agentmods.dev/skills/metraton/gaia/diagram-builder"><img src="https://agentmods.dev/badge/skills/metraton/gaia/diagram-builder/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/metraton/gaia/diagram-builder"><img src="https://agentmods.dev/badge/skills/metraton/gaia/diagram-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00121 | $0.04936 |
| Opus 5 | $0.00060 | $0.02468 |
| Sonnet 5 | $0.00024 | $0.00987 |
| Haiku 4.5 | $0.00012 | $0.00494 |
Grade A, and why
diagram-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 338 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagram Builder
Diagram-builder draws a diagram of any kind — a system architecture, a timeline,
a slide-style presentation, a process flow, a comparison, a mind-map, a planner
board — as nested boxes authored in plain YAML and rendered by a generic engine:
no framework, no server, opens under file://. Its whole material is two
primitives — a recursive section that ARRANGES and a component that
CARRIES — and its work is to find the form that teaches THIS idea best and lower
it into that geometry. Everything domain-specific lives in the data; nothing
about a domain lives in the engine. Everything on the canvas invites the reader
toward the centre: the layout centres its content, a click opens a bottom-centre
panel, a chip spotlights a relation.
idea
└─ document the deck: title, subtitle, version, palette, pages
└─ page one act/view (also the ROOT section: its columns + sections)
└─ section a grid zone; nests other sections freely (a grid of grids)
└─ component a leaf: a card, a divider, a lane label, a declared hole
filters (page-level only) light a relation across components
The governing definition (the anchor)
Internalize this before anything else. Every design decision is judged against it, and the adversarial critique at the end of the cycle is run against it:
A diagram is a semantic design tool: nested boxes, one inside another. Some boxes are sections — they group other sections or groups of components. Sections divide into columns, vertically and horizontally. Components expand horizontally and vertically — a merge on two axes: a span of columns plus a row-span of rows — and they sit in columns, or in cells flowing downward. The objective is compaction and symmetry: the canvas fills inside a centered width cap (max-width ≈ 1280px — a medium resolution, no horizontal scroll). It neither expands to arbitrary width nor leaves holes — full rectangles.
What ships with it
26 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/data/data.generated.js 119 KB runs code
- assets/data/document.yaml 3.2 KB
- assets/data/pages/overview.yaml 25 KB
- assets/data/pages/p1-merged-cell.yaml 12 KB
- assets/data/pages/p2-cells-or-zones.yaml 16 KB
- assets/data/pages/p3-sequence.yaml 7.3 KB
- assets/data/pages/p4-slots.yaml 9.6 KB
- assets/data/pages/p5-channels.yaml 12 KB
- assets/data/pages/p6-relations.yaml 9.9 KB
- assets/data/pages/p7-structure.yaml 9.2 KB
- assets/data/pages/p8-does-not-fit.yaml 10 KB
- assets/data/pages/p9-the-hole.yaml 14 KB
- assets/engine/build-data.mjs 29 KB runs code
- assets/engine/engine.js 46 KB runs code
- assets/index.html 76 KB
- assets/package-lock.json 2.7 KB
- assets/package.json 833 B
- assets/README.md 11 KB
- assets/tools/check-layout.mjs 63 KB runs code
- assets/tools/contrast-audit.cjs 16 KB runs code
- assets/tools/static-census.cjs 15 KB runs code
- assets/tools/test-guards.mjs 24 KB runs code
- assets/tools/validate-layout.cjs 101 KB runs code
- assets/tools/verify.mjs 6.2 KB runs code
- GLOSSARY.md 25 KB
- reference.md 54 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 338 lines · 121 tokens per session scan A d648063ce157
diagram-builder is a skill published in the GitHub repository metraton/gaia (3 stars, last pushed today), licensed MIT. It adds 121 tokens to every session and 4,936 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
review-team
A multi-reviewer code review process that checks a change from several specialist viewpoints and combines the results into one report. It can cover bugs, security, tests, dependencies, frontend behavior, and continuous-integration workflows.
ultra
Fans the work out as a fleet of parallel Grok and Codex agents billed to their own subscriptions, then synthesizes one result. The peer engine equivalent of ultracode, adding intensity without spending Claude quota on the fleet. Use it for genuinely broad goals, not only explicit asks for intensity.
grok-prompting
Brief writing guidance for composing self contained Grok briefs for coding, review, diagnosis, and second opinion tasks.
smoke
Runs a three probe live smoke wave after a plugin update and reports gate chain health before real work rides it.
codex-result-handling
Internal contract for returning Codex companion output without alteration.
shipwrights-loop
Drive multiple Jira tickets sequentially through the /shipwrights-epic pipeline. Auto-picks the next ticket, watches the PR until merged, transitions Jira to shipped, repeats. Resumable across Claude Code sessions via .shipwrights/loop-state.json. Invoked as /shipwrights-loop [N] | --status | --abort.