trove-diagram-design

trove-diagram-design is a skill for Claude Code from bravew/trove. It costs 177 tokens per session (976 once invoked), scanned A, original, MIT.

A set of instructions for creating diagrams and charts as self-contained HTML files, with options to export them as SVG or PNG images. It covers formats such as flowcharts, timelines, database diagrams, and heatmaps.

In plain words
What is it for?
Use it to make architecture diagrams, process charts, database schemas, timelines, organization charts, and other structured visuals.
Why use it?
It gives coding agents a defined visual style and ready-made patterns instead of requiring them to invent a diagram format each time. It also explains how to check the result against the design rules.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the trove-design plugin — 5 skills shipped together

Good fit Use it to make architecture diagrams, process charts, database schemas, timelines, organization charts, and other structured visuals.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bravew/trove/trove-diagram-design
View source ↗ bravew/trove
Install

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.

Any agent
npx skills add bravew/trove --skill trove-diagram-design
Clone the repo
git clone --depth 1 https://github.com/bravew/trove

Made for: Claude Code.

Or install trove-design, the plugin that ships this one along with the rest of its 5 skills.

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 trove-diagram-design

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bravew/trove/trove-diagram-design"><img src="https://agentmods.dev/badge/skills/bravew/trove/trove-diagram-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 177 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 976 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.00177 $0.00976
Opus 5.5 $0.00071 $0.00390
Sonnet 5.5 $0.00035 $0.00195
Haiku 4.5 $0.00018 $0.00098

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

Security

Grade A, and why

trove-diagram-design 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 20d 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.

plugins/trove-design/.agents/skills/trove-diagram-design/SKILL.md · 81 lines

How it starts

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

Session Init

This skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.

trove-diagram-design

A thin front over the diagram-design skill, byte-synced from cathrynlavery/diagram-design at the revision recorded in upstream.yaml. references/LICENSE.md carries the upstream MIT notice.

Read the manual first

Load references/runtime-spec.md before the first diagram in a session. It is the operating manual: the style-guide gate, the type catalog, the semantic patterns, the templates, and the self-check. This front restates none of it, so nothing here can drift from the vendored spec.

The spec was written as the skill's top-level SKILL.md. Every path in it is relative to the skill directory, not to references/. A link such as references/profiles.md or assets/template.html means [skill-dir]/references/profiles.md and [skill-dir]/assets/template.html.

[skill-dir] is the directory holding this SKILL.md. Hosts rewrite the placeholder (Cursor and others use [skill-dir]); resolve it to that directory before reading or running anything.

Prerequisites

  • python3 for the scripts in scripts/ (self-check, geometry verifier, SVG export, and the draw.io, Mermaid, Excalidraw, and PlantUML extractors). They use the standard library only.
  • PNG export alone needs Playwright and a browser provisioned by the user. references/export.md owns the detection step and the exact message to give when it is missing.

Run scripts with the user's project as the working directory and the script by its absolute path:

python3 [skill-dir]/scripts/self_check.py path/to/diagram.html

Do not install anything, and do not run a package manager to work around a missing dependency.

What Trove does not bundle

  • The example gallery. assets/example-*.html and assets/index.html (about 4.4 MB) are not shipped. When the spec says to start from or compare against example-<type>.html, start from the matching assets/template*.html and the type reference references/type-<type>.md instead. If the user wants to browse the gallery, point them to the upstream repository.
  • Upstream repository tooling. Steps the spec marks "from a repository checkout" (for example <repo-root>/scripts/verify-motion.py) do not apply to an installed skill. Follow the spec's installed-skill alternative.

Read the full file on GitHub · 81 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 20d ago Changed · +2 lines acbeb7529935
  2. 21d ago First seen · 79 lines · 177 tokens per session scan A d730c189e587

Subscribe to this mod's changes

trove-diagram-design is a skill published in the GitHub repository bravew/trove (11 stars, last pushed today), licensed MIT. It adds 177 tokens to every session and 976 once invoked, about $0.0007 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-11-11.

Related

trove-diagram-design compared with skills from other repositories

trove-diagram-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
trove-diagram-designbravew/troveSkill11todayMITA177Claude Code
webgl-holographic-foilnexu-io/open-designSkill111ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill111ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill111ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11k8d agoApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.7ktodayMITA47Claude Code