AI Animation Skills is a collection of agent instructions and templates for generating single-file HTML animations, including presentations, diagrams, protocol visualizations, phone interfaces, and video-style scenes. People use the skills with AI coding agents to create animated web pages from descriptions or templates. The catalogue entries are the collection's individual generation workflows.
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.
npx skills add Unclecheng-li/AI_Animation --skill code-slice-herogit clone --depth 1 https://github.com/Unclecheng-li/AI_AnimationWrote 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.
[](https://agentmods.dev/skills/unclecheng-li/ai_animation/code-slice-hero)<a href="https://agentmods.dev/skills/unclecheng-li/ai_animation/code-slice-hero"><img src="https://agentmods.dev/badge/skills/unclecheng-li/ai_animation/code-slice-hero/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.
<a href="https://agentmods.dev/skills/unclecheng-li/ai_animation/code-slice-hero"><img src="https://agentmods.dev/badge/skills/unclecheng-li/ai_animation/code-slice-hero.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.01270 |
| Opus 5.5 | $0.00018 | $0.00508 |
| Sonnet 5.5 | $0.00009 | $0.00254 |
| Haiku 4.5 | $0.00004 | $0.00127 |
Grade A, and why
code-slice-hero 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.
This is a copy
100% identical to code-slice-hero — 0 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.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Slice Hero
A full square-tile surface carries one seamless headline. An imaginary cursor crosses the surface; nearby tiles respond to its Gaussian depth field with lift and tilt, and only the cells intersecting either headline silhouette turn over to reveal the rear headline. The whole grid is one instanced WebGL 2 draw with a shared front/rear texture pair, plus a batched projected-shadow pass. Copy, text size and square cell size are independent, so tiles never stretch. Sweep direction, easing strength, cursor radius, falloff, depth, bounce and shadow are all variables.
Composition id: code-slice-hero. Duration 8 s at 30 fps, 1920×1080.
Files
code-slice-hero.html(24 KB)assets/Geist-Bold.ttf(65 KB)assets/Geist-OFL.txt(4 KB)assets/gsap-3.14.2.min.js(128 KB)assets/GSAP-NOTICE.txt(1 KB)shadows.js(10 KB)surface.js(8 KB)
Install
Install with npx hyperframes add code-slice-hero; by default the files above land under compositions/code-slice-hero/. Then mount the block from the host index.html:
<div
data-composition-id="code-slice-hero"
data-composition-src="compositions/code-slice-hero/code-slice-hero.html"
data-start="0"
data-duration="8"
data-track-index="1"
data-width="1920"
data-height="1080"
></div>
Render with custom values by targeting the composition file directly:
npx --yes [email protected] render 'compositions/code-slice-hero/code-slice-hero.html' --variables '{"headline":"MAKE IT","reverseHeadline":"MATTER."}'
Variables
Read at runtime via window.__hyperframes.getVariables(); declared on the composition root as data-composition-variables (single-quoted attribute, plain JSON).
| id | type | default | label / range |
| ------------------- | ------ | ----------------- | ------------------------------------------------- | -------------- |
| headline | string | "MAKE IT" | Copy · Front headline max 32 chars |
| reverseHeadline | string | "MATTER." | Copy · Rear headline max 32 chars |
| direction | enum | "left-to-right" | Motion · Sweep direction (left-to-right | right-to-left) |
| sweepDuration | number | 4.2 | Motion · Sweep duration 2.6–4.5 step 0.05 |
| sweepEaseStrength | number | 3 | Motion · Sweep easing strength 0–3 step 0.05 |
| flipDuration | number | 0.75 | Motion · Each tile flip 0.65–1.65 step 0.05 |
| cursorRadius | number | 210 | Cursor · Influence radius 160–480 step 10 |
| cursorFalloff | number | 1.4 | Cursor · Influence falloff 0.4–3.5 step 0.05 |
| cursorDepth | number | 80 | Cursor · Depth (+ toward camera) -320–320 step 10 |
| tiltStrength | number | 55 | Cursor · Pull / tilt strength 0–55 step 1 |
| noiseStrength | number | 2 | Motion · Organic variation 0–2 step 0.05 |
| flipBounce | number | 0.15 | Motion · Elastic flip bounce 0–0.8 step 0.05 |
| cellSize | number | 112 | Slices · Square cell size 24–120 step 4 |
| formationScale | number | 1 | Slices · Local formation scale 0.94–1 step 0.001 |
| fontSize | number | 310 | Type · Maximum size 160–480 step 5 |
| behindColor | color | "#212121" | Surface · Behind-tile background |
| shadowStrength | number | 0.19 | Surface · Cast shadow strength 0–0.65 step 0.01 |
| shadowSoftness | number | 4 | Surface · Cast shadow softness 0.5–4 step 0.1 |
What ships with it
10 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.
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.
- 10d ago First seen · 82 lines · 44 tokens per session scan A 00cc6766b45b
code-slice-hero is a skill published in the GitHub repository Unclecheng-li/AI_Animation (1,542 stars, last pushed 11d ago), licensed MIT. It adds 44 tokens to every session and 1,270 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to code-slice-hero, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
preline-mcp
Add, integrate, or build Preline UI components and blocks into HTML files via the Preline MCP server. Use when the user mentions "preline", says "/preline", asks to add a UI component, or requests a Preline block (a ready-made page section) using Preline UI.
preline-theme-generator
Generate, preview, save, or validate Preline theme CSS using the bundled local generator in this skill. Use when the user asks to create a new Preline theme, match a brand color, translate a mood into a theme, generate light and dark theme CSS, preview theme output without writing files, or review and fix generated…
fund-holding-viewer
A deployment guide for a Chinese fund-holdings analysis web app. It covers running the app on Alibaba Cloud ECS, a virtual server service, with HTTPS through either a subdomain or a path on an existing domain.
accessibility-champion
Professional Accessibility Champion Expert skill. Build accessible, performance-tuned, responsive UI components with clean design standards.
component-library
Professional Component Library Expert skill. Build accessible, performance-tuned, responsive UI components with clean design standards.
dark-mode-master
Professional Dark Mode Master skill. Build accessible, performance-tuned, responsive UI components with clean design standards.