AutoSkillit: Skill for Claude Code

.claude/skills/verify-diag/SKILL.md

verify-diag is a skill for Claude Code from TalonT-Org/AutoSkillit. It costs 50 tokens per session (1,806 once invoked), scanned A, original, MIT.

A read-only check that compares an architecture diagram—a picture of a system's parts and connections—with the codebase that actually implements it.

In plain words
What is it for?
It helps validate Mermaid diagrams and trace whether every shown component and connection exists in the source code.
Why use it?
It finds diagrams that name missing components, show incorrect connections, or point data in the wrong read/write direction before they mislead developers.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is TalonT-Org/AutoSkillit's own configuration. It tells Claude Code how to work on AutoSkillit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AutoSkillit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TalonT-Org/AutoSkillit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TalonT-Org/AutoSkillit/main/.claude/skills/verify-diag/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/TalonT-Org/AutoSkillit

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-diag

README.md
[![agentmods](https://agentmods.dev/badge/skills/talont-org/autoskillit/verify-diag.svg)](https://agentmods.dev/skills/talont-org/autoskillit/verify-diag)
Your own site
<a href="https://agentmods.dev/skills/talont-org/autoskillit/verify-diag"><img src="https://agentmods.dev/badge/skills/talont-org/autoskillit/verify-diag.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,806 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.00050 $0.01806
Opus 5 $0.00025 $0.00903
Sonnet 5 $0.00010 $0.00361
Haiku 4.5 $0.00005 $0.00181

Measured 8d ago against content hash bc93d784c16f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

verify-diag 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 8d 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.

.claude/skills/verify-diag/SKILL.md · 204 lines

How it starts

The opening of the file, as written. The whole thing — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Verify Diagram Skill

Verify an architecture diagram's factual accuracy against the actual codebase. Adapted from the dry-walkthrough methodology for diagram validation.

When to Use

  • After generating an arch lens diagram
  • User says "verify diagram", "verify diag", "check diagram"
  • Before finalizing diagram examples or documentation

Critical Constraints

NEVER:

  • Modify source code files
  • Modify the diagram during verification (report findings only)

ALWAYS:

  • Verify every named component exists in the codebase
  • Trace actual code paths for every connection
  • Determine read/write directionality for every connection
  • Report findings to terminal, not to files

Verification Workflow

Step 0: Validate Mermaid Syntax (Rendering Check)

This step runs BEFORE semantic verification. Extract every mermaid code block and check for syntax errors that would prevent rendering.

For each ```mermaid block, validate:

1. Node label quoting:

  • [...] node content must NOT contain unescaped double quotes
  • BAD: A["value = "hello""] — inner quotes break the parser
  • GOOD: A["value = hello"] or A[value = hello]
  • Check: scan all [...] and (...) node definitions for " inside content

2. Bracket balance:

  • Every [ has a matching ] on the same line (for node definitions)
  • Every ( has a matching ) on the same line
  • Exception: ([...]) stadium shapes have nested brackets — count outer pair

3. Special characters in node labels:

  • Parentheses () inside [...] labels break parsing — rephrase or remove
  • Pipe | inside node labels conflicts with edge label syntax
  • Curly braces {} inside node labels conflict with rhombus/decision syntax
  • Hash # at start of label can be misinterpreted

4. Edge label syntax:

  • Edge labels must use -->|"label"| or -->|label| format
  • Unmatched pipe chars on edge lines break parsing

5. Subgraph naming:

  • subgraph NAME ["Display Title"] — the ["..."] is valid mermaid syntax
  • But subgraph NAME [Display Title] without quotes is NOT valid if title has spaces

Read the full file on GitHub · 204 lines

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. 8d ago First seen · 204 lines · 50 tokens per session scan A bc93d784c16f

Subscribe to this mod's changes

verify-diag is a skill published in the GitHub repository TalonT-Org/AutoSkillit (5 stars, last pushed 9d ago), licensed MIT. It adds 50 tokens to every session and 1,806 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.