cmd-svg

cmd-svg is a command for Claude Code from AgentsORG/design-engineering. It costs 0 tokens per session (542 once invoked), scanned A, original, MIT.

An SVG command for creating or cleaning editable vector graphics, animating them when appropriate, or converting frames or a video clip into an editable animated SVG.

In plain words
What is it for?
Use it for icons and illustrations, SVG animation, path-shape changes, or turning frame sequences and clips into vector artwork.
Why use it?
It keeps graphics consistent with the project's design tokens and preserves important SVG structure such as viewBox, titles, descriptions, and animation identifiers during cleanup.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the design-engineering plugin — 1 skill, 17 commands, 13 agents, 1 hook shipped together

Good fit Use it for icons and illustrations, SVG animation, path-shape changes, or turning frame sequences and clips into vector artwork.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/agentsorg/design-engineering/cmd-svg
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.

Clone the repo
git clone --depth 1 https://github.com/AgentsORG/design-engineering

Made for: Claude Code.

Or install design-engineering, the plugin that ships this one along with the rest of its 1 skill, 17 commands, 13 agents, 1 hook.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/agentsorg/design-engineering/cmd-svg"><img src="https://agentmods.dev/badge/commands/agentsorg/design-engineering/cmd-svg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 542 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.00000 $0.00542
Opus 5.5 $0.00000 $0.00217
Sonnet 5.5 $0.00000 $0.00108
Haiku 4.5 $0.00000 $0.00054

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

Security

Grade A, and why

cmd-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 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.

skills/design-engineering/references/commands/cmd-svg.md · 35 lines

What it actually says

/design-engineering svg

The second word picks the job. Without one, create applies to a new or messy file and animate to a clean file the user wants moving.

svg create

  1. Read [[svg-creation]] and [[icon-systems]], plus [[svg-animation]] if the asset will move. Read [[gotchas]] and [[pov]], and take colours, stroke weight and the icon set from the project's contract.
  2. Draw on a whole-number grid with named groups, currentColor or var(--token, #fallback) colours, and <defs> / <symbol> for repeats; or refactor the given file into that shape.
  3. Run SVGO with viewBox, animated ids and <title> / <desc> preserved, then diff the render.
  4. Return the file, its size before → after, and a [[review-format]] table for a refactor.

svg animate

  1. Decide whether it should move at all ([[animation-decision-framework]]). If the file has unnamed groups or no viewBox, run create first.
  2. Read [[svg-animation]], plus [[svg-path-morphing]] for shape changes, or [[video-to-vector-pipeline]] for frames or a clip.
  3. Pick the engine for where the file lives: inline CSS / WAAPI; the project's motion library; embedded keyframes or SMIL when it is used as an <img>; or node scripts/svg-flipbook.mjs for frames. Take values from [[easing-curves]] and [[duration-table]], and add the reduced-motion path.
  4. Return the motion plan (trigger, engine, groups, values, reduced motion, size) and the file.

svg sticker

An animated isometric sticker → [[isometric-stickers]]; with fun-isometric installed → [[fun-isometric-reconciliation]].

Hand-offs

  • Timing questions beyond the file (a page transition, a gesture) → [[cmd-motion]].
  • A reveal that should make a sound → [[cmd-sound]], cued to the contact frame.
  • Icons going into a faux product demo → [[cmd-stage]].
  • You may delegate to the svg-creator or svg-animator subagent where the host has them.
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 · +5 lines f54bf08cae90
  2. 1mo ago First seen · 30 lines · 0 tokens per session scan A 8c62d4eb0caa

Subscribe to this mod's changes

cmd-svg is a command published in the GitHub repository AgentsORG/design-engineering (48 stars, last pushed 16d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 542 tokens. 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-10-31.

Related

cmd-svg compared with commands from other repositories

cmd-svg next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cmd-svgAgentsORG/design-engineeringCommand4816d agoMITA0Claude Code
design-empathyimsaif/design-with-claudeCommand1113d agoMITA57Claude Code
anti-slop-designerimsaif/design-with-claudeCommand1113d agoMITA44Claude Code
design-criticimsaif/design-with-claudeCommand1113d agoMITA41Claude Code
design-enforceimsaif/design-with-claudeCommand1113d agoMITA40Claude Code
design-grillimsaif/design-with-claudeCommand1113d agoMITA38Claude Code
design-triageimsaif/design-with-claudeCommand1113d agoMITA33Claude Code