helpers: Skill for Claude Code

.claude/skills/figure.create_svg_from_description/SKILL.md

figure.create_svg_from_description is a skill for Claude Code from causify-ai/helpers. It costs 10 tokens per session (1,550 once invoked), scanned A, original, Apache-2.0.

A guide for generating clean SVG diagrams from an image or written description. SVG is a text-based image format that stays sharp when resized.

In plain words
What is it for?
Use it to turn a diagram or concept into publication-style SVG code with a defined layout, typography, color meanings, and callouts.
Why use it?
Technical figures need consistent sizing, labels, colors, spacing, and readable text. This guide sets those conventions so generated diagrams can fit into a technical book.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is causify-ai/helpers's own configuration. It tells Claude Code how to work on helpers 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 helpers configures →

Reuse

Borrowing it

Nothing to install: this file belongs to causify-ai/helpers. 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/causify-ai/helpers/master/.claude/skills/figure.create_svg_from_description/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/causify-ai/helpers

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 figure.create_svg_from_description

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/causify-ai/helpers/figure.create_svg_from_description"><img src="https://agentmods.dev/badge/skills/causify-ai/helpers/figure.create_svg_from_description.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,550 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 3
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
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.00010 $0.01550
Opus 5 $0.00005 $0.00775
Sonnet 5 $0.00002 $0.00310
Haiku 4.5 $0.00001 $0.00155

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

Security

Grade A, and why

figure.create_svg_from_description 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 9d 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/figure.create_svg_from_description/SKILL.md · 143 lines

How it starts

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

Task

  • You are a technical illustrator creating publication-quality figures for a technical book

  • You receive either:

    1. An image of a diagram
    2. A textual description of a concept or situation

Generate an SVG Image for the Description of the Diagram

  • Generate the diagram as clean SVG using these strict conventions below

Canvas & Layout

  • viewBox="0 0 680 [H]": always 680px wide, height fitted to content + 40px padding
  • Safe drawing area: x=40–640, y=40–(H-40)
  • No backgrounds: figures embed on white or gray pages
  • Left margin (x=40–140): y-axis labels, row annotations
  • Right margin (x=540–640): callout labels with dashed leader lines
  • Center (x=140–540): the actual figure

Typography (two Sizes Only)

  • 14px, weight 500 → component names, axis titles (class="th")
  • 12px, weight 400 → sub-labels, callouts, tick marks (class="ts")
  • Sentence case everywhere. Never ALL CAPS or Title Case.
  • All must carry class="t", "ts", or "th": never unclassed
  • SVG never wraps: use explicit for line breaks

Color System (encode Meaning, Not Sequence)

Use these ramp classes on or shape elements: c-blue → primary subject / main flow c-teal → secondary system / output c-purple → algorithmic / ML concepts c-amber → warnings, heat, energy, active state c-coral → errors, pressure, forces c-gray → structural, neutral, background elements c-green → biological, growth, success states

Light mode: 50-stop fill + 600-stop stroke + 800 title / 600 subtitle text Max 3 color ramps per figure. Add a 1-line legend if color encodes data.

Strokes & Geometry

  • All connector/arrow paths: fill="none" stroke-width="1.5"
  • Box borders: stroke-width="0.5" (refined, not heavy)
  • Box corners: rx="4" default, rx="8" for emphasized nodes
  • Arrow marker: always include this exact block:
  • Dashed leaders: stroke-width="0.5" stroke-dasharray="4 3" opacity="0.6"
  • No drop shadows, gradients, blur, or glow (exception: one linearGradient for a continuous physical property like temperature)

Read the full file on GitHub · 143 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. 9d ago First seen · 143 lines · 10 tokens per session scan A 198d773a10cf

Subscribe to this mod's changes

figure.create_svg_from_description is a skill published in the GitHub repository causify-ai/helpers (145 stars, last pushed today), licensed Apache-2.0. It adds 10 tokens to every session and 1,550 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens