vector-asset-sourcing
Skill0 starsChanged 2 months agoMITView on GitHub
Picks icon and illustration packs licensed for a commercial rendered video - license and credit matrix, one-pack stroke consistency, SVG and Lottie hygiene checks, pinning, assets manifest. Use when the user asks which pack to use for the animation, whether an SVG, Lottie or illustration may go in the video, or to add assets for its scenes. Not for app or web UI icons, scene layout, or animating.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-skillSkill
- publish-repoSkill
- animation-export-presetsSkill
- animation-frame-qaSkill
- animation-storyboardSkill
- smooth-motion-choreographySkill
- storytelling-animationSkill
- vector-scene-layoutSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Use when picking an icon or illustration pack for an animation, when someone asks "can we use this in the video", when adding SVG or Lottie …
- Very specific: line 22
Do NOT use for: placing or sizing assets in a scene (vector-scene-layout), animating them (smooth-motion-choreography), animated icon …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
vector-asset-sourcing
Chooses and checks the icons, illustrations, Lottie files and fonts that go into a rendered vector animation. It fixes three observed failures: mixing icon sets with different grids and stroke weights (the video looks assembled), shipping a client video with "free" assets that required a credit or forbade commercial use, and importing SVG/Lottie files that carry scripts, external images or expressions that do not render frame by frame.
When to use / when NOT to use
Use when picking an icon or illustration pack for an animation, when someone asks "can we use this in the video", when adding SVG or Lottie files to the project, or when the assets manifest needs writing or checking.
Do NOT use for: placing or sizing assets in a scene (vector-scene-layout),
animating them (smooth-motion-choreography), animated icon components for a web
UI, designing an app icon, or vectorising a raster logo.
Workflow
- Inventory what the storyboard needs: list every visual noun in
storyboard.json(visualfields) and mark which are icons, illustrations, or shapes you will draw yourself (rects, lines, connectors: draw them, do not source them). - Pick one pack from
references/license-matrix.md. Default: Lucide (ISC, 24 px grid, 2 px stroke) for icons; unDraw or Storyset-with-credit for people and scenes; LottieFiles public animations for a pre-animated flourish. Stay on one stroke weight. Prefer no-attribution licenses for client work. - Copy files into
public/with the pack's version pinned in the manifest (version,sourceURL). Never load assets from a CDN at render time. - Write
assets/manifest.json(contract inreferences/importing-assets.md, runnable example inassets/example/): one entry per file withlicensefrom the checker's list,attributiontext when the license needs it,fonts[]for every typeface. - Check and emit credits:
Fix every error (unknown license, missing credit, script/external ref/raster in an SVG, external images or expressions in a Lottie); resolve warnings about mixed packs or stroke weights by replacing the odd file, not by silencing the warning.python3 "${CLAUDE_SKILL_DIR}/scripts/check_assets.py" assets/manifest.json --write-attribution ATTRIBUTION.md - Hand off: the file list, the pack and stroke weight chosen, and the attribution
requirement (if any) go into the reply;
vector-scene-layoutimports frompublic/.
Output spec
public/holds every asset as SVG or Lottie JSON, no rasters.assets/manifest.jsonpassescheck_assets.pywith 0 errors.ATTRIBUTION.mdexists when any asset needs credit, and the reply says where the credit must appear (post text, slide notes, on screen).
Gotchas
- The license is on the file, not the site: LottieFiles public animations are free, marketplace files are not; SVGRepo relabels CC-BY as MIT. Follow the source link.
- Free tiers of Flaticon, Storyset, Icons8 and Lordicon all require a visible credit;
a paid tier removes it.
CC-BY-NC,NDand GPL assets fail the checker on purpose. - Icon packs are drawn on their own grid; one 1.5 px icon among 2 px icons is visible at headline size. Draw the missing shape instead of borrowing from a second pack.
- CSS-hover and Motion-driven "animated icon" libraries do not play in a frame
render (each frame renders alone); animate the static SVG with
useCurrentFrame(). - Lottie files with external images or After Effects expressions render blank or differ between preview and render; the checker rejects them.
- Brand logos: Simple Icons is CC0 for the drawing only; the trademark is not yours.
- Pin versions. The 2024
lottie-playernpm compromise hit every page loading an unpinned CDN build.
Pointers
scripts/check_assets.py— manifest, license and file checks;--self-test.references/license-matrix.md— packs, licenses, traps, fonts, supply chain.references/importing-assets.md— inline SVG vs<Img>, Lottie import, manifest contract.assets/example/— a passing manifest with own-work SVGs, a Lottie file and a font.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

