animation-framework-integration

animation-framework-integration is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 25 tokens per session (583 once invoked), scanned A, original, Apache-2.0.

Guidance for adding GSAP, a JavaScript animation library, to React, Vue, and Svelte components. It covers limiting animations to the right component and cleaning them up when the component is removed.

In plain words
What is it for?
Use it when building component-based interfaces with GSAP animations, scroll effects, event-driven animations, or server-rendered pages.
Why use it?
It prevents animations from affecting other parts of a page or continuing after a component is gone, which can cause visual bugs and wasted memory.

Skill for Claude CodeCodex

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

Good fit Use it when building component-based interfaces with GSAP animations, scroll effects, event-driven animations, or server-rendered pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jxoesneon/ciel/animation-framework-integration
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-framework-integration
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-framework-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/jxoesneon/ciel/animation-framework-integration.svg)](https://agentmods.dev/skills/jxoesneon/ciel/animation-framework-integration)
Your own site
<a href="https://agentmods.dev/skills/jxoesneon/ciel/animation-framework-integration"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/animation-framework-integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 583 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.00025 $0.00583
Opus 5 $0.00013 $0.00292
Sonnet 5 $0.00005 $0.00117
Haiku 4.5 $0.00003 $0.00058

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

Security

Grade A, and why

animation-framework-integration 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-framework-integration/SKILL.md · 53 lines

What it actually says

CIEL ADAPTATION: Animation Framework Integration (Memory & Lifecycle)

This skill dictates how to safely use GSAP inside component-based frameworks. it focuses on the "Mounted/Unmounted" lifecycle and selective scoping.

React Integration (@gsap/react)

  • Mandate: Use the useGSAP() hook. it handles gsap.context() and revert() automatically.
  • Scoping: Always pass a scope ref (e.g., containerRef) so selectors like .box are limited to the component.
  • Event Safety: Wrap handlers (e.g., onClick) in contextSafe() to ensure they are cleaned up on unmount.

Vue & Svelte Integration

  1. Mounted: Create all tweens/triggers inside onMounted() (Vue) or onMount() (Svelte).
  2. Context: Use gsap.context(() => { ... }, containerRef) to group all animations in the component.
  3. Cleanup (Hard Gate): Call ctx.revert() in onUnmounted() / the cleanup return. PROHIBIT un-cleaned animations.

Scoping Mandate

Selector strings (e.g., ".box") MUST NEVER be used without a scope ref. This prevents a component from accidentally animating elements in other instances or the rest of the page.

SSR Guardrails

  • Client-Only: GSAP and ScrollTrigger MUST only execute on the client.
  • Guard: Wrap GSAP logic in if (import.meta.client) or check for typeof window !== 'undefined'.

Anti-Patterns

  • The Selector Leak: Animating ".active" and accidentally moving every active button on the entire site.
  • The Memory Leak: Forgetting to revert() a ScrollTrigger, causing it to keep calculating positions after the page changes.
  • init() Logic: Creating animations in the component constructor or setup before the DOM nodes exist.
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 · 53 lines · 25 tokens per session scan A 8dcf94de19a1

Subscribe to this mod's changes

animation-framework-integration is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed 6d ago), licensed Apache-2.0. It adds 25 tokens to every session and 583 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-08-31.

Related

Other skills, from other repositories

framework-upgrade-guide

Analyze a TypeScript/Node project (Angular, React, or Vue), read its dependencies, flag deprecated/EOL packages and known vulnerabilities, and produce a careful stepwise major-by-major upgrade guide (e.g. Angular 15→16→17→18→19) written to a file. Use this whenever the user wants to upgrade, migrate, or modernize a…

nortonx/ai-tooling-free · 133 tokens

frontend-patterns

Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

Kacper0199/Opencode-Ultrathinker · 24 tokens

remotion-saas

Building video apps with Remotion - framework, rendering and Player advice.

guanyang/open-agent-hub · 18 tokens

component-template-generator

Generates starter component code using design tokens. Creates React/Vue/Svelte components with proper token usage, variants, and accessibility built in.

curiositech/some_claude_skills · 32 tokens

portable-text-serialization

Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend framework, building custom serializers for non-standard block types, converting Portable Text to HTML strings server-side, converting Portable Text to Markdown…

sanity-io/agent-toolkit · 85 tokens

Nerve Development

Nerve backend (Python) and frontend (React/TS) development and code contribution. Use when writing Python code for Nerve, fixing bugs, adding features, reviewing Nerve PRs, building the frontend, running tests, or working with the Nerve codebase. Triggers on "nerve code", "nerve PR", "fix nerve", "nerve feature"…

ClickHouse/nerve · 96 tokens