cue-animations

cue-animations is a skill for Claude Code, Codex from Milad-Akarie/cue. It costs 98 tokens per session (7,037 once invoked), scanned A, original, MIT.

A guide for adding motion to Flutter apps using the Cue animation package. Flutter is a framework for building app interfaces, and Cue organizes when, what, and how an element moves.

In plain words
What is it for?
Use it for fades, slides, scaling, rotation, blur, hover and scroll effects, toggles, page transitions, draggable controls, and other animated widgets.
Why use it?
It gives developers a consistent way to describe animations instead of handling each transition or effect differently.

Skill for Claude CodeCodex

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

Good fit Use it for fades, slides, scaling, rotation, blur, hover and scroll effects, toggles, page transitions, draggable controls, and other animated widgets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/milad-akarie/cue/cue-animations
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 Milad-Akarie/cue --skill cue-animations
Clone the repo
git clone --depth 1 https://github.com/Milad-Akarie/cue

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 cue-animations

README.md
[![agentmods](https://agentmods.dev/badge/skills/milad-akarie/cue/cue-animations/github.svg)](https://agentmods.dev/skills/milad-akarie/cue/cue-animations)
Your own site
<a href="https://agentmods.dev/skills/milad-akarie/cue/cue-animations"><img src="https://agentmods.dev/badge/skills/milad-akarie/cue/cue-animations/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 cue-animations

Your own site · 80×15
<a href="https://agentmods.dev/skills/milad-akarie/cue/cue-animations"><img src="https://agentmods.dev/badge/skills/milad-akarie/cue/cue-animations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,037 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00098 $0.07037
Opus 5 $0.00049 $0.03519
Sonnet 5 $0.00020 $0.01407
Haiku 4.5 $0.00010 $0.00704

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

Security

Grade A, and why

cue-animations 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 10d 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.

example/.github/skills/cue-animations/SKILL.md · 788 lines

How it starts

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

Cue Animation Skill

Core Mental Model

Cue separates animation into four concerns:

Piece Role
Cue When to animate (the trigger)
Actor What is animated (wraps the child)
Act Which property changes (fade, slide, scale, etc.)
CueMotion How it moves (spring preset or timed curve)

General Flutter Conventions (Always Apply)

  • Always create Widget classes, never helper functions that return widgets. Use StatelessWidget or StatefulWidget for any reusable or extracted UI — not Widget _buildFoo() methods or top-level functions.
  • Use shorthand constructors everywhere, not fully qualified class constructors:
// Padding / EdgeInsets
.all(16)              not EdgeInsets.all(16)
.only(top: 8)         not EdgeInsets.only(top: 8)
.symmetric(h: 16)     not EdgeInsets.symmetric(horizontal: 16)
.fromLTRB(...)        not EdgeInsets.fromLTRB(...)

// BorderRadius
.circular(12)         not BorderRadius.circular(12)
.vertical(top: .circular(16))   not BorderRadius.vertical(...)

// Alignment
.topLeft / .center / .bottomRight   not Alignment.topLeft

// MainAxisAlignment / CrossAxisAlignment / MainAxisSize
.center / .spaceBetween / .min      not MainAxisAlignment.center

// BoxFit / Clip / TextOverflow
.cover / .antiAlias / .fade         not BoxFit.cover

// Colors
Colors.transparent / Colors.white   (unchanged — no shorthand available)

Step-by-Step Procedure

  1. Pick the trigger — choose the right Cue factory for the use case.
  2. Set the motion — always provide motion: on Cue (or on Actor/Act for overrides).
  3. Wrap children in Actor — or use Cue(acts: [...]) for a single child.
  4. Choose acts — use shorthand factories (.fadeIn(), .slideY(), .scale(), etc.).
  5. Add stagger if needed — use delay: on Actor to offset multiple children.

Trigger Reference

// One-shot entrance when widget mounts
// Supports: repeat, reverseOnRepeat, repeatCount, onEnd
Cue.onMount(
  motion: .smooth(),
  repeat: false,               // loop the animation
  reverseOnRepeat: false,      // ping-pong when looping
  repeatCount: 3,              // finite loop count (null = infinite)
  onEnd: (forward) { ... },   // fires on completion in either direction
  acts: [...],
  child: child,
)

// Toggled by a boolean — forward on true, reverse on false
Cue.onToggle(toggled: isExpanded, motion: .smooth(), child: child)

// Restarts forward every time value changes
Cue.onChange(value: currentTab, motion: .smooth(), fromCurrentValue: true, child: child)

// Driven by pointer hover
Cue.onHover(motion: .interactive(), child: child)

// Driven by focus
Cue.onFocus(motion: .smooth(), child: child)

// Scrubbed continuously as the widget travels through the viewport (parallax-style).
// Progress = 0 when leading edge enters bottom of viewport, 1 when it reaches the top.
// Prefer non-overshoot motions (.smooth, .linear, .easeOut) — springs with bounce
// look jarring when scrubbed.
Cue.onScroll(child: child)

// Plays once when widget scrolls into view; stays complete. Does NOT reverse on scroll-out.
// Until revealed it scrubs like onScroll; once visible it plays forward with its motion.
// Use enabled: false to skip the animation and jump to completed state.
Cue.onScrollVisible(enabled: true, child: child)

// Scrubbed by external progress (e.g. drag)
Cue.onProgress(progress: dragNotifier, child: child)

// Index-based (page carousels, staggered lists)
// Works with CuePageController, CueTabController, CueIndexController
Cue.indexed(controller: cuePageController, index: index, child: child)

// Fully imperative
Cue(controller: myController, child: child)

Read the full file on GitHub · 788 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. 10d ago First seen · 788 lines · 98 tokens per session scan A e6c9a68d5a99

Subscribe to this mod's changes

cue-animations is a skill published in the GitHub repository Milad-Akarie/cue (115 stars, last pushed 2mo ago), licensed MIT. It adds 98 tokens to every session and 7,037 once invoked, about $0.0005 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

display-glasses-with-jetpack-compose-glimmer

Provides guidelines for developing projected Android XR apps for display glasses using the Jetpack Compose Glimmer UI toolkit. This skill covers foundational Glimmer design principles, workflows for implementing Jetpack Compose Glimmer, and interaction models for the glasses form factor. Use this skill to build an…

android/skills · 91 tokens

expo-design-system

Framework (OSS). Build and maintain a design system inside an Expo app - a reusable theme of design tokens (color, spacing, typography, radius, shadow, motion), reusable component structure with variant/size/state prop conventions, and rules for when to extract a repeated view into a shared component. Use when…

expo/skills · 201 tokens

flutter-build-responsive-layout

Use LayoutBuilder, MediaQuery, or Expanded/Flexible to create a layout that adapts to different screen sizes. Use when you need the UI to look good on both mobile and tablet/desktop form factors.

flutter/agent-plugins · 51 tokens

omh-apple-design

This is a Hermes-native apple-design workflow skill.

rlaope/oh-my-hermes · 73 tokens

axiom-audit-liquid-glass

Use when the user mentions Liquid Glass review, iOS 26 UI updates, toolbar improvements, or visual effect migration.

CharlesWiltgen/Axiom · 32 tokens

axiom-audit-ux-flow

Use when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app.

CharlesWiltgen/Axiom · 43 tokens