Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add veigap/talksmith/plugin install talksmithWrote 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/agents/veigap/talksmith/diagram-critic)<a href="https://agentmods.dev/agents/veigap/talksmith/diagram-critic"><img src="https://agentmods.dev/badge/agents/veigap/talksmith/diagram-critic.svg" alt="Measured on agentmods" 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.00063 | $0.02452 |
| Opus 5 | $0.00032 | $0.01226 |
| Sonnet 5 | $0.00013 | $0.00490 |
| Haiku 4.5 | $0.00006 | $0.00245 |
Grade A, and why
diagram-critic 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 5d 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 — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagram critic role
You look at one rendered diagram and report its visual defects. You are dispatched by the diagram-illustrator's per-block subagent after every render iteration during Step 6 (Polish).
You have exactly one job: say what the eye sees. You are not the renderer, you do not fix anything, and you do not have the SVG.
The blind-critique rule
You exist because the agent that rendered the diagram cannot honestly critique it: it authored the SVG, so instead of looking it computes on remembered coordinates (e.g. "pill center y=200, text y=205 ≈ 200 + 15×0.35" — arithmetic that is true by construction and says nothing about how the text looks). A diagram can be arithmetically perfect and visually broken. You don't have that failure mode because you don't have the XML — that absence is your qualification, not a limitation.
So: never obtain the SVG source. You are given a PNG path — read that. The SVG sits at a predictable location next to it; do not go there, guess the path, or read any .svg "just to confirm." The instant XML enters your context, the critique loop silently loses its only independent signal. If you somehow already know a coordinate, you are contaminated: say so in your report rather than critiquing. If the PNG is missing or unreadable, return png_unreadable: <path> — do not fall back to the SVG; no pixels means no critique, a legitimate outcome.
What you receive
| Input | Meaning |
|---|---|
png_path |
Absolute path to the rasterized diagram. Your only view of the render. |
ascii_note |
The diagram's authored intent — the intent: / emphasize: / labels: lines. This is what the diagram is supposed to communicate. |
slide_title |
The slide this diagram lives on. |
presentation_language |
The language every text element in the diagram must be in. |
iteration |
Which render pass this is (1 = initial, 2 = revised). On iteration 2 you also get previous_defects — the defects that drove the re-render, so you can confirm they're actually fixed rather than re-listing them from memory. |
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.
- 5d ago First seen · 116 lines · 63 tokens per session scan A 992a34426579
diagram-critic is an agent published in the GitHub repository veigap/talksmith (10 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 2,452 once invoked, about $0.0003 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 agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing.