Borrowing it
Nothing to install: this file belongs to aemsites/author-kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/aemsites/author-kit/main/.agents/skills/svg-prep/SKILL.mdgit clone --depth 1 https://github.com/aemsites/author-kitWrote 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/aemsites/author-kit/svg-prep)<a href="https://agentmods.dev/skills/aemsites/author-kit/svg-prep"><img src="https://agentmods.dev/badge/skills/aemsites/author-kit/svg-prep/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/aemsites/author-kit/svg-prep"><img src="https://agentmods.dev/badge/skills/aemsites/author-kit/svg-prep.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.00060 | $0.02153 |
| Opus 5.5 | $0.00024 | $0.00861 |
| Sonnet 5.5 | $0.00012 | $0.00431 |
| Haiku 4.5 | $0.00006 | $0.00215 |
Grade A, and why
svg-prep 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.
How it starts
The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SVG prep
Icons are referenced, never inlined: <use href="/img/icons/<name>.svg#icon">. Only inherited
properties cross that shadow boundary, which makes two things in the file load-bearing rather than
stylistic — the root id="icon", because a fragment that resolves to nothing renders nothing, and
currentColor, because a fill="#1a1a1a" is not a default that CSS can override later, it is
permanent. An editor export satisfies neither.
This skill rewrites what is mechanical and reports what is a decision. A finding never silently becomes an edit.
Running it
node .agents/skills/svg-prep/prep.js <path…> [--flatten] [--keep=<value>] [--palette]
A path is a file or a directory — its .svg children, one level, no recursion. Files are
rewritten where they sit, so git diff is the review. Nothing is moved and nothing is renamed.
--palette takes one path, never a directory. It suppresses paint conversion on every file in
the run, not only on the one that needed it — a monochrome icon caught in a --palette run over
img/icons/ is written with its hex fill intact. Each file it suppressed says so, so read the
report rather than the exit code, and point the flag at the single file that earned it.
img/icons/globe.svg 713 → 662 bytes
ℹ viewbox-grid: viewBox "0 0 20 20" — renders correctly; re-export on 0 0 24 24 if stroke weight has to match the set
img/icons/helix-color.svg not written
ℹ viewbox-grid: viewBox "0 0 512 512" — renders correctly; re-export on 0 0 24 24 if stroke weight has to match the set
✗ multi-color: 2 distinct colors: #ed2c85, #b64aa1
✗ means that file was left untouched and the run exits 1. Every other file in the run is still
written, so working an error is a re-run of the one file, not of the set. ⚠ and ℹ are on a file
that is already written — read them, then decide.
Rewritten silently
Root id |
set to icon, whatever it was |
viewBox |
required; synthesized from width/height when absent |
width/height |
removed from root |
xmlns |
added when absent; xmlns:xlink dropped, xlink:href → href |
| Paint | every fill, stroke and stop-color color → currentColor; none preserved |
| Illustrator classes | <defs><style>.cls-1{fill:#ed2c85}</style></defs> resolved onto elements, then <style> and class dropped |
Inline style |
paint declarations treated as paint, then the attribute removed |
<script>, on* |
stripped |
<metadata>, <title>, <desc>, comments, data-name, xml:space, serif:id |
stripped |
Descendant id |
stripped when unreferenced, kept when a url(#…) points at it |
| XML prolog | dropped |
| Formatting | one element per line, two-space indent |
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed · -1 tokens per session ab35e7062474
- 2mo ago First seen · 141 lines · 61 tokens per session scan A 738160a9e0df
svg-prep is a skill published in the GitHub repository aemsites/author-kit (12 stars, last pushed 29d ago), licensed Apache-2.0. It adds 60 tokens to every session and 2,153 once invoked, about $0.0002 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-30.
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.
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.
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).
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.
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).
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.