threejs-animation

threejs-animation is a skill for Claude Code, Codex from CloudAI-X/threejs-skills. It costs 56 tokens per session (5,540 once invoked), scanned A, original, MIT.

A guide to moving and deforming Three.js 3D objects over time. It covers keyframe animation, character skeletons, shape changes, and combining animations.

In plain words
What is it for?
Use it to animate objects, play animations included in GLTF models, create procedural movement, and blend multiple animations.
Why use it?
It helps turn stored or generated motion into usable object and character animation.

Skill for Claude CodeCodex

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

Good fit Use it to animate objects, play animations included in GLTF models, create procedural movement, and blend multiple animations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cloudai-x/threejs-skills/threejs-animation
About the project

Three.js Skills is a set of skill files that gives Claude Code current guidance and working examples for Three.js, a JavaScript library used to create 3D scenes and graphics in web applications. It is for developers who want generated code to match the Three.js release they install and avoid outdated APIs. The catalogue entry consists of ten skills covering areas such as scenes, geometry, materials, lighting, and textures.

CloudAI-X/threejs-skills · 4,606 stars · on GitHub · x.com

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 CloudAI-X/threejs-skills --skill threejs-animation
Clone the repo
git clone --depth 1 https://github.com/CloudAI-X/threejs-skills

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 threejs-animation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cloudai-x/threejs-skills/threejs-animation"><img src="https://agentmods.dev/badge/skills/cloudai-x/threejs-skills/threejs-animation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,540 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. Third-party audits
  • Socket pass 19 Oct 2026
  • Snyk pass 19 Oct 2026
How audits are shown
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.00056 $0.05540
Opus 5.5 $0.00022 $0.02216
Sonnet 5.5 $0.00011 $0.01108
Haiku 4.5 $0.00006 $0.00554

Measured 1mo ago against content hash 0ab1b79cb977, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

threejs-animation 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 1mo 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/threejs-animation/SKILL.md · 501 lines

How it starts

The opening of the file, as written. The whole thing — 501 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Three.js Animation

Targets three.js r186. Examples use WebGLRenderer; the WebGPU and TSL section uses WebGPURenderer.

Quick Start

import * as THREE from "three";

const renderer = new THREE.WebGLRenderer({ antialias: true });
renderer.setPixelRatio(window.devicePixelRatio);
renderer.setSize(window.innerWidth, window.innerHeight);
document.body.appendChild(renderer.domElement);

const scene = new THREE.Scene();

const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 100);
camera.position.set(0, 0.5, 3);

const mesh = new THREE.Mesh(new THREE.BoxGeometry(1, 1, 1), new THREE.MeshNormalMaterial());
scene.add(mesh);

const timer = new THREE.Timer();
timer.connect(document); // also keeps deltas small after the tab was hidden

function animate() {
  timer.update(); // first thing each frame: fixes getDelta()/getElapsed() for this frame
  const delta = timer.getDelta();
  const elapsed = timer.getElapsed();

  mesh.rotation.y += delta; // frame-rate-independent spin
  mesh.position.y = Math.sin(elapsed * 2) * 0.25; // bob on absolute time

  renderer.render(scene, camera);
}

renderer.setAnimationLoop(animate);

How the System Fits Together

  • AnimationClip: keyframe data — tracks of times and values, no playback state.
  • AnimationMixer: plays clips on one root object and all its descendants.
  • AnimationAction: playback control for one clip on one mixer.

Each frame, mixer.update(delta) samples the active clips and writes the values into ordinary object properties. The system runs on the CPU and never touches the renderer, so it drives models the same way under either renderer.

AnimationClip and Keyframe Tracks

// One track per animated property. values.length must be times.length * valueSize.
const times = [0, 1, 2]; // keyframe times in seconds
const values = [0, 1, 0]; // one scalar per keyframe for a Number track

const track = new THREE.NumberKeyframeTrack(".position[y]", times, values); // the root's position.y

const clip = new THREE.AnimationClip("bounce", 2, [track]); // duration in seconds
// pass -1 as the duration to derive it from the tracks

Read the full file on GitHub · 501 lines

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. 1mo ago Changed · -52 lines · +16 tokens per session 0ab1b79cb977
  2. 3mo ago First seen · 553 lines · 40 tokens per session scan A b24dc96c7a85

Subscribe to this mod's changes

threejs-animation is a skill published in the GitHub repository CloudAI-X/threejs-skills (4,606 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 5,540 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

threejs-animation compared with skills from other repositories

threejs-animation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
threejs-animationCloudAI-X/threejs-skillsSkill4.6k1mo agoMITA56Claude Code, Codex
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill42k21d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill13kyesterdayApache-2.0A93Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill4.4kyesterdayMITA121Claude Code
texture-workflowarjun988/blender-skillsSkill5.5k25d agoMITA41Claude Code
threejs-exposure-color-gradingscottstts/Threejs-Awesome-Graphics-Agent-SkillsSkill1.1k4d agoMITA91Codex
motionOpenDCAI/GameFactory-3ASkill1.5k7d agoApache-2.0A0Claude Code, Codex