agentleFS
PaldomPaldom/storytelling-animation/skills/vector-asset-sourcing/SKILL.md

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.

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
  1. Distinctive:

    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 …

    line 18
  2. Very specific:

    Do NOT use for: placing or sizing assets in a scene (vector-scene-layout), animating them (smooth-motion-choreography), animated icon …

    line 22

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Inventory what the storyboard needs: list every visual noun in storyboard.json (visual fields) and mark which are icons, illustrations, or shapes you will draw yourself (rects, lines, connectors: draw them, do not source them).
  2. 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.
  3. Copy files into public/ with the pack's version pinned in the manifest (version, source URL). Never load assets from a CDN at render time.
  4. Write assets/manifest.json (contract in references/importing-assets.md, runnable example in assets/example/): one entry per file with license from the checker's list, attribution text when the license needs it, fonts[] for every typeface.
  5. Check and emit credits:
    python3 "${CLAUDE_SKILL_DIR}/scripts/check_assets.py" assets/manifest.json --write-attribution ATTRIBUTION.md
    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.
  6. Hand off: the file list, the pack and stroke weight chosen, and the attribution requirement (if any) go into the reply; vector-scene-layout imports from public/.

Output spec

  • public/ holds every asset as SVG or Lottie JSON, no rasters.
  • assets/manifest.json passes check_assets.py with 0 errors.
  • ATTRIBUTION.md exists 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, ND and 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-player npm 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.