svg-export

svg-export is a skill for Claude Code from ChanMeng666/svg-animation-studio. It costs 119 tokens per session (1,290 once invoked), scanned A, original, MIT.

A finishing workflow for an already-rendered SVG, which is a scalable image format commonly used on websites.

In plain words
What is it for?
Use it to optimize, validate, and export an SVG preset after it has been rendered and visually checked.
Why use it?
It checks for common structural problems, reduces file size, adds accessibility information, and places the final file where requested.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to optimize, validate, and export an SVG preset after it has been rendered and visually checked.

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

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 svg-export

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chanmeng666/svg-animation-studio/svg-export"><img src="https://agentmods.dev/badge/skills/chanmeng666/svg-animation-studio/svg-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,290 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.00119 $0.01290
Opus 5.5 $0.00048 $0.00516
Sonnet 5.5 $0.00024 $0.00258
Haiku 4.5 $0.00012 $0.00129

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

Security

Grade A, and why

svg-export 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 3mo 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/svg-export/SKILL.md · 124 lines

How it starts

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

You finalize an SVG that's already been rendered and visually verified. You're the last step before the file leaves the repo. Your job: make it small, accessible, and well-named.

What was passed in

$ARGUMENTS[0] is the preset slug (must exist in output/). $ARGUMENTS[1..N] may include --out=<path> to copy the final file somewhere outside output/.

If no slug, return:

usage: /svg-export <preset-slug> [--out=<path>]

If output/<slug>.svg doesn't exist, ask the caller to run /svg-animate (or node lib/render-cli.js <slug>) first.

Step 1 — Verify the source

Read output/<slug>.svg. Sanity-check:

  • Contains <svg opening tag and </svg> closing tag.
  • Has a viewBox attribute (otherwise scaling is broken).
  • Has a <title> element (presets emit it via composeSVG's title opt). If missing, fall back to the slug. Log a warning — presets should set title and desc explicitly.

If structural checks fail, return:

EXPORT FAILED: Source: output/.svg Re-render via /svg-animate or node lib/render-cli.js <slug>.

Step 2 — Optimize with SVGO

The repo ships an animation-safe svgo.config.mjs at its root, which SVGO picks up automatically. Just point at input + output:

npx svgo -i output/<slug>.svg -o output/<slug>.min.svg

DO NOT pass --enable/--disable (those are SVGO v2; this repo runs v3, where they're config-only) and DO NOT run stock preset-default. Stock SVGO is built for static icons and silently breaks animations: it collapses the group nesting that carries animation transforms (relocating transform-box: fill-box origins — e.g. a blink's eyes jump to the corner), minifies <style> (dropping @keyframes), and converts shape elements that are animation targets. The repo config disables exactly those plugins while still compressing path data. See docs/embedding-animated-svg.md.

Capture before/after sizes. Typical savings: 35–40% on an animated preset. If savings are < 5%, the file is already small — that's fine, not a problem.

Read the full file on GitHub · 124 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. 3mo ago First seen · 124 lines · 119 tokens per session scan A 3b229268cb8f

Subscribe to this mod's changes

svg-export is a skill published in the GitHub repository ChanMeng666/svg-animation-studio (3 stars, last pushed 1mo ago), licensed MIT. It adds 119 tokens to every session and 1,290 once invoked, about $0.0005 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

svg-export compared with skills from other repositories

svg-export next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
svg-exportChanMeng666/svg-animation-studioSkill31mo agoMITA119Claude Code
oil-motionoil-oil/oil-motionSkill3.0kyesterdayMITA172Codex
visual-qacode-yeongyu/oh-my-openagentSkill71ktodaynoneA78Claude Code, Codex
brand-style-guiderampstackco/claude-skillsSkill1.1k14d agoMITA138Claude Code
information-architecturerampstackco/claude-skillsSkill1.1k14d agoMITA131Claude Code
journey-mappingrampstackco/claude-skillsSkill1.1k14d agoMITA131Claude Code
usability-testingrampstackco/claude-skillsSkill1.1k14d agoMITA121Claude Code