text-to-cad runtime router
This Skill packages the MIT-licensed
earthtojake/text-to-cad workflows as
one pinned, offline runtime. The upstream files are stored in a checksum-verified
archive so the application does not carry several expanded copies of the same
CAD runtime.
Required startup
Before reading an upstream workflow, run:
run_skill_script(
skillId="text-to-cad",
script="scripts/bootstrap.py",
args=["--json"]
)
The result contains the immutable runtime root and a map of workflow names to
absolute directories. Never guess the cache path and never edit files in it.
Workflow routing
Select exactly one primary workflow, then read its SKILL.md completely from
the returned directory. Load another workflow only when the first one explicitly
hands off to it.
| Request |
Primary workflow |
| Parametric part, assembly, STEP/STP, measurement, STL/3MF/GLB export |
cad |
| Local visual review of CAD, DXF, implicit, or robot files |
cad-viewer |
| Purchasable screws, bearings, motors, boards, connectors, STEP parts |
step-parts |
| 2D profiles, templates, gaskets, cut layouts, DXF |
dxf |
| Robot links, joints, limits, inertials, meshes |
urdf |
| MoveIt groups, end effectors, poses, collision rules |
srdf |
| Simulation models, worlds, physics, sensors, lights |
sdf |
| SendCutSend upload readiness |
sendcutsend |
| Mesh wall thickness, overhang, support, orientation, printability |
dfam-check |
| Validated mesh to printer-profiled G-code |
gcode |
| Explicitly authorized Bambu upload or print start |
bambu-labs |
| Browser-native GLSL signed-distance-field modeling |
implicit-cad |
Running upstream Python entries
The application only executes scripts located inside the selected Skill. Use
the checked proxy instead of calling extracted Python files directly:
run_skill_script(
skillId="text-to-cad",
script="scripts/run.py",
args=["cad", "scripts/gen", "models/widget.step.py", "--write"]
)
The first argument is the workflow name, the second is a Python file or Python
package entry relative to that workflow, and the remaining arguments are passed
unchanged. The proxy rejects path traversal and non-Python entries.
Common translations:
| Upstream instruction |
Proxy arguments |
python scripts/gen ... in CAD |
cad, scripts/gen, then original arguments |
python scripts/inspect ... |
cad, scripts/inspect, then original arguments |
python scripts/snapshot ... |
owning workflow, scripts/snapshot, then original arguments |
python scripts/dfam_tool.py ... |
dfam-check, scripts/dfam_tool.py, then original arguments |
python scripts/gcode_tool.py ... |
gcode, scripts/gcode_tool.py, then original arguments |
CAD Viewer npm ... start |
cad-viewer, scripts/viewer/server_py/start_viewer.py, --host, 127.0.0.1, --json |
Run commands from the user's workspace so relative model and output paths stay
there. The proxy preserves the current working directory.
Non-Python tools
Some workflows call an installed slicer, MoveIt, or another external program.
Follow the selected upstream SKILL.md exactly and use ordinary tool approval
for those external commands. Do not substitute a different backend silently.
Safety and integrity
- The archive SHA-256 is verified before every first extraction.
- Extraction rejects absolute paths, parent traversal, links, devices, and FIFOs.
- Cache contents are immutable runtime files; edit only user workspace sources.
- Never upload a file, connect to a printer, or start a print without explicit
user authorization.
- Report missing dependencies, unsupported platforms, viewer startup failures,
and unavailable external tools instead of claiming success.
- Preserve the selected upstream workflow's validation and handoff requirements.
Provenance
- Upstream version:
0.4.28
- Upstream commit:
0e94cd1d2b5fa2013d89aa9504ecadcf16ce39f6
- License: MIT
The expert package root contains the full provenance record. Each extracted
workflow retains its upstream license file.
1---2name: text-to-cad3description: Route CAD, robot-description, fabrication, slicing, printer handoff, and local model review tasks through the bundled text-to-cad 0.4.28 runtime. Use for STEP/STP, STL, 3MF, GLB, DXF, URDF, SRDF, SDF, DfAM, G-code, Bambu Labs, off-the-shelf STEP parts, or implicit CAD requests.4---56# text-to-cad runtime router78This Skill packages the MIT-licensed9[earthtojake/text-to-cad](https://github.com/earthtojake/text-to-cad) workflows as10one pinned, offline runtime. The upstream files are stored in a checksum-verified11archive so the application does not carry several expanded copies of the same12CAD runtime.1314## Required startup1516Before reading an upstream workflow, run:1718```text19run_skill_script(20 skillId="text-to-cad",21 script="scripts/bootstrap.py",22 args=["--json"]23)24```2526The result contains the immutable runtime root and a map of workflow names to27absolute directories. Never guess the cache path and never edit files in it.2829## Workflow routing3031Select exactly one primary workflow, then read its `SKILL.md` completely from32the returned directory. Load another workflow only when the first one explicitly33hands off to it.3435| Request | Primary workflow |36| --- | --- |37| Parametric part, assembly, STEP/STP, measurement, STL/3MF/GLB export | `cad` |38| Local visual review of CAD, DXF, implicit, or robot files | `cad-viewer` |39| Purchasable screws, bearings, motors, boards, connectors, STEP parts | `step-parts` |40| 2D profiles, templates, gaskets, cut layouts, DXF | `dxf` |41| Robot links, joints, limits, inertials, meshes | `urdf` |42| MoveIt groups, end effectors, poses, collision rules | `srdf` |43| Simulation models, worlds, physics, sensors, lights | `sdf` |44| SendCutSend upload readiness | `sendcutsend` |45| Mesh wall thickness, overhang, support, orientation, printability | `dfam-check` |46| Validated mesh to printer-profiled G-code | `gcode` |47| Explicitly authorized Bambu upload or print start | `bambu-labs` |48| Browser-native GLSL signed-distance-field modeling | `implicit-cad` |4950## Running upstream Python entries5152The application only executes scripts located inside the selected Skill. Use53the checked proxy instead of calling extracted Python files directly:5455```text56run_skill_script(57 skillId="text-to-cad",58 script="scripts/run.py",59 args=["cad", "scripts/gen", "models/widget.step.py", "--write"]60)61```6263The first argument is the workflow name, the second is a Python file or Python64package entry relative to that workflow, and the remaining arguments are passed65unchanged. The proxy rejects path traversal and non-Python entries.6667Common translations:6869| Upstream instruction | Proxy arguments |70| --- | --- |71| `python scripts/gen ...` in CAD | `cad`, `scripts/gen`, then original arguments |72| `python scripts/inspect ...` | `cad`, `scripts/inspect`, then original arguments |73| `python scripts/snapshot ...` | owning workflow, `scripts/snapshot`, then original arguments |74| `python scripts/dfam_tool.py ...` | `dfam-check`, `scripts/dfam_tool.py`, then original arguments |75| `python scripts/gcode_tool.py ...` | `gcode`, `scripts/gcode_tool.py`, then original arguments |76| CAD Viewer `npm ... start` | `cad-viewer`, `scripts/viewer/server_py/start_viewer.py`, `--host`, `127.0.0.1`, `--json` |7778Run commands from the user's workspace so relative model and output paths stay79there. The proxy preserves the current working directory.8081## Non-Python tools8283Some workflows call an installed slicer, MoveIt, or another external program.84Follow the selected upstream `SKILL.md` exactly and use ordinary tool approval85for those external commands. Do not substitute a different backend silently.8687## Safety and integrity8889- The archive SHA-256 is verified before every first extraction.90- Extraction rejects absolute paths, parent traversal, links, devices, and FIFOs.91- Cache contents are immutable runtime files; edit only user workspace sources.92- Never upload a file, connect to a printer, or start a print without explicit93 user authorization.94- Report missing dependencies, unsupported platforms, viewer startup failures,95 and unavailable external tools instead of claiming success.96- Preserve the selected upstream workflow's validation and handoff requirements.9798## Provenance99100- Upstream version: `0.4.28`101- Upstream commit: `0e94cd1d2b5fa2013d89aa9504ecadcf16ce39f6`102- License: MIT103104The expert package root contains the full provenance record. Each extracted105workflow retains its upstream license file.