compose-animations

compose-animations is a skill for Claude Code, Codex from ashtanko/compose-android-template. It costs 64 tokens per session (2,516 once invoked), scanned A, original, MIT.

A guide to choosing Jetpack Compose animation APIs for showing, hiding, resizing, changing, or moving interface content. Jetpack Compose is Android's framework for describing UI in code.

In plain words
What is it for?
Use it when implementing visibility changes, animated values, coordinated transitions, content swaps, size changes, or gesture-driven motion.
Why use it?
It helps match the animation tool to the visual change and its lifecycle. This avoids unnecessary complexity and checks whether hidden content should leave the UI or keep its state and focus.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when implementing visibility changes, animated values, coordinated transitions, content swaps, size changes, or gesture-driven motion.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ashtanko/compose-android-template/compose-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 ashtanko/compose-android-template --skill compose-animations
Clone the repo
git clone --depth 1 https://github.com/ashtanko/compose-android-template

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ashtanko/compose-android-template/compose-animations"><img src="https://agentmods.dev/badge/skills/ashtanko/compose-android-template/compose-animations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,516 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.00064 $0.02516
Opus 5.5 $0.00026 $0.01006
Sonnet 5.5 $0.00013 $0.00503
Haiku 4.5 $0.00006 $0.00252

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

Security

Grade A, and why

compose-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 1mo 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.

.agents/skills/compose-animations/SKILL.md · 194 lines

How it starts

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

Compose: animations

Core principle

Pick the smallest API that matches the problem: built-in visibility and layout transitions first, then a single animated value, then a shared transition object when several values must move together, then gesture-level or imperative APIs when the framework cannot express the motion.

Review procedure

  1. Identify the visual job: show/hide, one value, coordinated values, content swap, size change, or gesture-driven motion.
  2. Choose the smallest API from the table below.
  3. Check lifecycle semantics: should hidden content leave composition, keep focus/state, or only become transparent?
  4. Check identity: for state-holder wrappers, choose AnimatedContent.contentKey by visual shape rather than payload churn.
  5. Check performance: keep frame-rate animation values as State and read them in layout/draw block modifiers when possible.
  6. Escalate to Animatable or lower-level APIs only when target-state animation cannot express the motion.

Pick the smallest animation API

Need API
Show or hide a subtree with enter/exit semantics; content is removed after exit completes AnimatedVisibility
Animate one property toward a target derived from state animateFloatAsState / animateDpAsState / animateColorAsState / animateOffsetAsState / …
Several animated values keyed off one boolean, enum, or sealed state rememberTransition + transition child animations (animateFloat, animateDp, animateColor, animateValue, …)
Smooth size when child layout height/width changes (e.g. text wraps) Modifier.animateContentSize()
Swap between different composable trees for the same slot AnimatedContent or Crossfade
User-driven motion (drag, fling, interruptible springs) Animatable and related coroutine APIs (see Advanced pointers)

Read the full file on GitHub · 194 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. 1mo ago First seen · 194 lines · 64 tokens per session scan A 037c584fae41

Subscribe to this mod's changes

compose-animations is a skill published in the GitHub repository ashtanko/compose-android-template (13 stars, last pushed 10d ago), licensed MIT. It adds 64 tokens to every session and 2,516 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

Other skills, from other repositories

compose-component-design

Use when designing or reviewing reusable Jetpack Compose component APIs with modifier parameters, root layout placement, caller-provided variable content, primitive content parameters, optional content, or boolean shape flags.

chrisbanes/skills · 41 tokens

compose-visuals-footguns

Compose look-and-feel traps: theme and colour tokens, artwork palettes, gradients and scrims, shimmer, glass and particle effects, animation, image loading, charts and stats displays (percent changes, shares, buckets). Use when a visual bands, pops, freezes or misleads.

maxrave-dev/kotlin-footguns · 65 tokens

compose-screens-footguns

Compose screen and interaction traps: navigation, adaptive layout, window insets, pagers, toolbars, sheets, list drag and selection, sliders, text fields, settings UI, one-shot effects. Use when layout, gestures or navigation misbehave.

maxrave-dev/kotlin-footguns · 57 tokens

android-design-system-pro

Bootstraps or audits an Android app's design system and iconography — Material Symbols drawables behind an AppIcons object, adaptive launcher icons with a monochrome layer, notification and splash icons, a Material 3 AppTheme with dynamic color and extended tokens, thin slot-based component wrappers, edge-to-edge…

kelvinkosbab/AppBootstrapAI · 121 tokens

swift-design-system-pro

Bootstraps or audits an Apple app's design system and iconography — SF Symbol facade and custom symbols, app icon (Icon Composer, Liquid Glass appearances), color/type/spacing/shape tokens, component styles, Liquid Glass adoption, and previews. Use when setting up the UI foundation of a new SwiftUI app, when…

kelvinkosbab/AppBootstrapAI · 104 tokens

android-accessibility-pro

Deep-reviews Android app accessibility — the TalkBack semantics tree (content descriptions, roles, merging, state, custom actions, live regions), Bluetooth assistive input (external keyboards, Switch Access, braille displays), and visual accessibility (contrast, dynamic text, color-independence, reduce motion). Use…

kelvinkosbab/AppBootstrapAI · 92 tokens