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 enjalot/moonshine --skill diagramgit clone --depth 1 https://github.com/enjalot/moonshineWrote 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/enjalot/moonshine/diagram)<a href="https://agentmods.dev/skills/enjalot/moonshine/diagram"><img src="https://agentmods.dev/badge/skills/enjalot/moonshine/diagram/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/enjalot/moonshine/diagram"><img src="https://agentmods.dev/badge/skills/enjalot/moonshine/diagram.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.00067 | $0.04200 |
| Opus 5.5 | $0.00027 | $0.01680 |
| Sonnet 5.5 | $0.00013 | $0.00840 |
| Haiku 4.5 | $0.00007 | $0.00420 |
Grade A, and why
diagram 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 4d 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 — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagram: Draw a System So It Reads the First Time
A diagram in a moonshine article shows how named things relate: what talks to what, what contains what, what happens in what order, what changes between today and a proposal. This skill covers the decisions an author kept having to correct by hand across several real articles. It separates three layers, because they vary differently from article to article:
- Information design (what the diagram is for, what gets a node, what a line means). These lessons recurred in every article studied. Treat them as defaults and say so when you depart from one.
- Visual style (tiles, lines, colour, type). One look was reused across several articles, and others were accepted too. Match what the article has. With nothing to match, start from the board look described below and expect the author to steer it.
- Technical implementation (which component draws it). The built-in diagram draws both labelled boxes and icon tiles, and the author can rearrange and restyle it in the browser, so it is the default. A custom figure is for what it cannot do.
Read ../moonshine/STILL.md ("Diagrams", "How a Figure Gets Added") and ../moonshine/VISUALS.md ("Phones and touch") first. This skill adds to them.
1. Look at what the article already has
Before designing anything, find the article's existing diagrams and any sibling article the user names ("like the one in X").
- Open
src/figures/andcontent/figures/. Note which diagrams areDiagramSpecs and which are custom figures on a shared kit (a folder such asboard/,kit/,prims/, or a glyph file several figures import). If the article has a kit, build on it without changing it: add a glyph or a link family in its own grammar when the subject needs one. - When the user points at another article, what is being borrowed is the grammar: how a thing is drawn, how a link is drawn and named, how a boundary is drawn. The subject's nouns are new each time. Copy that article's glyphs (register them with
registerGlyphs) and its choices of tone, label side and link family; copy its kit folder only if the new diagram needs something the built-in diagram cannot draw. - Render the existing figures and look at them. Note the surface (floor or plain), where labels sit, how links are named, what dashed means, what colour means. Your diagram uses the same answers.
- If the article has no diagrams and no sibling to follow, start from the tile look in section 4.
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.
- 4d ago Changed · -15 tokens per session 39f0ca529d19
- 20d ago First seen · 145 lines · 82 tokens per session scan A ffa52b0f9e26
diagram is a skill published in the GitHub repository enjalot/moonshine (55 stars, last pushed 5d ago), licensed MIT. It adds 67 tokens to every session and 4,200 once invoked, about $0.0003 per session on Opus 5.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-11-15.
diagram compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagramenjalot/moonshine | Skill | 55 | 5d ago | MIT | A | 67 | Claude Code |
| webgl-holographic-foilnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 41 | Claude Code, Codex |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| html-ppt-taste-brutalistnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 78 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | today | MIT | A | 52 | Codex |
| glance-canonical-layoutsandroid/skills | Skill | 11k | today | Apache-2.0 | A | 56 | Claude Code |
| accessibilitymicrosoft/hve-core | Skill | 1.7k | today | MIT | A | 47 | Claude Code |