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 stempeck/agentfactory --skill architecture-diagramgit clone --depth 1 https://github.com/stempeck/agentfactoryWrote 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/stempeck/agentfactory/architecture-diagram)<a href="https://agentmods.dev/skills/stempeck/agentfactory/architecture-diagram"><img src="https://agentmods.dev/badge/skills/stempeck/agentfactory/architecture-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/stempeck/agentfactory/architecture-diagram"><img src="https://agentmods.dev/badge/skills/stempeck/agentfactory/architecture-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.00214 | $0.02587 |
| Opus 5.5 | $0.00086 | $0.01035 |
| Sonnet 5.5 | $0.00043 | $0.00517 |
| Haiku 4.5 | $0.00021 | $0.00259 |
Grade A, and why
architecture-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 11d 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.
The source is not reproduced here
Licensed AGPL-3.0
The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.
What ships with it
18 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/index.template.html 17 KB
- references/extraction.md 13 KB
- references/model.md 8.6 KB
- references/views.md 5.2 KB
- scripts/check_model.mjs 1.2 KB runs code
- scripts/lib/check.mjs 26 KB runs code
- scripts/lib/common.mjs 8.3 KB runs code
- scripts/lib/deps.mjs 2.9 KB runs code
- scripts/lib/emit.mjs 9.1 KB runs code
- scripts/lib/page.mjs 2.5 KB runs code
- scripts/lib/render.mjs 449 B runs code
- scripts/lib/sections.mjs 4.5 KB runs code
- scripts/lib/views.mjs 17 KB runs code
- scripts/package-lock.json 63 KB
- scripts/package.json 313 B
- scripts/render.mjs 4.2 KB runs code
- scripts/sections.mjs 3.1 KB runs code
- scripts/validate.mjs 12 KB runs code
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.
- 11d ago First seen · 125 lines · 214 tokens per session scan A fd662d401bc7
architecture-diagram is a skill published in the GitHub repository stempeck/agentfactory (3 stars, last pushed 10d ago), licensed AGPL-3.0. It adds 214 tokens to every session and 2,587 once invoked, about $0.0009 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-10-05.
Other skills, from other repositories
moai-domain-svg-infographic
Author editable SVG technical infographics — architecture, flow, comparison, hierarchy — by computing the layout numerically before writing markup, then rendering a 2x PNG via headless Chromium. Carries a CJK-first font stack, a deterministic source lint, and mermaid-vs-SVG selection rules.
moai-design-tools
Design tool integration specialist covering Figma MCP, Pencil renderer, and Pencil-to-code export. Use when fetching design context from Figma, rendering Pencil designs, or exporting to React/Tailwind code.
moai-tool-svg
SVG creation, optimization, and transformation specialist. Use when creating vector graphics, optimizing SVG files with SVGO, implementing icon systems, building data visualizations, or adding SVG animations.
moai-domain-design-dna
Reverse-engineer a reference design — a screenshot, an image set, or a live URL — into a portable Design DNA JSON across three dimensions (measurable tokens, qualitative style, special-rendering effects), then generate a new self-contained artifact from that JSON. Carries the extraction rules (dominance-based colour…
moai-ref-ui-polish
UI polish and interface-completion reference: the small visual details — concentric border radius, optical alignment, shadow-vs-border, motion easing, typography smoothing, tabular numbers, icon stroke weight, hit areas — that separate polished interfaces from generic ones. Agent-extending skill that amplifies…
moai-domain-uiux
UI/UX design systems specialist covering accessibility, icons, theming, design tokens, and user experience patterns. Use when working on design systems, WCAG compliance, ARIA patterns, or dark mode theming.