animation-performance-utils

animation-performance-utils is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 15 tokens per session (582 once invoked), scanned A, original, Apache-2.0.

A collection of performance rules and math helpers for JavaScript animations, especially animations made with GSAP. GSAP is a JavaScript library for creating browser animations.

In plain words
What is it for?
It helps optimize frequent animations, handle mouse and scroll input, limit values, map ranges, reuse animation calculations, and reduce work in long lists.
Why use it?
It helps reduce unnecessary animation work, uneven motion, and slow updates caused by repeated calculations or animating elements that users cannot see.

Skill for Claude CodeCodex

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

Good fit It helps optimize frequent animations, handle mouse and scroll input, limit values, map ranges, reuse animation calculations, and reduce work in long lists.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jxoesneon/ciel/animation-performance-utils
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 jxoesneon/Ciel --skill animation-performance-utils
Clone the repo
git clone --depth 1 https://github.com/jxoesneon/Ciel

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 animation-performance-utils

README.md
[![agentmods](https://agentmods.dev/badge/skills/jxoesneon/ciel/animation-performance-utils/github.svg)](https://agentmods.dev/skills/jxoesneon/ciel/animation-performance-utils)
Your own site
<a href="https://agentmods.dev/skills/jxoesneon/ciel/animation-performance-utils"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/animation-performance-utils/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 animation-performance-utils

Your own site · 80×15
<a href="https://agentmods.dev/skills/jxoesneon/ciel/animation-performance-utils"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/animation-performance-utils.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 582 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 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.00015 $0.00582
Opus 5 $0.00008 $0.00291
Sonnet 5 $0.00003 $0.00116
Haiku 4.5 $0.00002 $0.00058

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

Security

Grade A, and why

animation-performance-utils 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 6d 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.

skills/animation-performance-utils/SKILL.md · 51 lines

What it actually says

CIEL ADAPTATION: Animation Performance & Utils (Optimization)

This skill formalizes the "Speed Layer" of CIEL animations. it uses mathematical utilities to reduce overhead and visual jitter.

Performance Heuristics

  1. will-change: Apply will-change: transform in CSS to elements that will animate frequently.
  2. Batching: Use gsap.quickTo() for mouse-followers or high-frequency updates (60fps) to reuse a single tween.
  3. Stagger over Loop: Use GSAP's native stagger instead of map() or forEach() to create individual tweens.
  4. Virtualization: For lists > 100 items, only animate items currently in the viewport.

The Utils Library (Math)

  • Resolution Control: Use clamp(min, max) to bound user-driven values.
  • Mapping: Use mapRange(inMin, inMax, outMin, outMax) to convert scroll progress (0-1) to values (e.g., 0-360 deg).
  • Function Form: Omit the value argument to get a reusable transformer function: const mapper = mapRange(0, 1, 0, 100);.
  • Arrays: Use toArray() to normalize selectors, NodeLists, and elements into a true JS array.

Operational Standards

  • Throttling: Use Observer or gsap.ticker for input handling instead of raw mousemove events.
  • Snap: Use snap() for grid-aligned or step-based movements.

Anti-Patterns

  • Layout Thrashing: Mixing DOM reads (offsetWidth) and GSAP writes in a tight loop.
  • Global Ticker Overload: Adding 20+ listeners to the gsap.ticker without cleaning them up.
  • Heavy Math in Body: Performing complex trigonometry inside a body loop instead of using pre-calculated mapRange lookups.
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. 6d ago First seen · 51 lines · 15 tokens per session scan A c088c86a4794

Subscribe to this mod's changes

animation-performance-utils is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed 2d ago), licensed Apache-2.0. It adds 15 tokens to every session and 582 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

ui-features

Implementing UI/UX features in sidecar including modals (internal/modal library), keyboard shortcuts, mouse support, scrolling, pill/tab rendering, and pane resizing. Use when implementing UI features, handling user input, adding keyboard shortcuts, building modals, or working on UX improvements.

marcus/sidecar · 61 tokens

drag-pane

Drag-and-drop pane resizing implementation for two-pane plugin layouts. Covers mouse event handling via the internal/mouse package, hit region registration, drag delta calculation, width clamping, state persistence, and pane layout management. Use when working on pane resizing, drag interactions, layout management, or…

marcus/sidecar · 70 tokens

impeccable

Use when the user wants distinctive, production-grade frontend design, anti-generic AI aesthetics, UX critique, technical UI audits, or final polish through bundled Impeccable references and an optional upstream detector CLI.

Peiiii/nextclaw · 47 tokens

panel-app-react-vite-creator

Create or update an engineering-style NextClaw Panel component with pnpm, Vite, React, TypeScript, and Tailwind CSS, then build it into a static .panel directory inside a schema v2 package or an explicitly loose workspace Panel. Use for modern, reusable, complex, Agent-powered, typed Panel interfaces.

Peiiii/nextclaw · 73 tokens

lov-maintain-partners

Maintain the Skill Publisher website's partners section AND align partner logo rows on event posters / hero strips: reuse lov-find-logo for brand logo discovery, normalize collected logos to a 240px-tall content canvas (retina-ready), rasterize SVGs via rsvg-convert before normalizing (so SVG viewBox padding gets…

lovstudio/skills · 294 tokens

lov-mobile-adapt

A mobile adaptation workflow for existing web projects. It adjusts desktop websites for phones by handling responsive layouts, overflow, safe areas around notches, browser viewport height, touch targets, and mobile navigation.

lovstudio/skills · 105 tokens