cli-hub-matrix-3d-cad
HKUDS/CLI-Anything · Agent Skill
一個用於 3D 建模、CAD、點雲、渲染和 GPU 除錯的多功能工具,涵蓋從概念到成品資產的整個過程。
前往安裝 ↓總覽
| 發布者 | |
|---|---|
| 儲存庫 | HKUDS/CLI-Anything ↗ |
| 技能資料夾 | 3d-cad |
| 星 | 49,057 |
| 附帶檔案 | 1 |
| 授權 | Apache-2.0 |
| 最近更新 | 2026年6月13日 |
| 連結 | 技能原始碼 ↗ · 儲存庫 ↗ |
Mozgi 檢查
我們在技能檔案中發現的內容。詳細資訊需訂閱。
安裝
技能就是一個含 SKILL.md 的資料夾。選擇你的代理,在專案根目錄的終端機(macOS、Linux 或 Windows 的 Git Bash)執行指令。
把提示貼到 Claude、Codex 或其他助理:它會自行檢查並安裝技能。
Install the “cli-hub-matrix-3d-cad” skill from mozgi.io (https://mozgi.io/skills/cli-hub-matrix-3d-cad/) for me. 1. Download the archive: https://mozgi.io/skills/cli-hub-matrix-3d-cad/download If it fails, take the skill folder from the source: https://github.com/HKUDS/CLI-Anything/tree/main/cli-hub-matrix/3d-cad 2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me. 3. Put the “cli-hub-matrix-3d-cad” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.). 4. Make sure <skills folder>/cli-hub-matrix-3d-cad/SKILL.md exists. 5. Briefly tell me what this skill does and offer to try it on my task. If you cannot do a step yourself, tell me what to click or type.
git clone --depth 1 --branch main https://github.com/HKUDS/CLI-Anything.git /tmp/CLI-Anything mkdir -p .claude/skills cp -r /tmp/CLI-Anything/cli-hub-matrix/3d-cad .claude/skills/3d-cad
重新啟動 Claude Code — 技能就會出現在清單中,手動呼叫:/cli-hub-matrix-3d-cad。要套用到所有專案,請放在 ~/.claude/skills。
git clone --depth 1 --branch main https://github.com/HKUDS/CLI-Anything.git /tmp/CLI-Anything mkdir -p .agents/skills cp -r /tmp/CLI-Anything/cli-hub-matrix/3d-cad .agents/skills/3d-cad
Codex 會從目前資料夾往上到儲存庫根目錄,在 .agents/skills 中尋找技能;用 /skills 或 $cli-hub-matrix-3d-cad 呼叫。所有專案:~/.agents/skills。
git clone --depth 1 --branch main https://github.com/HKUDS/CLI-Anything.git /tmp/CLI-Anything mkdir -p .cursor/skills cp -r /tmp/CLI-Anything/cli-hub-matrix/3d-cad .cursor/skills/3d-cad
Cursor 啟動時會載入技能;在 Agent 聊天輸入「/」呼叫。Cursor 也會讀取 .claude/skills 與 .agents/skills。所有專案:~/.cursor/skills。
git clone --depth 1 --branch main https://github.com/HKUDS/CLI-Anything.git /tmp/CLI-Anything mkdir -p .gemini/skills cp -r /tmp/CLI-Anything/cli-hub-matrix/3d-cad .gemini/skills/3d-cad
任務符合時,Gemini CLI 會提議啟用技能,由你確認。所有專案:~/.gemini/skills。
安裝前請先檢視 SKILL.md 與相關檔案。點擊檔案即可預覽。
SKILL.md 內容
作者原文 · 唯讀3D & CAD Matrix (S3 — v2 capability-based)
Scenario S3. Strongest technical scenario in the matrix by depth — Blender + FreeCAD + CloudCompare + RenderDoc is rare coverage. Structural gaps: texturing and fabrication slicing.
Schema: docs/cli-matrix/matrix_registry.schema.md. Matrix plan: docs/cli-matrix/cli-matrix-plan.md.
Install
cli-hub matrix install 3d-cad
cli-hub matrix info 3d-cad
cli-hub matrix preflight 3d-cad --json
---
Provider selection constraints
1. Use preflight as an availability report, not as a provider selector.
2. Treat provider order as documentation order only.
3. Choose from user requirements, output quality bar, offline needs, credential state, install cost, and provider notes.
4. Escalate to paid or metered APIs only when credentials are already present or the user explicitly consents.
Offline context? Most of this matrix is offline-first; rendering and photogrammetry are the exceptions.
---
Preflight
Run cli-hub matrix preflight 3d-cad --json first. Use the manual block below for extra probes or older cli-hub versions.
cli-hub list --json
python - <<'PY'
import importlib.util
for m in ("trimesh","pymeshlab","open3d","cadquery","build123d","solid",
"pygltflib","laspy","pyvista","bpy","rawpy","pycam"):
print(m, importlib.util.find_spec(m) is not None)
PY
for b in blender freecad meshroom colmap openmvg openmvs prusaslicer slic3r \
cura CuraEngine apitrace vulkaninfo renderdoc OpenSCAD; do
command -v "$b" >/dev/null && echo "$b: yes" || echo "$b: no"
done
for e in POLYCAM_API_KEY LUMA_API_KEY ONSHAPE_ACCESS_KEY FUSION360_TOKEN \
OCTANE_TOKEN; do
[ -n "${!e}" ] && echo "$e: set" || echo "$e: unset"
done
---
Suggest-to-user template
To enable <capability> via <provider>, please set <ENV_VAR>.
Cost: <cost notes>
Quality: <quality tier>
Reply 'skip' to fall back to <next provider>.
Example: *To enable cloud photogrammetry via Luma AI, please set LUMA_API_KEY. Cost: metered per-scan. Quality: sota. Reply 'skip' to fall back to local Meshroom (slower, free).*
---
Capabilities
model.mesh — mesh modeling / editing
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| cli-anything-blender | harness-cli | Blender installed | free | sota | yes |
| trimesh | python | pkg | free | high | yes |
| pymeshlab | python | pkg | free | high | yes |
| open3d | python | pkg | free | high | yes |
| pygalmesh | python | pkg + CGAL | free | high | yes |
model.parametric — parametric CAD
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| cli-anything-freecad | harness-cli | FreeCAD installed | free | sota | yes |
| cadquery | python | pkg | free | high | yes |
| build123d | python | pkg | free | high | yes |
| OpenSCAD | native | binary | free | high | yes |
| SolidPython | python | pkg + OpenSCAD | free | good | yes |
| Onshape API | api | ONSHAPE_ACCESS_KEY | paid | sota | no |
| Fusion 360 API | api | FUSION360_TOKEN | paid | sota | no |
model.sculpt — digital sculpting
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| cli-anything-blender (sculpt mode, scripted) | harness-cli | Blender | free | good | yes |
| ZBrush / Nomad | — | — | — | — | — |
Known gap — agent-driven sculpting is impractical beyond Blender scripts.
pointcloud.process — point cloud ingest / clean / register
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| cli-anything-cloudcompare | harness-cli | CloudCompare | free | sota | yes |
| cli-anything-cloudanalyzer | harness-cli | harness installed | free | high | yes |
| open3d | python | pkg | free | high | yes |
| laspy | python | pkg | free | high | yes |
| pdal | native | binary | free | sota | yes |
| pyvista | python | pkg | free | high | yes |
photogrammetry.reconstruct — images → 3D mesh
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| Meshroom | native | binary | free | high | yes |
| colmap | native | binary | free | high | yes |
| OpenMVG + OpenMVS | native | binaries | free | high | yes |
| RealityCapture | native | commercial license | paid | sota | yes |
| Polycam API | api | POLYCAM_API_KEY | metered | sota | no |
| Luma AI | api | LUMA_API_KEY | metered | sota | no |
material.texture — PBR texturing
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| cli-anything-blender (shader nodes, scripted) | harness-cli | Blender | free | good | yes |
| bpy PBR synthesis | python | pkg | free | good | yes |
| Pillow procedural maps | python | pkg | free | basic | yes |
| Substance 3D / Polycam Materials / Adobe Sampler | — | — | — | — | — |
Known gap — no agent-native path approaches Substance quality.
render.preview — fast viewport renders
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| cli-anything-blender (Eevee) | harness-cli | Blender | free | high | yes |
| cli-anything-godot (viewport screenshot) | harness-cli | Godot | free | good | yes |
render.offline — path-traced / final renders
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| cli-anything-blender (Cycles) | harness-cli | Blender + GPU | free | sota | yes |
| bpy + Cycles | python | pkg + GPU | free | sota | yes |
| Octane Cloud | api | OCTANE_TOKEN | paid | sota | no |
| RenderMan on offline farm | — | license + farm | paid | sota | depends |
gpu.debug — capture / inspect GPU frames
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| cli-anything-renderdoc | harness-cli | RenderDoc installed | free | sota | yes |
| apitrace | native | binary | free | high | yes |
| vulkan-tools | native | binary | free | good | yes |
fabricate.slice — 3D print slicer (mesh → gcode)
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| PrusaSlicer CLI | native | binary | free | sota | yes |
| CuraEngine | native | binary | free | high | yes |
| slic3r | native | binary | free | good | yes |
| Bambu Studio / OrcaSlicer (API-driven) | — | — | — | — | — |
Known gap — no agent-native harness, though the natives are scriptable.
fabricate.cam — CAM / CNC toolpaths
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| cli-anything-freecad (Path workbench, scripted) | harness-cli | FreeCAD | free | good | yes |
| pycam | python | pkg | free | good | yes |
| kiri:moto | native | binary | free | good | yes |
| Fusion 360 CAM / Onshape CAM | api | tokens | paid | sota | no |
export.engine — handoff to game / viz engine
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| cli-anything-godot | harness-cli | Godot | free | high | yes |
| cli-anything-blender (glTF/FBX export) | harness-cli | Blender | free | sota | yes |
| pygltflib | python | pkg | free | high | yes |
| trimesh glTF writer | python | pkg | free | good | yes |
| Unity Asset Pipeline / Unreal Datasmith | — | — | — | — | — |
---
Recipes
printable-part— parametric CAD → mesh → slice → gcode.
Uses: model.parametric, model.mesh, fabricate.slice.
game-asset— model → texture → export to engine.
Uses: model.mesh, material.texture, export.engine, (optional render.preview).
reality-scan— photos → photogrammetry → clean mesh → export.
Uses: photogrammetry.reconstruct, pointcloud.process, model.mesh, export.engine.
cnc-part— parametric part → CAM toolpath → gcode.
Uses: model.parametric, fabricate.cam.
product-viz-still— CAD → import → scene → offline render.
Uses: model.parametric, model.mesh, material.texture, render.offline.
gpu-bug-repro— capture frame → analyze → patch shader.
Uses: gpu.debug, render.preview.
---
Known gaps
material.texture— no open equivalent to Substance; Blender shader nodes are the current ceiling.fabricate.slice— PrusaSlicer/Cura natives work but want a harness-level wrapper.model.sculpt— impractical for agents today.- Unity / Unreal export — only Godot covered on the harness side.
---
Agent guidance
- Parametric first, mesh later. Start in
model.parametricwhen the object has dimensions;model.meshwhen it's organic. - Always bake before export. When handing off to
export.engine, apply modifiers and bake materials — runtime engines don't read Blender shader graphs. - Check manifold before slicing.
fabricate.slicefails silently on non-manifold meshes; usetrimesh.Trimesh.is_volumeor pymeshlab's manifold check first. - Offline-capable baseline. This matrix is highly offline-capable — API escalation is rarely needed except for photogrammetry-at-scale.
- Workspace discipline. Keep
.FCStd/.blend/.ply/.stl/.gcodein one project folder so the chain of transformations is reproducible.
常見問題
cli-hub-matrix-3d-cad 技能有什麼用途?
一個用於 3D 建模、CAD、點雲、渲染和 GPU 除錯的多功能工具,涵蓋從概念到成品資產的整個過程。
如何安裝 cli-hub-matrix-3d-cad?
打開本頁的「安裝」區塊並選擇你的代理 — Claude Code、Codex、Cursor 或 Gemini CLI:那裡有把技能資料夾複製到正確位置的現成指令。也可以複製「透過助理」分頁中的提示,讓助理自行檢查並安裝技能。
cli-hub-matrix-3d-cad 適用哪些 AI 模型?
技能是純 Markdown 指示(Agent Skills 格式),因此 cli-hub-matrix-3d-cad 適用任何讀取 SKILL.md 的代理:Claude Code、Codex、Cursor、Gemini CLI、GitHub Copilot、OpenCode 等。只有在任務符合技能描述時,模型才會載入指示。
cli-hub-matrix-3d-cad 是免費的嗎?
此技能由 HKUDS 公開發布,採用 Apache-2.0 授權。技能本身免費 — 你只需向 AI 供應商支付實際使用的 token 費用。
安裝技能安全嗎?
技能是代理會遵循的指示,安裝前請閱讀 SKILL.md 及相關檔案。技能資料夾中的腳本只有在代理執行時才會運行 — 留意它的動作,不要授予多餘權限。
技能和 MCP 伺服器或外掛有何不同?
MCP 伺服器或外掛為模型提供新工具 — 會執行並回傳結果的程式碼。技能提供的是知識與流程:如何處理任務、要遵循哪些步驟、好的成果長什麼樣子。它不需要伺服器或 API 金鑰。