Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Diagram Builder

ASecurity

Use when the user wants to build, extend or narrate a diagram deck -- an architecture map, a timeline, a process flow, a planner board, a side-by-side comparison, a mind-map or a slide-style explanation -- or wants a narrated video of a deck. Not for charts, plots or numeric visualization (route those to dataviz). Triggers -- "build a diagram", "architecture diagram", "diagram deck", "timeline diagram", "flow diagram", "planner board", "comparison diagram", "add a page/section/component to th...

4 stars
0 votes
0 copies
0 views
Added 9/23/2026
ai-agentsrustaws

Works with

cli

Security Analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned 10/7/2026

$npx -y skills add metraton/gaia --skill diagram-builder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Diagram Builder?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Diagram Builder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/metraton-diagram-builder/badge)](https://www.skillsdirectory.com/skills/metraton-diagram-builder)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: diagram-builder
description: Use when the user wants to build, extend or narrate a diagram deck -- an architecture map, a timeline, a process flow, a planner board, a side-by-side comparison, a mind-map or a slide-style explanation -- or wants a narrated video of a deck. Not for charts, plots or numeric visualization (route those to dataviz). Triggers -- "build a diagram", "architecture diagram", "diagram deck", "timeline diagram", "flow diagram", "planner board", "comparison diagram", "add a page/section/component to the diagram", "make a video of the deck", "arma un diagrama", "diagrama de arquitectura", "haz un timeline", "diagrama de flujo", "tablero de planificación", "haz un video del deck".
---

# Diagram Builder

Diagram Builder turns an idea, a problem or an explanation into a deck: pages
of boxes that explain it at a glance and, when asked, a narrated video of that
deck. You hold the conversation with the person; a subagent writes the YAML and
runs the checks.

```
document      the deck: title, look, core chips, pages in order
 └─ page      one claim, opened by its lead band
     └─ section     a frame that groups; sections nest freely
         └─ component   box · separator · rail · spacer
chips         questions on top; clicking one lights the components it names
```

Everything a deck is lives in YAML under `data/`: how many sections, where, in
what order, with which colour and size. Components flow left to right, then
down, and that order is the reading order. As the screen narrows the grid folds
in steps until it reads top to bottom like text, so the order is the story on
any screen. The engine draws no arrows: a relation is order plus a chip. The
seed (`assets/`) is the engine plus a tour deck, copied once per deck; no deck
needs its code touched.

## Principles

1. **General to particular.** Each phase settles what the next takes for
   granted: understanding before structure, structure before conventions,
   conventions before the shape, the shape before the build, the build before
   the voice. A skipped phase is paid in rebuild loops.
2. **Truth before drawing.** Confirm in the source how the thing really works
   before proposing its shape; a page that explains wrong is worse than none.
   Order appears only where a real order exists.
3. **Structure is the claim.** Distinct things are distinct sections, the parts
   of one thing are components inside it, what crosses them is a chip. Geometry
   serves meaning: never fold two things together to fill a rectangle; a hole
   is closed or declared.
4. **Creativity needs the whole toolbox.** Every property of every piece is a
   visual channel: width, height, order, colour, border, alignment, text.
   Knowing all of them ([toolbox.md](toolbox.md)) is what lets a page say
   something no template foresaw; knowing a few produces boxes in columns. Each
   channel used carries one claim, and the page declares it.
5. **Patterns make it learnable.** A deck agrees its conventions once (what a
   kicker carries, how chips are phrased, what each colour means) and keeps
   them on every page; a reader who learns them on page one reads the rest for
   free.
6. **The face is for a beginner, the detail for the expert.** Titles and
   subtitles in everyday words; the real name and the why behind the click.
7. **Decide cheap, fix expensive.** A row changed in a table costs minutes; a
   page changed after the build costs a loop. Every phase closes on the
   person's yes, and a requested change touches only what was asked.
8. **The checks are deterministic.** build, model, census and contrast prove
   the deck is well formed; the person's eye judges whether it says what was
   meant. No browser is opened for a diagram; only the video needs one.

## Doors

- A new idea: phase A.
- An existing deck: read its `data/` and its census, then enter at the phase
  the change touches.
- A deck fed by data: a script generates the YAML from its source on every run;
  phases A-D shape what the script emits, and generated YAML is never edited by
  hand.
- A video of a closed deck: phase F.

## Phases

Every phase runs the same way: you state what you consider and why, the person
corrects it as often as needed, and the phase closes on their yes. The first
idea that comes to mind is rarely the best: weigh the alternatives before
proposing, and name the one you set aside when the choice was close.

**A. Understand.** Ask what the reader should understand or decide afterwards,
who reads it, where it will be seen (that answer later picks the look, see
[toolbox.md](toolbox.md), Look), and in which language. Read the source.
Deliver what you understood, in a few plain sentences, with no drawing.
Approved: the understanding.

**B. Structure.** Propose how many pages and in what order, and the form of
each page (the catalogue is in [toolbox.md](toolbox.md), Forms) with why it
fits. The form is chosen per page, so one deck can mix forms. When the choice
is genuinely open, offer up to three, each with what it gives up, and recommend
one. Approved: the structure.

**C. Conventions.** Agree each page's objective in one sentence and the
sentence that hands it to the next; what kickers carry; whether chips are
questions or numbered moments; the colour legend; the face's register.
Approved: the conventions.

**D. Shape.** Per page, a table in the console: sections, their components
(kicker, title, description), the sizes that carry meaning, and, for each
component, whether it opens a detail and what that detail defines, in a few
words. You propose the chips and their members; the person confirms or changes
them. The detail text is not discussed here: it is a fact, written at build
time from the source, and the person reads it in the built deck. Approved: the
tables.

**E. Build.** Ask where the deck lives. Hand the subagent the approved tables
and conventions ([build.md](build.md)). It returns the YAML, the check results
and the census; read the census against the tables and name every difference
before the person opens the deck. A difference you name reaches the person as a
decision; one you missed reaches them as a surprise. Approved: the built deck,
once the person has opened it.

**F. Video**, offered once the deck is closed. Agree the script with the person
([video.md](video.md)). Draft with Kokoro at 480p to judge rhythm in minutes;
final with Chatterbox at 1440p (2K). Both are offered with their trade-off.

## Anti-patterns

- **Drawing to discover what to say.** The drawing then decides the story, and
  every correction to the story becomes a rebuild.
- **Assuming how the thing works.** The deck looks right and teaches something
  false, and nobody checks a page that looks right.
- **The first idea proposed without weighing others.** The person approves what
  was shown, not what was best, and never learns there was a choice.
- **A convention invented per page.** The reader relearns the deck on every
  page, so the pattern stops teaching.
- **A channel nobody declares**, a colour or a dashed frame that means nothing.
  The reader looks for the meaning anyway and finds a wrong one.
- **Changing more than was asked.** The person has to review everything again,
  and stops trusting that an approved part stays approved.
- **Animating before the script; a voice that reads the titles.** The video
  repeats the page instead of explaining it, and the pace follows the
  animation instead of the meaning.

## Where the rest lives

- [toolbox.md](toolbox.md): every piece and every property, required or
  optional, its values and what it changes on screen; the forms; the measured
  limits; where the seed shows each piece.
- [build.md](build.md): for the subagent; the build lane and the checks, and
  how the census is read against the agreed tables.
- [video.md](video.md): the questions for the script, the script itself
  (connectors, pace, pauses), the voices, the steps.
- [assets/README.md](assets/README.md): the engine and how to serve it.
</content>
</invoke>

Attribution

metratonmetraton
View sourceSee grades on GitHubMore from metraton →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698461 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →