helpers: Skill for Claude Code

.claude/skills/figure.create_svg/SKILL.md

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

An SVG diagram generator that turns an image or a written description into SVG code. SVG is an image format that stays sharp when resized and can be edited as text.

In plain words
What is it for?
Use it for flowcharts, structural diagrams, illustrative figures, or converting a sketch into SVG code for a web page or book.
Why use it?
It provides a repeatable way to create diagrams without drawing each one manually. It is intended for diagrams and illustrations rather than photographs or data charts.

Skill for Claude Code

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/causify-ai/helpers/figure.create_svg"><img src="https://agentmods.dev/badge/skills/causify-ai/helpers/figure.create_svg.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 800 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.00010 $0.00800
Opus 5.5 $0.00004 $0.00320
Sonnet 5.5 $0.00002 $0.00160
Haiku 4.5 $0.00001 $0.00080

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

Security

Grade A, and why

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

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/SKILL.md · 100 lines

How it starts

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

Goal

  • You are a technical illustrator creating publication-quality figures for a technical book
  • Generate clean SVG diagrams from either an image or a textual description of a concept

When to Use

  • Use this skill when you need to:
    • Create publication-quality diagrams, flowcharts, or illustrative figures
    • Convert hand-drawn sketches or existing images into reproducible SVG code
    • Generate figures with dark-mode-aware, semantic coloring for a book or web page

When NOT to Use

  • Do not use this skill for:
    • Complex photographs requiring photorealistic rendering
    • Quantitative data charts (use Chart.js or D3 instead, per Figure Types)
    • Entity-relationship or class diagrams (use mermaid.js instead, per Figure Types)

Workflow

Receive and Understand the Input

  • You receive either:
    1. An image of a diagram
    2. A textual description of a concept or situation

Choose Figure Type

  • Follow the section Figure Types from .claude/skills/svg.rules.md to select the appropriate diagram type (FLOWCHART, STRUCTURAL, ILLUSTRATIVE, etc.)

Generate SVG Code

  • Generate the diagram as clean SVG using the conventions from .claude/skills/svg.rules.md

  • Key sections to follow:

    • Canvas & Layout (viewBox dimensions and safe drawing areas)
    • Typography (font sizes, weights, and text styling)
    • Color System (use of ramp classes for semantic meaning)
    • Strokes & Geometry (paths, arrows, and box styling)
    • Accessibility (role attributes and descriptions)
    • Dark Mode (class-based color handling)
    • Advanced Patterns (for special diagram types)
  • If converting from an image <IMAGE>, reproduce the layout precisely: preserve proportions, relative positions, and symmetry

Save the File

  • Save the generated SVG code to ./svg_figure.svg in the current directory (not in .claude/). Output only valid SVG code without markdown formatting or explanations

Render to Image

  • Render the SVG to a PNG for inspection:
    > inkscape svg_figure.svg --export-type=png --export-filename=output.png
    

Read the full file on GitHub · 100 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. 1mo ago First seen · 100 lines · 10 tokens per session scan A 2abca214cf8e

Subscribe to this mod's changes

figure.create_svg is a skill published in the GitHub repository causify-ai/helpers (150 stars, last pushed today), licensed Apache-2.0. It adds 10 tokens to every session and 800 once invoked, about $0.0000 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-09-13.

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 $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

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

glance-canonical-layouts

Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).

android/skills · 56 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