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.
git clone --depth 1 https://github.com/geo-mena/distillWrote 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/commands/geo-mena/distill/diagram)<a href="https://agentmods.dev/commands/geo-mena/distill/diagram"><img src="https://agentmods.dev/badge/commands/geo-mena/distill/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/commands/geo-mena/distill/diagram"><img src="https://agentmods.dev/badge/commands/geo-mena/distill/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.00018 | $0.00875 |
| Opus 5 | $0.00009 | $0.00438 |
| Sonnet 5 | $0.00004 | $0.00175 |
| Haiku 4.5 | $0.00002 | $0.00088 |
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 9d 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.
What it actually says
Load the distill-design skill, then produce one Distill-style SVG diagram for the subject in $@.
Workflow:
- Read
plugins/distill-design/SKILL.mddecision tree and pick the matching primitive file. Quick map:- RL grid / cliffworld / value function / policy →
ui_kits/article/RL.tsx(GridWorld,ValueHeatmap,PolicyArrows) - Beam search / HMM / debate tree / generic graph →
ui_kits/article/Graph.tsx(GraphNode,GraphEdge,BeamSearchTree,DebateTree,HMMState) - Attention weights / CTC alignment / Game of Life / LSTM-GRU recurrence / variable tensor / convolution →
ui_kits/article/Heatmap.tsx(AttentionHeatmap,CellGrid,RecurrentArrow,VariableTensor,ConvGrid) - Molecule / cellular automata / Feynman / annotated raster / boxplot →
ui_kits/article/Specialized.tsx(MoleculeViewer,AutomataGrid,FeynmanDiagram,ImageWithAnnotations,DistillBoxplot) - FiLM-style conditioning (concat / bias / scaling / fan-out network) →
ui_kits/article/Diagrams.tsx+Primitives.tsx - Generic from scratch → compose
Primitives.tsx(TensorVector,Arrow,OperatorNode,SubNetBlock,PointerGlyph)
- RL grid / cliffworld / value function / policy →
- State the chosen primitive(s) in one line before generating, so the user can correct you cheaply.
- Output a single self-contained SVG file (not TSX). The SVG must declare its own
<style>block with the system sans stack from DESIGN-SYSTEM.md § "Fonts", define any<symbol>it needs in its own<defs>, and not depend on cross-file<use href>— see hard constraints below. - If the diagram needs a service icon (DNS, compute, database, etc.), inline-copy the matching
<symbol>block fromplugins/distill-design/resources/diagrams/_service-icons.svginto the SVG's own<defs>. The library currently has 29 symbols, allservice-<slug>namespaced.
Output location:
- Default:
plugins/distill-design/resources/diagrams/<slug>.svg(slug = lowercased, hyphenated topic). - If the user asks for paste-ready output for a one-off (chat, README snippet), return the SVG inline in the response and skip the file write.
Hard constraints (non-negotiable):
- English only. Do not translate labels.
- No emoji. No multi-color icons. No gradients, no filters, no shadows.
- Strokes 1.5–2px in
#666withstroke-linecap="round",stroke-linejoin="round",fill="none"unless intentional. - Diagram palette defaults to salmon
#e49381(data), powder-blue#81bee4(conditioning), lavender#b8a8d8(attention/memory). Use the extended palette (navy, penalty red, debate orange/blue, olive, burgundy, slate) only when the domain demands the semantic — see DESIGN-SYSTEM.md § "Extended palette". - Solid arrows for primary flow, dashed (
stroke-dasharray="3 3") for optional / attention / observability paths. - No
<use href="../_service-icons.svg#...">cross-file refs — GitHub renders SVGs via<img src>which sandboxes external refs, andfile://blocks them too. Always inline-copy the<symbol>into the consumer SVG's<defs>. - No year literals in label text or
<title>/<desc>.
Verification:
- Open the SVG with
chrome-devtools(file:// is fine for SVGs that are inline-self-contained) and screenshot. Check the user-facing labels render with the system sans, not Times-fallback. Surface any visual issues actively rather than claiming success.
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.
- 9d ago First seen · 37 lines · 18 tokens per session scan A 0c7c8104bd1d
diagram is a command published in the GitHub repository geo-mena/distill (2 stars, last pushed 3mo ago), licensed MIT. It adds 18 tokens to every session and 875 once invoked, about $0.0001 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 commands, from other repositories
brand
Generate a full editorial brand-guidelines book for any URL. 14 chapters covering brand essence/archetype, colour, typography, spacing, shape, iconography, motion, components, voice, accessibility, tokens, and how-to-use guidance. Print-ready, dark-mode toggle, hand-off-ready single HTML.
pair
Fuse two extracted designs into a single hybrid identity. Pick which axis (colour, typography, spacing, shape, motion, voice, components) comes from which site. Defaults to "visual A × voice B" — same colours/spacing as the first URL, type/voice/components from the second.
dna
Place a design in the measured design space — nearest systems, per-axis percentiles, outliers.
extract
Extract the complete design language from a URL — DTCG tokens, Tailwind, Figma vars, motion, voice, components.
fidelity
Measure how faithfully a clone reproduces a site — pixel-diff plus motion-fidelity into one 0-100 score, a letter grade, a ranked correction plan, and a shareable card.
site
Crawl a whole site and synthesize ONE canonical design system across all pages — unified tokens, coverage map, consistency grade.