Skip to content
SkillModel-led5,475 tokens in use

threejs-animation

Gives an AI coding agent current three.js r186 knowledge of keyframe, skeletal and morph animation, glTF clip playback and clip blending.

4,322 stars on the repository MIT LicenseCloudAI-X/threejs-skills · skills/threejs-animation
npx skills add cloudai-x/threejs-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing threejs-animation costs

55tokens idle
5,475tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter12/15
  • Structure17/25
  • Examples15/15
  • Output15/15
  • Size11/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Fair
  • Development activity68
  • Maintenance40
  • Community52
  • Maturity32
  • Momentum40

threejs-animation is one of thirteen three.js skills that keep an agent on the current r186 API. It covers keyframe tracks and clips, the AnimationMixer and AnimationAction system, playing animations that ship inside glTF models, bone and morph target control, and crossfading between clips.

Each example is written for WebGLRenderer, and a closing section covers the same topic under WebGPURenderer with TSL. The skill also lists outdated patterns that models still produce and the fix for each.

What You Get

  • A runnable quick start using Timer for frame-rate-independent motion
  • Reference examples for number, vector, quaternion, color and boolean keyframe tracks and their naming rules
  • Patterns for playing glTF clips, cloning skinned models and giving each copy its own mixer
  • Crossfade, fade-in and fade-out recipes for blending clips
  • A WebGPU and TSL section and a list of outdated patterns with the current fix

Common Use Cases

  • Playing a walk or idle clip from a loaded glTF character
  • Animating a mesh’s position, opacity or color with hand-written keyframes
  • Driving morph targets such as a smile or blink
  • Crossfading between idle and walk clips on a character
  • Cloning one animated character into several instances

What Makes It Unique

The skill is pinned to a specific release, three.js r186, and was checked against the published package and migration guide, so it prefers current APIs such as Timer over older patterns. Other three.js references mix many releases. Every skill in the set shares one layout: quick start, topic sections, a WebGPU and TSL section, common mistakes and cross-links to sibling skills.

Under The Hood

The skill is a single SKILL.md of explanation and JavaScript examples. Its name and description sit in context all the time, and the body loads when a request matches. It ships no scripts and tells the agent to run no commands. The agent reads it and writes three.js code into your project. The examples load a model file from a relative path in the browser; the skill does not fetch anything itself.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers