text-to-lottie

text-to-lottie is a skill for Claude Code, Codex from diffusionstudio/lottie. It costs 84 tokens per session (2,281 once invoked), scanned A, original, MIT.

A guide for creating Lottie animations, which are JSON files describing moving graphics, for the Skia Skottie player.

In plain words
What is it for?
Use it to create, edit, or repair logos, icons, loaders, diagrams, charts, interface feedback, and other animated scenes.
Why use it?
It helps ensure animations are renderable in the required local player instead of producing unusable or unverified JSON.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

About the project

Text-to-Lottie is a framework that lets coding agents generate and edit Lottie animations from text instructions and source assets. It provides a project player where developers can inspect, scrub, and refine scenes as the agent changes them.

diffusionstudio/lottie · 5,410 stars · on GitHub · diffusion.studio

Install

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.

agentmods
npx agentmods add skills/diffusionstudio/lottie/text-to-lottie
Any agent
npx skills add diffusionstudio/lottie --skill text-to-lottie
Clone the repo
git clone --depth 1 https://github.com/diffusionstudio/lottie

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for text-to-lottie

README.md
[![agentmods](https://agentmods.dev/badge/skills/diffusionstudio/lottie/text-to-lottie.svg)](https://agentmods.dev/skills/diffusionstudio/lottie/text-to-lottie)
Your own site
<a href="https://agentmods.dev/skills/diffusionstudio/lottie/text-to-lottie"><img src="https://agentmods.dev/badge/skills/diffusionstudio/lottie/text-to-lottie.svg" alt="Measured on agentmods" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,281 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.02281
Opus 5 $0.00042 $0.01141
Sonnet 5 $0.00017 $0.00456
Haiku 4.5 $0.00008 $0.00228

Measured 6d ago against content hash d2e5e6151f07, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

text-to-lottie 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 6d 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.

skills/text-to-lottie/SKILL.md · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Read the full file on GitHub · 163 lines

Changes

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.

  1. 6d ago First seen · 163 lines · 84 tokens per session scan A d2e5e6151f07

Subscribe to this mod's changes

text-to-lottie is a skill published in the GitHub repository diffusionstudio/lottie (5,410 stars, last pushed 1mo ago), licensed MIT. It adds 84 tokens to every session and 2,281 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens