text-to-lottie
Skill5.5k starsChanged 5 months agoMITView on GitHub
Create, edit, or fix Lottie/Bodymovin JSON animations for the local Skia Skottie player. Use for text-to-Lottie, SVG/logo/type animation, loaders/icons, state feedback, UI microinteractions, lower thirds, diagrams, data/stat/chart animations, product promos, scene/camera motion, visual effects, scene edits, slots/controls, and Skottie debugging.
4 other projects use a version of this.
Trending
Quiet since September.thin dataabout the whole repository
Most recently taken up by
- imMamdouhaboammar/motion-graphics-skillsword for word, first seen Oct 1, 2026
- Mily-Labs/agent-skillstheir own version, first seen Jul 21, 2026
- xeroc/skillsword for word, first seen Jul 17, 2026
- NolanSoloBuilder/skillstheir own version, first seen Jun 19, 2026
Who's talking about diffusionstudio/lottie
- A Hacker News story“Text-to-Lottie: Generate Lottie animations with coding agents”Hacker News · Jun 16, 2026 · 5 points
- A Hacker News story“Create lottie animations using your coding agent”Hacker News · Aug 12, 2026 · 2 points
- @adityamitra.bsky.social“found text-to-lottie $ npx skills add diffusionstudio/lottie https://github.com/diffusionstudio/lottie …”Bluesky · Jun 9, 2026 · 2 likes
- sudosubin/agents.nix“agent-skills.github.diffusionstudio.lottie: init at 1.0.0”GitHub · Sep 26, 2026
- aa-os/aaos-public“Evaluate Text-to-Lottie as an AAOS visual Decision Proof artifact specimen”GitHub · Jul 6, 2026
The biggest 5 of 6 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 6
Talked about on GitHub, Hacker News and Bluesky (6 times).
On GitHub · 3
- Sep 26, 2026agent-skills.github.diffusionstudio.lottie: init at 1.0.0 — sudosubin/agents.nix0 reactions
- Jul 6, 2026Evaluate Text-to-Lottie as an AAOS visual Decision Proof artifact specimen — aa-os/aaos-public0 reactions
- Jun 9, 2026[Feature]: Animated splash screen — a-streetcoder/agent-deck0 reactions
On Hacker News · 2
- Jun 16, 2026Text-to-Lottie: Generate Lottie animations with coding agents5 points
- Aug 12, 2026Create lottie animations using your coding agent2 points
On Bluesky · 1
- Jun 9, 2026found text-to-lottie $ npx skills add diffusionstudio/lottie https://github.com/diffusionstudio/lottie #claudecode #aitools #codex — @adityamitra.bsky.social2 likes and reposts
Other versions4 projects use a version of this.
Word for word · 2
- imMamdouhaboammar/motion-graphics-skills★ 15100% same
- xeroc/skills★ 1100% same
Edited · 0
None found.
Wrote their own version · 2
- NolanSoloBuilder/skills★ 3same name
- Mily-Labs/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use the official player project and verify in Skia Skottie.
- Distinctive: line 15
Keep the skill portable across Agent Skills clients.
- Distinctive: line 17
Prefer fewer questions and stronger defaults.
- Very specific: line 28
Always read references/player-contract.md before creating, editing, fixing, or verifying a scene.
- Very specific: line 70
Write or update public/projects/<project>/<scene-N>/lottie.json and, when useful, controls.json.
- Very specific: line 116
Use purposeful easing and staging.
- Very specific: line 120
Use slots for important editable values and add controls.json labels/ranges when they improve the properties panel.
- Distinctive: line 128
Prefer native text; reach for vector/shape text only for deliberate path effects (stroke-on, glyph morphs, handwriting).
- Distinctive: line 149
Check for blank canvas, missing assets, unstyled shapes, wrong layer order, bad easing, awkward timing, cropped content, text overflow, and …
- Distinctive: line 156
Do not read eval files during normal animation work.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Text To Lottie
Author production-ready Lottie JSON for the official local Skia Skottie player. The deliverable is a renderable scene in the player, not isolated JSON.
Operating Model
- Use the official player project and verify in Skia Skottie. Do not hand-roll a custom viewer or switch renderers for verification.
- Keep the skill portable across Agent Skills clients. Avoid host-specific commands, command modes, or orchestration conventions in skill instructions.
- Prefer fewer questions and stronger defaults. Ask only when a decision changes the output materially, such as transparent vs full-frame background, brand constraints, target format, or supplied source assets.
- Prioritize clean, intentional, professional motion over merely satisfying the literal prompt.
Reference Loading
This SKILL.md is the thin control plane. Load only one-level references that
match the task. Do not open the whole reference library.
Always read references/player-contract.md before creating, editing, fixing, or
verifying a scene. If a routed reference is unavailable, continue using the
inline rules in this file.
| User intent | References to read when present |
| Any new/edit/fix Lottie scene | references/player-contract.md |
| JSON structure, keyframes, slots, shapes, assets | references/lottie-spec-map.md |
| Logo animation | references/recipe-logo.md, references/motion-taste.md, references/design-taste.md |
| Typography, title, quote, text reveal | references/recipe-typography.md, references/design-taste.md, references/motion-taste.md |
| Lower third, name tag, caption bar, overlay | references/recipe-lower-thirds.md, references/design-taste.md, references/motion-taste.md |
| Loader, icon, spinner, badge animation | references/recipe-loaders-icons.md, references/motion-taste.md |
| Success, error, warning, completion, empty state | references/recipe-loaders-icons.md, references/design-taste.md, references/motion-taste.md |
| UI microinteraction | references/recipe-ui-microinteractions.md, references/design-taste.md, references/motion-taste.md |
| Generic "animate this SVG" or SVG-to-Lottie | references/recipe-svg-animation.md, references/svg-compatibility.md, references/motion-taste.md |
| Camera follow, pan, zoom, parallax, scene motion | references/recipe-camera-scene-motion.md, references/design-taste.md, references/motion-taste.md |
| Diagram, technical line animation, callout, flow trace | references/recipe-diagram-technical.md, references/design-taste.md, references/motion-taste.md |
| Data, stats, KPIs, charts, metrics, dashboard figures | references/recipe-data-stats.md, references/design-taste.md, references/motion-taste.md |
| Product launch, feature announcement, social promo | references/recipe-product-promo.md, references/design-taste.md, references/motion-taste.md |
| Long text, multiple ideas, list/features/steps, timeline, before/after, problem/solution, quote+proof, recap/story, product walkthrough, multi-language variations, chapters, multi-beat sequence, episode, jump/hard cuts, transition grammar | references/chapterization-transition-grammar.md, references/motion-taste.md |
| Glow, glass, metal, gradient, fill, bubble/burst effects | references/recipe-visual-effects.md, references/design-taste.md, references/motion-taste.md |
| SVG input inside logo/icon/UI/lower-third work | The task recipe plus references/svg-compatibility.md |
| Starter brief or reusable project direction | references/recipe-starter-projects.md, references/design-taste.md, references/motion-taste.md |
| Any "premium", "clean", "minimal", "modern", "sleek", or "polished" qualifier | references/design-taste.md (restraint defaults), plus the routed recipe |
For mixed prompts, choose one primary recipe from the main deliverable, then add secondary references for source format or visual treatment. Examples: SVG logo with glow uses logo as primary plus SVG compatibility and visual effects; product launch with pan/zoom uses product promo plus camera scene motion; technical SVG diagram tracing uses diagram/technical plus SVG compatibility; kinetic title with glass sweep uses typography plus visual effects.
Workflow
- Route the task using the table above. Read only the relevant references that exist.
- Locate the official player project and resolve the target scene using the
target precedence below. Before editing, verify the resolved path is
public/projects/<project>/<scene-N>/lottie.json; re-read that current file immediately before overwriting because the UI can write slot edits back to source. - Decide the background policy before authoring.
- Write or update
public/projects/<project>/<scene-N>/lottie.jsonand, when useful,controls.json. - Validate JSON, run or reuse the dev server, inspect exact frames with
?frame=N, and fix render/design/motion issues before finishing.
Inline Rules
Design Defaults (always apply)
These few defaults are non-negotiable and apply to every designed scene. Load
references/design-taste.md for the full reasoning, especially for any
"premium", "clean", "minimal", "modern", or "card" prompt.
- Premium means subtract, not add. When a prompt says premium, clean, minimal, modern, sleek, or sophisticated, default to restraint: remove chrome before adding it. Premium is carried by scale, weight, brightness, spacing, and timing, never by cards, borders, dividers, shadows, glow, or stacked tints.
- Chrome/container budget is
0by default. Do not add a framing card, container, border, or divider unless it does a job that whitespace and alignment cannot. Separate grids and columns with negative space and alignment first, a single hairline second, and a filled or bordered card last and only when explicitly warranted. - One surface tone. Use one background tone. Do not stack two near-black or two near-white tints to fake a "surface"; it reads muddy. If a card surface must differ from the background, make it one deliberate step with a clear purpose.
- One divider treatment, one color. If dividers are truly needed, use one weight and one color for all of them, title rule and column rules included. Never use slightly different colors or weights per divider.
Scene Rules
- Scene files live at
public/projects/<project>/<scene-N>/lottie.json. - Resolve target scenes by authority: an explicit file path wins; a browser URL
route like
/<project>/<scene>wins next; an already-known project/scene for the task wins next; otherwise create a new safe scene. Use/__contextonly for discovery, verification, or playback state unless the task explicitly says to edit what is currently on screen and no more specific target exists. Do not let/__context.liveoverride a known file path, URL, or project/scene. Overwritemain-project/scene-1only if it is still the untouched placeholder; otherwise create a new scene. - Full-frame standalone compositions should include a visible background layer
with a
bgColorslot andcontrols.jsonentry. - Transparent-by-default outputs include logos, icons, loaders, overlays, lower thirds, and SVG-derived assets unless the user asks for a background.
- Include top-level
v,fr,ip,op,w,h,nm,assets, andlayers. Treatopas exclusive. - Use purposeful easing and staging. Avoid defaulting to linear motion. Derive
easing from the behavior-based anchors in
motion-taste.md(chosen by motion behavior, focal element strongest); do not fall back to one uniform ease for every layer. - Use slots for important editable values and add
controls.jsonlabels/ranges when they improve the properties panel. - For SVG input, preserve the viewBox, normalize styling, watch fill rules and intersections, and verify the result in Skottie.
- Native Lottie text/text slots (
ty:5) render in this player when the scene ships its font: drop a.ttf/.otf/.ttcnext tolottie.json, declare it infonts.listwithfFamilymatching the font's embedded family name, and reference it from text documents. The loader passes every scene font to Skottie. Prefer native text; reach for vector/shape text only for deliberate path effects (stroke-on, glyph morphs, handwriting). See the player-contract "Native Text" reference.
Verification
Before finishing:
- Confirm the intended target file path is
public/projects/<project>/<scene-N>/lottie.json. Validate JSON:
node -e "JSON.parse(require('fs').readFileSync('public/projects/<project>/<scene-N>/lottie.json','utf8'))"- Confirm the official player is running and the scene appears in
GET /__context. - Inspect pinned frames in the browser. For new scenes, check frame
0, midpoint, andop - 1. - Confirm the background policy matches the use case.
- Check for blank canvas, missing assets, unstyled shapes, wrong layer order, bad easing, awkward timing, cropped content, text overflow, and visible SVG artifacts.
- Finish only when the animation renders cleanly and feels intentional.
Maintenance Evals
Do not read eval files during normal animation work. Use them only when testing or changing this skill:
evals/trigger-prompts.jsonevals/routing-prompts.jsonevals/reference-loading-prompts.jsonevals/output-rubric.md
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.

