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 | $0.00064 | $0.00802 |
| Sonnet 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 11d 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.
- 11d 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 (2 stars, last pushed 2mo ago), licensed MIT. It adds 129 tokens to every session and 1,604 once invoked, about $0.0006 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-31.
Other skills, from other repositories
information-architecture
Design the structure of a website or product including sitemap, navigation, URL structure, content types, taxonomy, and labeling. Use this skill whenever the user asks to plan a sitemap, design navigation, structure URLs, define content types, build taxonomies, design site search, or organize content at the system…
internationalization
Plan and run a multi-language or multi-region site. Use this skill when adding new locales, choosing URL structure for languages (subfolders vs subdomains vs ccTLDs), implementing hreflang, planning translation workflow, handling currency and date formats, designing for RTL languages, or auditing a stalled…
frontend
Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.
ambience-skill
Layer A ambience-and-typographic-motion reference anchored to the react-bits catalog (reactbits.dev). Stacks on any style skill whenever work adds a hero atmosphere, an animated or shader background, a typographic reveal (split, blur, shimmer, typewriter, count-up, marquee), scroll storytelling, or card surface…
interaction-skill
Layer A interaction-mechanics reference anchored to the beui.dev catalog. Stacks on any style skill whenever work adds or changes motion or interaction — micro-interactions, animated components, transitions, gestures, hover/press/state feedback, loading/success/error morphs, 'make it feel alive'. Mandates reading the…
layout-skill
Layer A layout-mechanics reference. Stacks on any style skill when the screen is an app shell, dashboard, settings, list-detail, mail/inbox, or any layout with fixed regions plus a scrolling body — or when a layout breaks under long, empty, or unbroken content. Owns spatial structure and scroll ownership; owns zero…