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
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 $0.00036 $0.00216
Sonnet 5 $0.00015 $0.00086
Haiku 4.5 $0.00007 $0.00043

Measured 8d ago against content hash 7a6f7babc3b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 8d 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. 8d 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 (773 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 73 tokens to every session and 432 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

remotion

Use when creating, rendering, and managing programmatic videos using Remotion (React-based video framework). Covers compositions, frame-driven animation, transitions, effects, captions, audio, voiceover, FFmpeg post-production, and professional SaaS-grade motion design.

oyi77/1ai-skills · 54 tokens

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS.

daffy0208/ai-dev-standards · 20 tokens

animejs

A JavaScript library for creating animations with a consistent system for changing CSS properties, SVG, web-page elements, and JavaScript values over time. Optional adapters can handle Three.js and WebGL scenes.

AvalonLee/AstraCraft-Program · 0 tokens

gsap

A JavaScript animation framework with shared systems for timelines, easing, and timed value changes. It can animate CSS, SVG, Canvas, WebGL, framework state, and other JavaScript objects, with extensions for tasks such as scroll triggers, drag interactions, motion paths, and text animation.

AvalonLee/AstraCraft-Program · 0 tokens

embedded-captions

A workflow for adding captions or subtitles to an existing single-person talking-head video without changing the footage. Captions can appear as ordinary subtitles, behind the speaker, or as stylized visual effects.

heygen-com/hyperframes · 120 tokens

faceless-explainer

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a…

heygen-com/hyperframes · 98 tokens