← 返回 Skills 市场
81
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install high-precision-3d-web-optimize
功能描述
Optimize high-precision .glb/.gltf models for Web 3D and digital twin delivery. Use when preparing Three.js or Babylon.js assets that need UV-safe simplifica...
使用说明 (SKILL.md)
High-Precision 3D Web Optimize
将高精度 GLB/GLTF 模型优化为适合 Web 3D 与数字孪生平台交付的轻量化资产,重点是 保护 UV、保护材质与贴图表现、降低文件体积与浏览器渲染压力,并输出可直接接入的 LOD 结果。
Do this by default
- 先判断模型是否属于高精度交付资产,是否存在高面数、高贴图成本或不规则拓扑风险。
- 默认保持 workflow UV-safe。
- 优先做 geometry / texture optimization,再考虑 retopo。
- 生成
optimized.glb、lod0.glb、lod1.glb、lod2.glb和manifest.json。 - 在 Three.js 或 Babylon.js 中验证加载结果。
Recommended workflow
- 检查 model origin、UV risk、topology risk
- 清理 invalid / dirty geometry
- 执行 UV-safe simplification
- 压缩 textures and geometry
- 生成
lod0、lod1、lod2 - 写出
manifest.json - 验证 browser loading、Draco 解码与 LOD switching
- 根据结果给出 tuning advice
Treat as high-precision optimization candidates when you see
- messy UVs / UV 混乱
- noisy surfaces / 表面噪声重
- baked-looking shadows / 带明显烘焙阴影
- irregular topology / 拓扑不规则
- unusually high polygon count / 面数异常高
- abnormally large
.glbsize / 文件体积异常大 - high texture resolution or heavy material stacks / 高分辨率贴图或重材质栈
Avoid by default
- Voxel Remesh
- Quad Remesh
- destructive re-topology that reuses original textures without rebake
- workflows likely to break UV alignment
- 无 Bake 的破坏性重拓扑复材质流程
Default outputs
output/
└─ model-name/
├─ model-name.optimized.glb
├─ model-name.lod0.glb
├─ model-name.lod1.glb
├─ model-name.lod2.glb
└─ manifest.json
Default parameters
{
"lod0": 1.0,
"lod1": 0.55,
"lod2": 0.25,
"textureSize": 2048,
"geometryCompression": "draco",
"textureCompression": "webp"
}
Suggested targets
| Metric | Recommended value |
|---|---|
| Single model size | \x3C 10 MB |
| Mobile single model size | \x3C 5 MB |
| Single model triangle budget | \x3C 100k |
| Main scene total triangle budget | \x3C 2M |
| First screen load time | \x3C 3 s |
Troubleshooting
Material looks blurry / 材质变糊
- raise
textureSize,如1024 -> 2048 - reduce texture compression strength
- preserve more geometry in
lod0
Model is still too large / 模型仍然太大
- reduce texture size
- make
lod1andlod2more aggressive - confirm Draco or Meshopt is enabled
- split the asset for lazy loading if needed
Model deforms after simplification / 模型变形或破面
- use a higher simplify ratio
- clean non-manifold or broken triangles first
- keep
lod0closer to original geometry
Escalate only when explicitly requested
仅当用户明确需要以下目标时,才切换到 Retopo + UV + Bake:
- editable low-poly assets / 可编辑低模
- clean topology / 干净拓扑
- game-engine editing / 游戏引擎深度编辑
- re-texturing workflows / 重新贴材质流程
要明确提醒:这是重制流程,不是简单压缩,成本显著更高。
References
references/optimize-glb.mjs: automation template for batch optimization, LOD generation, and manifest output;适合自动化处理与批量生成结果。references/threejs-load-lod.js: Three.js loading example for DRACO + LOD integration;适合前端接入与加载代码生成。references/package-template.json: minimal Node project template for running the optimization flow;适合初始化最小可运行工程。
Response template
- Decision / 判断:说明该任务应继续走 UV-safe optimization,还是升级到 Retopo + UV + Bake。
- Actions / 已执行项:列出 cleanup、simplification、texture compression、LOD generation、manifest output、load validation。
- Results / 结果:说明体积变化、几何压缩结果、LOD 输出和 Web loading status。
- Risks / 风险:指出 blur、deformation、decode-path issues、loading bottlenecks 等问题。
- Next step / 下一步:给出 tuning、splitting、lazy loading 或 engine integration 建议。
安全使用建议
This skill looks safe to use for its stated 3D optimization purpose. Before running the optional Node workflow, pin npm dependency versions, install from trusted package sources, and run it in a dedicated project directory with backups of original model files.
功能分析
Type: OpenClaw Skill
Name: high-precision-3d-web-optimize
Version: 1.1.0
The skill bundle provides a legitimate utility for optimizing 3D models (GLB/GLTF) for web delivery, including LOD generation and texture compression. The implementation in `references/optimize-glb.mjs` includes security best practices such as filename validation to prevent path traversal and uses standard, reputable libraries like @gltf-transform and sharp. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found.
能力标签
能力评估
Purpose & Capability
The documented purpose, included scripts, and output files all align around GLB/GLTF optimization, LOD generation, compression, and Three.js loading.
Instruction Scope
Instructions emphasize UV-safe optimization and explicitly avoid destructive retopology unless the user asks for it.
Install Mechanism
There is no install spec, but the reference package template uses npm dependencies set to latest, so users should pin versions before running it in production.
Credentials
The included automation reads .glb files from an input directory and writes optimized outputs under an output directory, which is proportionate to the skill purpose and scoped to the current project folder.
Persistence & Privilege
No credentials, background persistence, privilege escalation, or network exfiltration behavior is shown in the provided artifacts.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install high-precision-3d-web-optimize - 安装完成后,直接呼叫该 Skill 的名称或使用
/high-precision-3d-web-optimize触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
- Added or updated the `optimize-glb.mjs` automation template for batch .glb optimization and LOD generation.
- Improved the minimal Node project template in `package-template.json` for easier initialization of optimization workflows.
- Documentation and references updated for better clarity on batch automation and integration guidance.
- No breaking changes to core usage or parameters.
v1.0.0
- Initial release of high-precision 3d web optimize.
- Optimizes .glb/.gltf models for web platforms, focusing on UV and material preservation, texture/geometric compression, LOD generation, and browser loading performance.
- Avoids destructive remesh or re-topology unless explicitly requested for editable low-poly assets.
- Outputs include optimized base model, multiple LODs, and a manifest.json, with default parameters and size/budget recommendations.
- Includes troubleshooting steps, workflow guidance, and sample automation/reference scripts for integration.
元数据
常见问题
high-precision-3d-web-optimize 是什么?
Optimize high-precision .glb/.gltf models for Web 3D and digital twin delivery. Use when preparing Three.js or Babylon.js assets that need UV-safe simplifica... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 81 次。
如何安装 high-precision-3d-web-optimize?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install high-precision-3d-web-optimize」即可一键安装,无需额外配置。
high-precision-3d-web-optimize 是免费的吗?
是的,high-precision-3d-web-optimize 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
high-precision-3d-web-optimize 支持哪些平台?
high-precision-3d-web-optimize 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 high-precision-3d-web-optimize?
由 Zavon(@neowalker69)开发并维护,当前版本 v1.1.0。
推荐 Skills