Threejs To 3D Model — AI skill for Claude Code
Agent Skill: 用文字描述生成带骨骼动画的 3D 模型(Three.js 代码 → GLB/FBX),直接导入 Unity / Unreal / Godot / Cocos / Web.
How to install Threejs To 3D Model
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open duosheng/threejs-to-3d-model and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Threejs To 3D Model does
Agent Skill: 用文字描述生成带骨骼动画的 3D 模型(Three.js 代码 → GLB/FBX),直接导入 Unity / Unreal / Godot / Cocos / Web.
Alternatives in AI
- UnrealClaude — Claude Code CLI integration for Unreal Engine 5.7 - Get AI coding assistance with built-in UE5.7 documentation 524 ★
- UnityMCP — Drive the Unity Editor from an AI agent or the terminal 346 ★
- Glade MCP — Connect any MCP-compatible AI client (Claude Code, Cursor, Windsurf) to Unity or Godot 201 ★
README
threejs-to-3d-model
**用一句话描述,让 AI 写代码生成带骨骼动画的 3D 模型,直接导入 Unity / Unreal / Godot / Cocos / Web。**
An Agent Skill that turns a text description into a rigged, animated 3D model written as procedural Three.js code, then exports engine-ready GLB and FBX (with baked textures) via Blender.

| 咆哮 roar | 镰斩 attack |
|---|---|
![]() |
![]() |
「裂甲虫后(Brood Tyrant)」全部由 Three.js 代码生成,没有用任何建模软件:31 根骨骼、4 段动画(待机、行走、镰斩、咆哮)、腿部 IK、程序化甲壳纹理、熔岩发光。上图是 Chrome 实时渲染。
同一个模型走完流水线后,在 Blender 和 Unity 里的样子:
| Blender 烘焙后的 FBX | Unity 2022.3 导入(左 FBX,右 GLB) |
|---|---|
![]() |
![]() |
Unity 中与 Three.js 原动画逐帧比对骨骼位置,最大误差 GLB 约 1 µm、FBX 约 3 µm。
裂甲虫后是用这套流水线做的展示作品,代码不在本仓库里。模板自带的是一只较简单的示例甲虫(20 根骨骼、3 段动画),作为编写新生物的起点。
它能做什么
"做一只会走会攻击的四足甲虫"
│
▼
规格表(骨架、部件、动画、材质)──► 用户确认
│
▼
Three.js 代码:骨骼 + 部件 + 姿态函数 + IK
│ 真实 Chrome 导出
▼
GLB ──► Khronos glTF Validator 校验
│ Blender
▼
FBX + 烘焙贴图(BaseColor / Normal / ORM)
│
▼
Unity 批处理导入,逐帧比对骨骼(可选)
- 文字即模型:人物、怪物、生物、机甲、道具,用自然语言描述即可,Agent 按规格表写代码。
- 动作逐帧一致:所有运动都是
u ∈ [0, 1]的纯函数,预览、导出、参考采样共用一套代码。 - 引擎可用:产物为标准 GLB 和 FBX,附
manifest.json(骨骼、动画、事件、误差)。 - 有验收:glTF 校验 0 错误;Unity 2022.3 实测 FBX 和 GLB 骨骼误差都是微米级。
安装
一键安装([skills](https://github.com/vercel-labs/skills) CLI,自动识别 Claude Code、Codex、Cursor 等 Agent):
npx skills add duosheng/threejs-to-3d-model -g
或者手动克隆到你所用 Agent 的 skills 目录:
# Claude Code
git clone https://github.com/duosheng/threejs-to-3d-model ~/.claude/skills/threejs-to-3d-model
# Codex CLI
git clone https://github.com/duosheng/threejs-to-3d-model ~/.codex/skills/threejs-to-3d-model
# Cursor
git clone https://github.com/duosheng/threejs-to-3d-model ~/.cursor/skills/threejs-to-3d-model
然后对 Agent
Related Skills
AI Game Dev Plugin
Claude Code plugins for AI game development — Unreal, Unity & Godot. Let Claude create a project, install the
MonkeyMode
Open-source game-dev kit for AI coding agents: workflow skills, guardrails and engine adapters for Godot, Unit
Gamedev Toolkit
Game-dev toolkit for AI coding agents: Godot, Unity, Unreal and Blender skills plus checks that run on your re
Claude Skills Library
520 drop-in skills for Claude across 45 categories: coding, decision-making, gym, game dev (Godot, Unity, Unre
Threejs Devtools MCP
Three.js MCP server — inspect and edit scenes, materials, shaders, lights in real time from any AI agent
Lego 3D Voxel
Turn a 3D model (GLB) into a buildable brick set — slice it into courses, one brick per cell, colours from the
Related Agents
Game Developer
Game development across all platforms (PC, Web, Mobile, VR/AR). Use when building games with Unity, Godot, Unr
Gamedev Specialist
Game development specialist for Unity, Unreal, Godot, Roblox, Three.js/Phaser web games, gameplay systems, VFX
Threejs Asset Pipeline
Master of getting 3D assets into three.js correctly — glTF/GLB authoring rules, GLTFLoader with DRACO, KTX2 an



