threejs-motion-skill

threejs-motion-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 74 tokens per session (500 once invoked), scanned A, original, Apache-2.0.

A guide for building and checking interactive 3D effects in web pages with Three.js, a JavaScript library for 3D graphics. It covers choosing simpler browser techniques when 3D is unnecessary and providing a static fallback when WebGL is unavailable.

In plain words
What is it for?
Use it for scroll-driven 3D scenes, product models, camera movement, particles, and WebGL fallback behavior. It also helps check resizing, browser support, loading failures, and resource cleanup.
Why use it?
It helps avoid using 3D where ordinary page effects would work and prevents the canvas from harming page controls or accessibility. It also addresses cleanup and reduced-motion behavior so effects do not keep running after they are no longer needed.

Skill for Claude CodeCodex

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

Good fit Use it for scroll-driven 3D scenes, product models, camera movement, particles, and WebGL fallback behavior. It also helps check resizing, browser support, loading failures, and resource cleanup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/threejs-motion-skill
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 jiushiwon/wg-skills --skill threejs-motion-skill
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-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-motion-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/threejs-motion-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/threejs-motion-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 500 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.00074 $0.00500
Opus 5.5 $0.00030 $0.00200
Sonnet 5.5 $0.00015 $0.00100
Haiku 4.5 $0.00007 $0.00050

Measured 16d ago against content hash f79074d0aa3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

threejs-motion-skill 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 16d 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.

frontend/threejs-motion-skill/SKILL.md · 18 lines

What it actually says

Three.js 网页动效

先问用户动作和可见反馈,再决定渲染路线。常规按钮、位移和淡入用 CSS;二维粒子或每帧重画用 Canvas 2D;空间、光照、透视和模型交互才引入 Three.js。用 WebGLRenderer 时核对目标浏览器 WebGL 2 能力。默认面向 Web,App WebView 和小程序另行验证。

  1. 给效果定义触发条件、输入、开始和结束状态,以及静态替代。正文、按钮和导航留在 DOM,装饰画布不阻拦点击和滚动。
  2. 最小原型只保留 Scene、Camera、Renderer 和一个 Mesh。滚动叙事用容器进度驱动相机或对象参数,先锁定起止状态,再加粒子、灯光或后期。
  3. 用容器尺寸更新 renderer 和 camera,设置可调的 DPR 上限。时间动画用 delta 或时间戳,滚动只记录目标进度。避免每帧创建几何、材质和纹理。
  4. 画布不可用、模型加载失败或用户偏好减少动态时,保留静态图和业务操作。页面不可见时暂停不必要的循环。
  5. 在卸载时停止循环并移除观察器与监听器。释放本组件拥有的几何、材质、纹理、渲染目标和 renderer,共享资源按所有权处理。
  6. 验收首屏可用、窄窗调整、滚动前后状态、无 WebGL 回退、减少动态、进出页面无重复循环。记录实测设备和未覆盖项。

交付包括选型理由、效果与状态表、可运行最小场景、静态替代方案和验收结果。需要最小起点时阅读 示例说明。

Files

What ships with it

2 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.

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. 16d ago First seen · 18 lines · 74 tokens per session scan A f79074d0aa3a

Subscribe to this mod's changes

threejs-motion-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 74 tokens to every session and 500 once invoked, about $0.0003 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-11-15.

Related

threejs-motion-skill compared with skills from other repositories

threejs-motion-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
threejs-motion-skilljiushiwon/wg-skillsSkill1547d agoApache-2.0A74Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51kyesterdayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
prototype-webnexu-io/html-anythingSkill17k2d agoApache-2.0A24Claude Code, Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex
edit-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA104Claude Code