visualcave

visualcave is a skill for Claude Code, Codex from varkart/visualcave. It costs 78 tokens per session (1,216 once invoked), scanned A, original, MIT.

A guide for creating technical diagrams as one self-contained HTML file, covering flows, timelines, data relationships, architecture, and other common diagram types.

In plain words
What is it for?
Use it to create flowcharts, sequence diagrams, ER diagrams, state machines, charts, project timelines, kanban boards, and cloud architecture illustrations.
Why use it?
It helps turn a complex technical relationship or process into a focused diagram with a readable structure.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the visualcave plugin — 1 skill shipped together

Good fit Use it to create flowcharts, sequence diagrams, ER diagrams, state machines, charts, project timelines, kanban boards, and cloud architecture illustrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/varkart/visualcave/visualcave
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 varkart/visualcave --skill visualcave
Clone the repo
git clone --depth 1 https://github.com/varkart/visualcave

Made for: Claude Code, Codex.

Or install visualcave, the plugin that ships this one along with the rest of its 1 skill.

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 visualcave

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/varkart/visualcave/visualcave"><img src="https://agentmods.dev/badge/skills/varkart/visualcave/visualcave.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,216 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.00078 $0.01216
Opus 5.5 $0.00031 $0.00486
Sonnet 5.5 $0.00016 $0.00243
Haiku 4.5 $0.00008 $0.00122

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

Security

Grade A, and why

visualcave 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 1mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/add-theme-selector.js, scripts/fix-init-pattern.js, scripts/inject-error-boundaries.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

SKILL.md · 85 lines

How it starts

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

VisualCave

Output a single self-contained .html file. No markdown wrapper unless the user asks for it.

Before You Draw

1. Identify the critical path. Every good diagram has one story — the single flow or relationship the viewer must understand immediately. Name it before writing any Mermaid code. Let it govern which nodes exist and how subgraphs are grouped. Nodes that don't serve the story get cut.

2. Pick scope ruthlessly. Aim for 8–15 nodes. Beyond 20 the diagram becomes unreadable. Group related details into a single labeled node rather than expanding every sub-step.

3. Choose labels like a senior engineer preparing a conference slide — not an autogenerated dump. Node labels: 2–4 words. Edge labels: 1–3 words. Subgraph titles: a noun phrase, not a sentence.

Style rules:

  • Thick strokes (2px), 4px drop shadow, rounded nodes.
  • Warm/cool subgraph alternation: yellow → blue → green → purple → teal → orange.
  • Inter font for UI; JetBrains Mono for code/math labels.
  • Pick the right Mermaid keyword — see references/diagram-types.md.

HTML Template

Read references/template.html verbatim. Replace:

  • [Diagram Title] and [Subtitle] in the header
  • The placeholder Mermaid source inside <div class="mermaid" id="diagram-source"> with the actual diagram

Do not alter the CSS, THEMES object, or script block unless a specific feature requires it.

Colors

classDef works in graph, classDiagram, stateDiagram-v2. For other types use themeVariables.

Class Fill Use for
:::yellow #FFFDE7 Users, browsers, entry points
:::blue #E3F2FD Services, APIs, compute
:::green #E8F5E9 Databases, storage, success
:::purple #F3E5F5 Auth, AI models, security
:::teal #E0F7FA Caching, CDN, external APIs
:::orange #FFF3E0 Queues, events, pipelines
:::note #FFF9C4 Annotations, callouts

Read the full file on GitHub · 85 lines

Files

What ships with it

47 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. 1mo ago First seen · 85 lines · 78 tokens per session scan A c5e4eab55a27

Subscribe to this mod's changes

visualcave is a skill published in the GitHub repository varkart/visualcave (2 stars, last pushed 1mo ago), licensed MIT. It adds 78 tokens to every session and 1,216 once invoked, about $0.0003 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

Other skills, from other repositories

openai-frontend-design

Use for new frontend applications, dashboards, games, creative websites, hero sections, and visually driven UI from scratch, or when the user explicitly asks for a redesign/restyle/modernization. Builds from clean, airy, high-taste, readable image-generated concept design with section-specific references, faithful…

fcakyon/claude-codex-settings · 71 tokens

ultralytics-branding

This skill should be used when creating Ultralytics-branded content of any kind, including PDF, PPTX, Canva, or Google Slides presentations, DOCX documents, marketing or newsletter HTML emails, social media post copy or visuals, website or landing page designs, and dataset or model result visuals. Provides official…

fcakyon/claude-codex-settings · 90 tokens

create-diagram

Create, update, or maintain tld architecture diagrams from a local codebase or system description. Use for architecture maps, component relationships, drill-down views, and requests to revise an existing tld diagram. Do not use for prose-only explanations or unrelated application changes.

Mertcikla/tld · 57 tokens

reimagine-it-extract

Emit the content signals reimagine-it reads from an HTML file — title, anchors, proper nouns, dates, numbers, emails, links, source hex colors, and the derived palette — as JSON without generating a redesign. Use when the user says /reimagine-it extract, "what does the engine see in this page", "extract the palette"…

Kayforkind/reimagine-it · 133 tokens

reimagine-it-generate

Generate one Content-Derived Design direction from an HTML source, or let Auto choose the strongest direction. Use when the user says /reimagine-it generate, "redesign this page", "make it a landing page", "turn this into an infographic", names a token (all 17: webpage, infographic, svg, 3js, simulation, artistic…

Kayforkind/reimagine-it · 150 tokens

reimagine-it-variations

Generate several distinct design directions from one HTML source plus a contrast sheet that shows every direction side by side. Use when the user says /reimagine-it variations, "show me options", "give me three takes", "which direction works best", or wants to compare design directions before choosing one. CLI: npx…

Kayforkind/reimagine-it · 103 tokens