threejs-animation · cesartevisual — Claude Code skill for Three.js animation
threejs-animation — a skill for Claude Code guides animation work in Three.js. It covers clips, skeletal motion, transitions, and scroll-driven timelines.
MIT 753 installs ★ 26 updated 2026-09-10
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a claude-codeWhat threejs-animation does
This skill guides the implementation of Three.js animation clips, skeletal motion, transitions, and timelines driven by scrolling. It favors elapsed time in seconds over frame counts so motion does not depend on frame rate.
For clip playback, it covers mixers, clip selection, looping, pausing, and transitions between actions. Scroll timelines map section progress to a defined range, with recalculation when the layout changes. Physics needs a separate fixed-step policy.
The guidance also covers large time gaps after a tab resumes, reverse scrolling, and reduced-motion preferences. Suggested checks include different frame rates and rapid state changes.
What it helps with
- set up playback and transitions between animation clips
- map page scrolling to an animation timeline
- keep motion independent of frame rate
- handle resumed tabs and reduced-motion preferences
Example prompts for the agent
- Set up transitions between the Three.js animation clips.
- Connect the scene timeline to page scrolling.
- Make the motion independent of frame rate.
How to install threejs-animation
1Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a claude-code2Manually: put the files in place
~/.claude/skills/threejs-animation/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/threejs-animation/
1Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a codex2Manually: put the files in place
.agents/skills/threejs-animation/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a cursor2Manually: put the files in place
.cursor/skills/threejs-animation/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install cesartevisual/threejs-skills skills/threejs-animation2Manually: put the files in place
.github/skills/threejs-animation/SKILL.md1Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a gemini-cli2Platform CLI
gemini skills install https://github.com/cesartevisual/threejs-skills --path skills/threejs-animationManually: put the files in place
.devin/skills/threejs-animation/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about threejs-animation
How do I install threejs-animation in Claude Code?
Run npx skills add cesartevisual/threejs-skills --skill threejs-animation -a claude-code. The skill file is at ~/.claude/skills/threejs-animation/SKILL.md.
What does threejs-animation do?
It guides an agent through Three.js clips, skeletal animation, transitions, and scroll-based timelines. It also covers motion that stays independent of frame rate.
What does threejs-animation recommend for physics?
It calls for a separate fixed-step policy for physics. Visual time deltas should be clamped after a tab resumes.
Source text
SKILL.md · MIT
--- name: threejs-animation description: "Implement Three.js animation clips, skeletal animation, transitions, scroll timelines, and frame-independent motion." --- # Animation and Timelines Use the project's installed versions and existing architecture. These instructions supplement the user's task; they do not authorize unrelated changes or external actions. Identify which system owns each animated property: imported clips, procedural motion, scroll timeline, controls, or physics. Blend or hand off explicitly when two systems would otherwise write the same transform. Use elapsed time or delta in seconds rather than frame counts. Clamp large visual deltas after a tab resumes; physics needs its own fixed-step policy. Use frame-independent damping such as 1 - exp(-lambda * delta), with reusable scratch values. Create a mixer for the appropriate root, select clips by inspected names, and define loop, pause, finished, and transition behavior. Reset and play the destination action as needed for crossfades; inspect root motion rather than silently translating both the root and its parent. For scroll, map normalized section progress to a defined timeline. Recalculate ranges on layout changes and handle reverse scrolling and jumps directly. Do not accumulate scroll deltas as if all input arrived continuously. Keep text readable and content reachable without the animated camera path. Respect reduced-motion preferences by removing nonessential motion or presenting stable states. Suspend work when the scene is inactive where practical. Stop owned actions, remove mixer listeners, and uncache roots only after their actions stop. Verify at different frame rates, after backgrounding, during rapid state changes, on backward scroll, and with reduced motion. Confirm animation speed and final states remain consistent. ## API reference Consult the [official documentation](https://threejs.org/docs/pages/AnimationMixer.html) for exact signatures and revision-specific behavior. If documentation access is unavailable, inspect installed types/source and state any remaining uncertainty.
© cesartevisual · MIT · cesartevisual/threejs-skills
Similar skills
All skills for Game dev and 3D: Unity, Unreal, Godot, Blender →threejs-animation by other authors comes first.