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.
npx skills add ChanMeng666/svg-animation-studio --skill svg-add-primitivegit clone --depth 1 https://github.com/ChanMeng666/svg-animation-studioWrote 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.
[](https://agentmods.dev/skills/chanmeng666/svg-animation-studio/svg-add-primitive)<a href="https://agentmods.dev/skills/chanmeng666/svg-animation-studio/svg-add-primitive"><img src="https://agentmods.dev/badge/skills/chanmeng666/svg-animation-studio/svg-add-primitive/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.
<a href="https://agentmods.dev/skills/chanmeng666/svg-animation-studio/svg-add-primitive"><img src="https://agentmods.dev/badge/skills/chanmeng666/svg-animation-studio/svg-add-primitive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00129 | $0.01604 |
| Opus 5.5 | $0.00052 | $0.00642 |
| Sonnet 5.5 | $0.00026 | $0.00321 |
| Haiku 4.5 | $0.00013 | $0.00160 |
Grade A, and why
svg-add-primitive 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.
How it starts
The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are extending the system's vocabulary. A new primitive is a long-term commitment — once shipped, presets will depend on it. Your job is to ship it correctly the first time, not to ship it fast.
What was passed in
$ARGUMENTS is the primitive's category-qualified name (e.g.,
motion.createOrbit, shapes.createStar, filters.createTurbulence).
If the argument is missing or unparseable, stop and ask the calling thread
to clarify with format <category>.<name>.
Why this skill exists
Without a gatekept extension path, lib/primitives/ quickly accumulates
inconsistent signatures, undocumented functions, and primitives used by no
one. The discipline below is what makes the library compound rather than
sprawl. See D:\github_repository\svg-animation-studio\docs\extension-protocol.md
for the rationale.
Step 1 — Read the existing category
Before adding to lib/primitives/<category>.js, read the whole file. Match:
- Naming:
create<Verb>for actions (createJump),create<Noun>for static elements (createMusicalNote). - Return shape:
motion.*→{ css: string, className: string }shapes.*→ raw SVG elementstringfilters.*→<filter>elementstring
- Opts pattern: single
opts = {}object; destructure with defaults at the top; never positional args. - ID generation:
motion.*usesuniqueId(prefix)and includes the className in the keyframe name to avoid collisions.shapes.*andfilters.*acceptidfrom the caller. - Counter reset: not your concern — the preset's
compose()callsmotion.resetIdCounter()at start.
Step 2 — Write the function
Add the new function to lib/primitives/<category>.js and to its
module.exports. Include a 1-line JSDoc above the function explaining what
motion / shape / filter it produces and what the key params control. Do
not pad the JSDoc with @param lines for every option — the lib-api.md
table is the contract for that.
Example skeleton (motion):
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.
- 3mo ago First seen · 165 lines · 129 tokens per session scan A df5d4edfa5d0
svg-add-primitive is a skill published in the GitHub repository ChanMeng666/svg-animation-studio (3 stars, last pushed 1mo ago), licensed MIT. It adds 129 tokens to every session and 1,604 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.
svg-add-primitive compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| svg-add-primitiveChanMeng666/svg-animation-studio | Skill | 3 | 1mo ago | MIT | A | 129 | Claude Code |
| stakeholder-communicationrampstackco/claude-skills | Skill | 1.1k | 14d ago | MIT | A | 103 | Claude Code |
| analytics-strategyrampstackco/claude-skills | Skill | 1.1k | 14d ago | MIT | A | 126 | Claude Code |
| content-strategyrampstackco/claude-skills | Skill | 1.1k | 14d ago | MIT | A | 120 | Claude Code |
| incident-responserampstackco/claude-skills | Skill | 1.1k | 14d ago | MIT | A | 117 | Claude Code |
| agb-begriff-vorformuliert-305Klotzkette/claude-fuer-deutsches-recht | Skill | 1.9k | 2d ago | Apache-2.0 | A | 68 | Claude Code |
| agb-auftrag-klaerenKlotzkette/claude-fuer-deutsches-recht | Skill | 1.9k | 2d ago | Apache-2.0 | A | 50 | Claude Code |