lottie-favorite

lottie-favorite is a skill for Claude Code, Codex from nexu-io/motion-anything. It costs 73 tokens per session (432 once invoked), scanned A, a copy of lottie-fab, Apache-2.0.

A Lottie animation is a portable JSON file that animates a heart or favorite icon when its state changes.

In plain words
What is it for?
Use it for favorite, like, or save buttons that need a visual change when selected or unselected.
Why use it?
It keeps the toggle animation consistent across websites and apps. It also respects reduced-motion preferences instead of autoplaying for those users.

Skill for Claude CodeCodex

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

Good fit Use it for favorite, like, or save buttons that need a visual change when selected or unselected.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nexu-io/motion-anything/lottie-favorite
About the project

motion-anything is a local-first, chat-driven motion engine that turns natural-language descriptions into animated web pages and videos, then lets users edit the animation on the running page. It is for designers and developers working with coding agents to create motion graphics and export them as formats such as CSS, React, Lottie, MP4, or GIF. The catalogue entries provide agent workflows for operating the engine.

nexu-io/motion-anything · 1,142 stars · on GitHub

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.

Any agent
npx skills add nexu-io/motion-anything --skill lottie-favorite
Clone the repo
git clone --depth 1 https://github.com/nexu-io/motion-anything

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 lottie-favorite

README.md
[![agentmods](https://agentmods.dev/badge/skills/nexu-io/motion-anything/lottie-favorite/github.svg)](https://agentmods.dev/skills/nexu-io/motion-anything/lottie-favorite)
Your own site
<a href="https://agentmods.dev/skills/nexu-io/motion-anything/lottie-favorite"><img src="https://agentmods.dev/badge/skills/nexu-io/motion-anything/lottie-favorite/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lottie-favorite

Your own site · 80×15
<a href="https://agentmods.dev/skills/nexu-io/motion-anything/lottie-favorite"><img src="https://agentmods.dev/badge/skills/nexu-io/motion-anything/lottie-favorite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 432 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod 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.00073 $0.00432
Opus 5.5 $0.00029 $0.00173
Sonnet 5.5 $0.00015 $0.00086
Haiku 4.5 $0.00007 $0.00043

Measured 2mo ago against content hash 7a6f7babc3b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lottie-favorite 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 2mo 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.

Origin

This is a copy

89% identical to lottie-fab — 14 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

recipes/lottie/lottie-favorite/SKILL.md · 43 lines

What it actually says

Lottie · Favorite

A heart/favorite icon that animates on toggle — Lottie JSON, portable across web & app. Lottie JSON from spemer/lottie-animations-json (MIT). Part of motion-anything; obeys MOTION-SPEC.md.

When to use it

  • Portable JSON motion identical on web & app; icon/control micro-animations (incl. After Effects / Jitter exports).

When NOT to use it (restraint)

  • When a pure-CSS effect would do — don't ship the Lottie runtime for a simple fade.

How to apply

  1. Include lottie.min.js (runtime) and animation.json.
  2. lottie.loadAnimation({ container, renderer:'svg', loop:true, autoplay:false, path:'animation.json' }); start on intent / guard reduced-motion.

Accessibility & performance

  • prefers-reduced-motion: don't autoplay. SVG renderer; motion-as-JSON (portable, AI-readable).
Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 43 lines · 73 tokens per session scan A 7a6f7babc3b1

Subscribe to this mod's changes

lottie-favorite is a skill published in the GitHub repository nexu-io/motion-anything (1,142 stars, last pushed 13d ago), licensed Apache-2.0. It adds 73 tokens to every session and 432 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to lottie-fab, differing in 14 lines, and is treated as a copy.

Related

lottie-favorite compared with skills from other repositories

lottie-favorite next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lottie-favoritenexu-io/motion-anythingSkill1.1k13d agoApache-2.0A73Claude Code, Codex
agent-reelssickn33/agentic-awesome-skillsSkill51ktodayMITA31Claude Code
motion-designLottieFiles/motion-design-skillSkill4.0k8d agoMITA82Claude Code, Codex
motion2codelovisdotio/motion2codeSkill3671mo agoMITA187Claude Code, Codex
remotionoyi77/1ai-skillsSkill19todayMITA54Claude Code
hyperframes-product-launch-videooyi77/1ai-skillsSkill19todayMITA112Claude Code
hyperframes-motion-graphicsoyi77/1ai-skillsSkill19todayMITA99Claude Code