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/jamditis/claude-skills-journalismWrote 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/jamditis/claude-skills-journalism/generate-web-diagram)<a href="https://agentmods.dev/commands/jamditis/claude-skills-journalism/generate-web-diagram"><img src="https://agentmods.dev/badge/commands/jamditis/claude-skills-journalism/generate-web-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/jamditis/claude-skills-journalism/generate-web-diagram"><img src="https://agentmods.dev/badge/commands/jamditis/claude-skills-journalism/generate-web-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.00012 | $0.00185 |
| Opus 5 | $0.00006 | $0.00093 |
| Sonnet 5 | $0.00002 | $0.00037 |
| Haiku 4.5 | $0.00001 | $0.00018 |
Grade A, and why
generate-web-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 6d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- generate-web-diagram — 100% identical, 4 lines differ
What it actually says
Load the visual-explainer skill, then generate an HTML diagram for: $@
Follow the visual-explainer skill workflow. Read the reference template and CSS patterns before generating. Pick a distinctive aesthetic that fits the content, vary fonts, palette, and layout style from previous diagrams.
If surf CLI is available (which surf), consider generating an AI illustration via surf gemini --generate-image when an image would genuinely enhance the page, a hero banner, conceptual illustration, or educational diagram that Mermaid can't express. Match the image style to the page's palette. Embed as base64 data URI. See css-patterns.md "Generated Images" for container styles. Skip images when the topic is purely structural or data-driven.
Write to ~/.agent/diagrams/ and open the result in the browser.
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.
- 6d ago First seen · 11 lines · 12 tokens per session scan A 6df4c79dfa5c
generate-web-diagram is a command published in the GitHub repository jamditis/claude-skills-journalism (391 stars, last pushed 3d ago), licensed MIT. It adds 12 tokens to every session and 185 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-09-05.
Other commands, from other repositories
responsiveness-check
Test responsive layout across viewport widths.
shadcn-ui
Install and configure shadcn/ui components.
design-audit
Audit an existing HTML/CSS design. Deterministic checks only (contrast, fonts, colors, states, dark mode) plus a visual pass. No generation.
wp-variation
Generate a WordPress block theme style variation (styles/.json) — dark mode, color palette swap, or font swap.
generate-web-diagram
Generate a beautiful standalone HTML diagram and open it in the browser.
create
Generate a brandable, GitHub-Pages-ready Forward Deploy Engineering consulting website into docs/ — interviews you for brand, pricing and contact, saves fde-site.config.yaml, and renders from a market preset.