Create, inspect, recolor, and repair Lottie animations: twenty-two recipes in nine palettes, SVG-to-Lottie conversion, .lottie packing, structural linting, and headless rendering so motion is verified, not assumed.
Lottie that an agent writes, lints and looks at before it calls it done.
An agent skill and MCP server for Lottie. Twenty-two recipes that re-skin in nine
palettes, SVG to Lottie, .lottie packing, a linter for the defects that render blank,
and a renderer that shows the agent every frame it ships.
Then ask for "a success animation for our checkout, in the forest palette". Any other
agent can use the same tools over MCP.
The tools also run on their own. Python 3.8+ with no dependencies; the last line needs
Node and Chrome:
git clone https://github.com/obeskay/lottie-animator-skill && cd lottie-animator-skill
python3 examples/heart-like.py --palette dusk -o heart.json # a recipe, re-skinned
python3 scripts/lottie_lint.py heart.json # PASS, or the defect and its fix
python3 scripts/dotlottie.py pack heart.json # heart.lottie, about a quarter the size
npm install && node scripts/render.mjs heart.json --onion # frames, filmstrip, onion skin
What to ask for
Say to your agent
What it does
"A success animation for our checkout, in the forest palette"
Starts from success-check, re-skins it, lints, renders, and shows you the filmstrip
"Animate this SVG logo with a quiet entrance"
Converts the SVG, cascades its parts, reads the onion skin to check the easing
"A loader that works in dark mode"
spinner-arc in night, with the loop seam checked frame against frame
"Make this LottieFiles animation match our brand colours"
recolor.py --list, then maps each colour by its role
"Why does this Lottie render blank?"
Lints it, names the defect (say KF012), fixes it, renders the proof
"Ship it as a .lottie for the iOS app"
Lints, packs a dotLottie v2 archive, and reports the size it saved
Why
A broken Lottie still parses. Leave the os off a polystar, put an easing handle one
level too high, forget ip/op on a layer — the JSON is valid, the player raises
nothing, and the canvas stays empty. A validator that checks json.load() calls it fine.
And a Lottie that renders can still be bad: linear, bouncy, crowded, purple. Generated
motion drifts to all four by default.
This skill answers both. The tools catch the silent failures and render every file, so
the agent has to look at what it made; the recipes, the motion tokens and the palettes
make the first draft quiet, precise and on-palette instead of generic.
Gallery
Every GIF below is the JSON in examples/ rendered by
scripts/make-gifs.mjs in a real lottie-web — the same player
the skill uses to check its own work. Each one is written by the .py beside it; open it
to see the brief, the beats and the tokens.