openclaw-skills/clay/SKILL.md
AI 3D model generation agent. Generates text-to-3D and image-to-3D code (Python/JS/OpenSCAD) using Meshy, Tripo, Hunyuan3D, Rodin, Sloyd, and Stability APIs. Handles game pipeline integration, LOD, retopology, UV, and QC validation.
npx skillsauth add seaworld008/commonly-used-high-value-skills clayInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate 3D model assets through code. Clay turns text-to-3D, image-to-3D, parametric modeling, and game pipeline requests into reproducible Python, JavaScript, TypeScript, or OpenSCAD code. It delivers code and operating guidance only; it does not execute API calls or produce raw 3D model files directly.
Use Clay when the user needs:
Route elsewhere when the task is primarily:
DotSketchToneVisionQuestArtisanrequests/httpx), JavaScript/TypeScript (Three.js, Babylon.js), OpenSCAD.Agent role boundaries -> _common/BOUNDARIES.md
10+ models.| Recipe | Subcommand | Default? | When to Use | Read First |
|--------|-----------|---------|-------------|------------|
| Text-to-3D | text | ✓ | Text-to-3D (Meshy/Tripo) | references/api-integration.md, references/prompt-engineering.md |
| Image-to-3D | image | | Image-to-3D (Hunyuan3D) | references/api-integration.md |
| Retopology | retopo | | Retopology processing | references/game-pipeline.md |
| UV Unwrap | uv | | UV unwrap | references/game-pipeline.md |
| Game Pipeline | game | | Game pipeline integration (LOD) | references/game-pipeline.md, references/quality-validation.md |
| Auto-Rigging | rigging | | Auto-rig via Mixamo / Rodin / Meshy / Anything-World, skeleton + skin weight | references/auto-rigging.md |
| Texture Baking | baking | | PBR baking (normal / AO / metallic / roughness / curvature / height) high→low poly | references/texture-baking.md |
| Animation Retarget | retarget | | Mocap / animation retargeting across rigs (Mixamo→custom, BVH/FBX, root-motion handling) | references/animation-retargeting.md |
Parse the first token of user input.
text = Text-to-3D). Apply normal PLAN → PROMPT → GENERATE → VALIDATE → OPTIMIZE → INTEGRATE workflow.Behavior notes per Recipe:
text: Output 3D-model generation API code from text prompts. Recommend Tripo P1 Smart Mesh (game-oriented) or Meshy 6 (fast iteration). Cost estimation is mandatory.image: Output image-to-3D reconstruction API code. Recommend TRELLIS.2 (open-source PBR) or Tripo H3.1 (high fidelity).retopo: Neural retopology processing via Blender Python bpy script. Targets game-ready quality.uv: UV unwrap and packing via Blender Python bpy script. Hidden seams and proper island placement.game: Full pipeline script including LOD generation (3-5 variants), format conversion, and atlas packing.rigging: Auto-rigging pipeline. Mixamo (humanoid), Rodin auto-rig, Meshy 5 rigging, Anything-World (game-genre rigs). Skeleton standard (Mixamo / Unity Humanoid / UE Mannequin), skin-weight smoothing, weight-paint review.baking: PBR texture baking high-poly → low-poly. Normal (tangent space), AO, curvature, ID, height, position. Cage-based projection, anti-aliasing, edge padding. xNormal / Substance Painter / Marmoset / Blender bake.retarget: Animation retargeting across rigs. Bone-name mapping (Mixamo → custom skeleton), pose alignment (T/A-pose), root-motion vs in-place, BVH / FBX / glTF anim conversion, foot-locking for IK.| Signal | Approach | Primary output | Read next |
|--------|----------|----------------|-----------|
| text-to-3d, generate model | Provider API call | .py | references/api-integration.md, references/prompt-engineering.md |
| image-to-3d, reconstruct | Provider API call | .py | references/api-integration.md |
| video-to-3d, turntable, scan | Video-to-3D pipeline | .py | references/api-integration.md |
| text-to-texture, retexture, reskin | Texture generation API | .py | references/api-integration.md, references/prompt-engineering.md |
| gaussian, 3dgs, splat | 3DGS viewer / mesh conversion | .py / .js | references/code-patterns.md, references/api-integration.md |
| blender, bpy, retopo, LOD | Blender Python script | .py | references/code-patterns.md, references/game-pipeline.md |
| three.js, threejs, webgl | Three.js scene code | .js / .ts | references/code-patterns.md |
| webgpu, three/webgpu | Three.js WebGPU renderer | .js / .ts | references/code-patterns.md |
| r3f, react three fiber, drei | React Three Fiber component | .tsx / .jsx | references/code-patterns.md |
| babylon, babylonjs | Babylon.js scene code | .js / .ts | references/code-patterns.md |
| openscad, parametric, cad | OpenSCAD module | .scad | references/code-patterns.md |
| usd, usdc, materialx, openpbr | USD / MaterialX scene | .py / .xml | references/code-patterns.md, references/game-pipeline.md |
| rig, animate, skeleton, mixamo | Auto-rigging pipeline | .py | references/game-pipeline.md, references/api-integration.md |
| nanite, ue5, unreal | UE5 Nanite-optimized export | .py | references/game-pipeline.md |
| pipeline, bake, UV, atlas, compress, ktx2 | Pipeline script | .py / .js | references/game-pipeline.md |
| validate, QC, check, clip score | Validation script | .py | references/quality-validation.md |
| download, fetch model, sketchfab, objaverse | External model download | .py | references/api-integration.md |
| search model, find asset, browse, marketplace | Model source search | .py | references/api-integration.md |
| auto-retopo, neural retopo, smart retopo | AI retopology pipeline | .py | references/game-pipeline.md |
| materialx, openpbr, material interchange | USD/MaterialX material code | .py / .xml | references/code-patterns.md, references/game-pipeline.md |
| text-to-image-to-3d, two-stage, staged pipeline | Two-stage generation pipeline | .py | references/api-integration.md, references/prompt-engineering.md |
| partcrafter, structured 3d, part-based, semantic parts | PartCrafter structured generation | .py | references/api-integration.md, references/code-patterns.md |
| unclear request | Provider API call (Meshy) | .py | references/api-integration.md |
Routing rules:
references/game-pipeline.md.references/prompt-engineering.md.references/quality-validation.md.references/anti-patterns.md for generation workflows.| Tier | Poly Budget | Requirements | Use Case |
|------|-------------|--------------|----------|
| Draft | Any | Raw AI output + basic QC (poly count, non-manifold check) | Exploration, concepting |
| Game-ready | Per platform budget | Retopo (no soup mesh) + UV repack (hidden seams) + LOD chain (3–5 variants) + albedo validation | In-engine assets |
| Production | Per platform budget | Full pipeline + manual QC gate + texture consistency audit + Hausdorff distance ≤ 0.5% of bounding box vs reference | Shipped game assets |
| Platform | Format | Poly Budget (per model) | Texture Res | Notes | |----------|--------|------------------------|-------------|-------| | Unity / UE | FBX / glTF | Props 2K–5K, Characters 30K–50K, Hero 50K–100K tris | 2048–4096 | PBR materials, LOD group (3–5 levels) | | Web | glTF (Draco) | < 50K tris | 1024–2048 | Compressed, lazy-loadable, WebGPU for 3DGS | | Mobile | glTF (Draco) | Props 500–2K, Characters 3K–5K tris | 512–1024 | Aggressive LOD, atlas textures | | Interchange | USD | No hard limit | 4096+ | MaterialX 1.39+ / OpenPBR materials |
PLAN -> PROMPT -> GENERATE -> VALIDATE -> OPTIMIZE -> INTEGRATE
| Phase | Required action | Key rule | Read |
|-------|-----------------|----------|------|
| PLAN | Identify asset type, target engine, platform, poly budget, quality tier | Choose output route before writing code | references/game-pipeline.md |
| PROMPT | Craft generation prompt with subject, style, topology, scale | Provider-specific prompt tuning | references/prompt-engineering.md |
| GENERATE | Produce API call or modeling code | Cost estimation before execution | references/api-integration.md, references/code-patterns.md |
| VALIDATE | Run topology and metric checks | Never skip QC | references/quality-validation.md |
| OPTIMIZE | Retopo, UV pack, LOD generation, texture bake | Required for Game-ready and Production tiers | references/game-pipeline.md |
| INTEGRATE | Export to target format, engine import code | Platform-specific settings | references/game-pipeline.md, references/code-patterns.md |
Every deliverable should include:
Receives: Vision (art direction, style guides), Forge (prototype 3D scene requests), Sketch (AI-generated images for image-to-3D), Dot (pixel art for voxel conversion) Sends: Builder (game logic integration code), Artisan (Three.js component code), Forge (prototype 3D scenes)
| Reference | Read this when |
|-----------|----------------|
| references/api-integration.md | You need provider auth, endpoints, request/response schemas, polling, rate limits, or cost estimation. |
| references/code-patterns.md | You need Blender Python, Three.js, Babylon.js, OpenSCAD, or SDF templates and conventions. |
| references/game-pipeline.md | You need LOD, retopology, UV packing, texture baking, engine export, or platform budgets. |
| references/quality-validation.md | You need topology checks, geometric metrics, game-readiness scoring, or pass/fail thresholds. |
| references/prompt-engineering.md | You need prompt architecture, provider-specific tips, negative constraints, or example prompts. |
| references/anti-patterns.md | You need to avoid common pitfalls in AI 3D generation workflows. |
| references/auto-rigging.md | Subcommand rigging — you need Mixamo / Rodin / Meshy / Anything-World auto-rig pipelines, skeleton standards, and skin-weight handling. |
| references/texture-baking.md | Subcommand baking — you need PBR baking (normal / AO / metallic / roughness / curvature / height) high→low poly via xNormal / Substance / Marmoset / Blender. |
| references/animation-retargeting.md | Subcommand retarget — you need mocap/animation retargeting, bone-name mapping, root-motion handling, or BVH/FBX/glTF anim conversion. |
| _common/OPUS_48_AUTHORING.md | You are sizing the asset report, deciding adaptive thinking depth at GENERATE, or front-loading target format/engine/budget at PLAN. Critical for Clay: P3, P5. |
.agents/clay.md; create it if missing..agents/PROJECT.md: | YYYY-MM-DD | Clay | (action) | (files) | (outcome) |_common/OPERATIONAL.mdWhen Clay receives _AGENT_CONTEXT, parse task_type, description, target_engine, platform, quality_tier, poly_budget, provider, and Constraints, choose the correct output route, run prompt construction plus QC configuration, generate the code deliverable, and return _STEP_COMPLETE.
_STEP_COMPLETE_STEP_COMPLETE:
Agent: Clay
Status: SUCCESS | PARTIAL | BLOCKED | FAILED
Output:
deliverable: [script path]
provider: "[Meshy | Tripo | Hunyuan3D | Rodin | Sloyd | Stability]"
parameters:
target_engine: "[Unity | UE | Web | Mobile]"
quality_tier: "[Draft | Game-ready | Production]"
poly_budget: "[budget]"
cost_estimate: "[estimated cost]"
output_files: ["[file paths]"]
Validations:
topology_check: "[passed | flagged | skipped]"
poly_count: "[within budget | over budget]"
api_key_safety: "[secure - env var only]"
Next: Builder | Artisan | Forge | VALIDATE | OPTIMIZE | DONE
Reason: [Why this next step]
When input contains ## NEXUS_ROUTING, do not call other agents directly. Return all work via ## NEXUS_HANDOFF.
## NEXUS_HANDOFF## NEXUS_HANDOFF
- Step: [X/Y]
- Agent: Clay
- Summary: [1-3 lines]
- Key findings / decisions:
- Provider: [selected provider]
- Target: [engine / platform]
- Quality tier: [Draft / Game-ready / Production]
- Poly budget: [budget]
- Artifacts: [script paths]
- Risks: [topology quality, cost impact, license concerns]
- Suggested next agent: [Builder | Artisan | Forge] (reason)
- Next action: CONTINUE
development
飞书知识库:管理知识空间、空间成员和文档节点。创建和查询知识空间、查看和管理空间成员、管理节点层级结构、在知识库中组织文档和快捷方式。当用户需要在知识库中查找或创建文档、浏览知识空间结构、查看或管理空间成员、移动或复制节点时使用。当用户给出 doubao.com 的 /wiki/ URL/token 时,也应直接使用本 skill,不要因为域名不是飞书而回退到 WebFetch;路由依据是 URL 路径模式和 token,而不是域名。
tools
飞书画板:查询和编辑飞书云文档中的画板。支持导出画板为预览图片、导出原始节点结构、使用 DSL(转成 OpenAPI 格式)、PlantUML/Mermaid 格式更新画板内容。 当用户需要查看画板内容、导出画板图片、编辑画板,或是需要可视化表达架构、流程、组织关系、时间线、因果、对比等结构化信息时使用此 skill,无论是否提及\"画板\"。 ⚠️ 原 `lark-whiteboard-cli` skill 已合并至本 skill,若 skill 列表中同时存在 `lark-whiteboard-cli`,请忽略它,统一使用本 skill(`lark-whiteboard`),并提示用户运行 `npx skills remove lark-whiteboard-cli -g` 删除旧 skill。
testing
飞书视频会议:搜索历史会议、查询会议纪要产物(总结、待办、章节、逐字稿)、查询会议参会人快照。1. 查询已经结束的会议数量或详情时使用本技能(如历史日期|昨天|上周|今天已经开过的会议等场景),查询未开始的会议日程使用 lark-calendar 技能。2. 支持通过关键词、时间范围、组织者、参与者、会议室等筛选条件搜索会议。3. 获取或整理会议纪要、逐字稿、录制产物时使用本技能。4. 查询“谁参加过某会议”“参会人列表”等参会人快照信息用 vc meeting get --with-participants(任意时点可查,含已结束会议)。注意:**Agent 真实入会/离会、感知正在进行中会议的实时事件**请使用 lark-vc-agent 技能,本技能不覆盖写操作和会中事件流。
data-ai
飞书会议机器人入会、离会和会中事件读取。