verify-diagram

verify-diagram is a skill for Claude Code from noelpuig/claude-explains. It costs 26 tokens per session (238 once invoked), scanned A, original, MIT.

A visual-checking skill for SVG diagrams and HTML scenes that validates them, renders previews, and inspects the resulting image. It looks for overlaps, clipping, unreadable labels, poor spacing, and unclear connections.

In plain words
What is it for?
Use it to check diagram readability, connector placement, content density, visual hierarchy, centering, and color use.
Why use it?
It catches visual defects that source-code validation alone may miss before a diagram or scene is shared.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is node ../cli/bin/claude-explains.js $file --validate.

Good fit Use it to check diagram readability, connector placement, content density, visual hierarchy, centering, and color use.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/noelpuig/claude-explains
agentmods
npx agentmods add skills/noelpuig/claude-explains/verify-diagram

Made for: Claude Code.

Wrote 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.

agentmods badge for verify-diagram

README.md
[![agentmods](https://agentmods.dev/badge/skills/noelpuig/claude-explains/verify-diagram/github.svg)](https://agentmods.dev/skills/noelpuig/claude-explains/verify-diagram)
Your own site
<a href="https://agentmods.dev/skills/noelpuig/claude-explains/verify-diagram"><img src="https://agentmods.dev/badge/skills/noelpuig/claude-explains/verify-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.

agentmods 80×15 button for verify-diagram

Your own site · 80×15
<a href="https://agentmods.dev/skills/noelpuig/claude-explains/verify-diagram"><img src="https://agentmods.dev/badge/skills/noelpuig/claude-explains/verify-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 238 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.00238
Opus 5.5 $0.00010 $0.00095
Sonnet 5.5 $0.00005 $0.00048
Haiku 4.5 $0.00003 $0.00024

Measured 3mo ago against content hash be883d5ff08f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

verify-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 3mo 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.

pipeline/.claude/skills/verify-diagram/SKILL.md · 35 lines

What it actually says

Visual Verification

Verify the visual quality of: $file

Step 1: CLI Validation

node ../cli/bin/claude-explains.js $file --validate

Parse the JSON output. Report all issues.

Step 2: Render Preview

node ../cli/bin/claude-explains.js $file --preview 0 -o /tmp/verify_preview

Read the rendered PNG.

Step 3: Visual Inspection

  • All labels readable (not overlapping, not clipped)
  • Content fills 80%+ of viewport
  • Clear visual hierarchy (3 size tiers)
  • Connector lines properly attached
  • Content centered or intentionally positioned
  • Colors match theme (60-30-10 rule)

Step 4: Report

{"file": "$file", "pass": true, "issues": []}
Changes

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.

  1. 3mo ago First seen · 35 lines · 26 tokens per session scan A be883d5ff08f

Subscribe to this mod's changes

verify-diagram is a skill published in the GitHub repository noelpuig/claude-explains (3 stars, last pushed 6mo ago), licensed MIT. It adds 26 tokens to every session and 238 once invoked, about $0.0001 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-08-31.

Related

verify-diagram compared with skills from other repositories

verify-diagram next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
verify-diagramnoelpuig/claude-explainsSkill36mo agoMITA26Claude Code
schematicssynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A134Claude Code
design-qadamianvtran/local-operatorSkill232todayMITA50Claude Code, Codex
design-skillOverbrilliant/ob-1Skill5013d agoApache-2.0A82Claude Code, Codex
ui-ux-pro-maxalebgl77/claude-incSkill23todayMITA23Claude Code
web-artifactsalebgl77/claude-incSkill23todayMITA19Claude Code
compositionlvndry/jazzSkill56todayMITA51Claude Code, Codex