Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitnpx agentmods add skills/morningstar202604/awesome-skillkit/arch-diagramWrote 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/morningstar202604/awesome-skillkit/arch-diagram)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/arch-diagram"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/arch-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/morningstar202604/awesome-skillkit/arch-diagram"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/arch-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.00109 | $0.01929 |
| Opus 5.5 | $0.00044 | $0.00772 |
| Sonnet 5.5 | $0.00022 | $0.00386 |
| Haiku 4.5 | $0.00011 | $0.00193 |
Grade A, and why
arch-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 1mo 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 — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Arch Diagram (SOTA)
Generate method-overview diagrams (TikZ + valid SVG) for the "Model Architecture" figure.
v1's three hard bugs are fixed: ① TikZ wrote
\sffootnotesize, which is not a valid LaTeX command (compile always errors with Undefined control sequence) -> changed to\footnotesize; ② SVG referencedurl(#arrow)but never defined a marker (arrows didn't render) -> now outputs<defs><marker id="arrow">; ③ all blocks crammed on one line -> addedrow/wrap/stacklayouts.
Input Checklist
| Input | Required | Notes |
|---|---|---|
| diagram type | yes | --type pipeline (module flow) / nn (layered schematic) / svg (pure SVG) |
| blocks or layers | conditional | pipeline uses --blocks "Encoder,Decoder,Head", supports Label#color (blue/orange/green/red/purple/gray/yellow/cyan); nn uses --layers |
| layout | no | --layout row (default) / wrap/stack; wrap pairs with --per-row 3 |
| output format | no | --format tikz (default) / svg |
| output path | no | --output arch.tex; default writes /tmp/arch.tex |
When missing, ask everything at once: "Please provide: ① diagram type (pipeline / nn / svg) ② block names or layer spec ③ layout (row/wrap/stack; choose wrap when there are many blocks) ④ output path (default /tmp)."
Pre-flight Checks
python3 --version # expect >= 3.8, else error and STOP
test -f scripts/arch_diagram.py && echo OK # expect OK printed, else script missing STOP
If python3 is missing -> prompt to install Python >=3.8; if the script is missing -> say this skill's directory is incomplete and don't continue.
Workflow
Step 1: Generate a Pipeline / Block Diagram
python3 scripts/arch_diagram.py --type pipeline --blocks "Encoder,Decoder,Head" --output arch.tex
python3 scripts/arch_diagram.py --type pipeline --blocks "A,B,C,D,E" --layout wrap --per-row 3 --format svg --output arch.svg
python3 scripts/arch_diagram.py --type pipeline --blocks "Input#green,Encoder#blue,Head#red" --output arch.tex
Expected: JSON output containing output, format, layout, n_blocks, blocks, escaped (whether any label was escaped), font_command: "\\footnotesize", compilable: true (TikZ) or has_marker_def/valid_root/editable: true (SVG).
If it fails: --blocks empty -> the script uses default blocks (Data/Feature/Model/Loss); an illegal color name -> falls back to blue, no error.
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.
- 1mo ago Changed · -12 tokens per session cba0cda02523
- 1mo ago Changed · +12 lines · +25 tokens per session 799100637c7e
- 1mo ago First seen · 94 lines · 96 tokens per session scan A ee78f2fc7ac1
arch-diagram is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 109 tokens to every session and 1,929 once invoked, about $0.0004 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-09-19.
Other skills, from other repositories
schematics
Creates or refines publication-quality technical diagrams with the native generateimage tool (Nano Banana Pro through Ace or a Gemini key, GPT Image 2 through an OpenAI key), method and architecture overviews, pipelines, CONSORT and PRISMA flows, experimental workflows, biological pathways, circuits and conceptual…
latex-posters
Create professional research posters in LaTeX using beamerposter, tikzposter, or baposter. Support for conference presentations, academic posters, and scientific communication. Includes layout design, color schemes, multi-column formats, figure integration, and poster-specific best practices for visual communication.
paperbanana-diagram
Author publication-quality diagram specifications (method.txt files) from paper prose and draw.io sketches, following federal data visualization standards and Tufte design principles. Use when creating, modifying, or regenerating conceptual diagrams, architecture figures, or visual explanations for academic papers or…
beautiful-mermaid
Build publication-grade Mermaid diagrams with consistent styling and SVG-first export for manuscript assets.
drug-discovery
Drug discovery: ChEMBL search, drug-likeness, interactions.
archify
Validated interactive HTML diagrams, upstream-maintained.