⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
srdf
MoveIt2 SRDF authoring, validation, and planning-semantics workflow. Use when creating, editing, inspecting, or validating `.srdf` files, MoveIt planning groups, virtual joints, passive joints, end effectors, group states, disabled collisions, URDF-paired planning semantics, or SRDF handoff for live review. Use the URDF skill for robot structure and the SDF skill for simulator descriptions. Open and visually review existing SRDF files in CAD Viewer.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
Design physical products with AI.
text-to-cad
🚀 Quickstart
macOS and Linux:
curl -fsSL https://texttocad.dev/install.sh | sh
Windows, in PowerShell:
irm https://www.texttocad.dev/install.ps1 | iex
It installs uv if it is missing, then cad, the command text-to-cad runs on, then
the plugin in each agent app it finds on your computer, with that app's own command
(Kimi Code you install by hand), and turns on automatic updates.
Then ask your agent for a part or an assembly: it writes the model as a Python script, runs it to build the model and shows it in the viewer.
It works in Claude Code, Codex, Cursor, Gemini CLI, Grok Build, Antigravity, Devin CLI, Factory Droid, GitHub Copilot CLI, Kimi Code, Muse, Pi, Qwen Code, Amp, Cline, Goose, Hermes Agent, Kilo Code, Kiro CLI, OpenClaw, OpenCode, Roo Code, Trae and Windsurf.
Installing by hand, app by app, updating and removing: docs/install.md
✨ Features
The text-to-cad plugin gives your agent local workflows to generate 3D models as STEP, GLB, STL or 3MF files, check them for manufacturing, draw them, and connect to 3D printing, sheet metal and CNC services. It works with any agent that supports plugins or skills.
- Parts and assemblies: Models written as Python scripts with build123d and OpenCASCADE, exported as STEP, STL, 3MF or GLB, and as DXF profiles and flat patterns for laser and waterjet cutting, with joints and animations for mechanisms, and shown live in the viewer.
- Circuit boards: KiCad schematics and boards, placed and routed, checked with ERC and DRC, reviewed before you order, and exported as fabrication files.
- Manufacturing checks: Whether a part can be machined, cut and bent, molded or 3D printed, measured against the process's rules, and what to change where it cannot.
- Stress checks: Whether a part or an assembly of bonded parts holds under its loads, solved with CalculiX: each part's peak stress, safety factor and how far it moves, drawn on the model.
- Engineering drawings: Dimensioned PDF sheets projected from the part's geometry: views, hidden lines, centre marks, hole callouts and a title block.
- Renders: Photoreal stills, turntables and films of a model with Blender, lit and framed in a Python script and run on the GPU, with a quick draft before each final.
- Fabrication services: Checks DXF and STEP files against SendCutSend's guide before you upload them, and slices 3D prints with OrcaSlicer and sends them to Bambu Connect or Bambu Studio.
- Robotics and simulation: Robot and world descriptions for simulation and motion planning: URDF for ROS, SRDF for MoveIt and MJCF for MuJoCo.
🌐 Community
Projects built on top of text-to-cad, and projects that text-to-cad uses.
- Studio: A community app by @amywork777: an open-source desktop CAD app for mechanical engineers, built on text-to-cad, for Mac and Windows. You describe a part to the agent, and the 3D model, drawings, stress check and versions sit beside the chat, where you can also edit the model by hand. Website · GitHub
- build123d: The Python CAD library text-to-cad's models are written in: parts and assemblies as code, with sketches, features and joints, built on OpenCASCADE. Docs · GitHub
- OpenCASCADE: The open-source geometry kernel under build123d: it builds the solids and reads and writes the STEP files. Website · GitHub
- kicode: KiCad's command line, kicad-cli, and its Python client, KiPy, in one Python package: the headless KiCad that text-to-cad's circuit boards run on, with nothing else of KiCad installed. Unofficial: not made or supported by the KiCad project. PyPI · GitHub
🛠️ Contributing
text-to-cad is MIT-licensed and built in the open.
- Bugs and plugin requests: open an issue.
A bug report with the model script and the output of
cad doctoris the fastest to fix, and an agent app without a plugin gets one on request. A security problem is reported privately, as SECURITY.md says. - Questions, ideas and what you made: the Discord. Say what the skills got wrong, too: that is what improves them.
- Code, skills and models: a new skill (a fabrication service, a printer, a
CAD workflow) goes in
skills/, an example model inmodels/, and fixes anywhere. CONTRIBUTING.md has the local setup, how to test in the agent apps, and the guidance for agents working in the repository.
By default, text-to-cad sends usage stats and crash reports, tagged with a random ID and never including your files, paths or prompts. The privacy policy says what is sent and how to turn it off, and the terms of service govern using text-to-cad.
// HOW IT'S BUILT
// FILES
2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.
skills/srdf/SKILL.md7.8 KBupstream ↗
--- name: srdf description: MoveIt2 SRDF authoring, validation, and planning-semantics workflow. Use when creating, editing, inspecting, or validating `.srdf` files, MoveIt planning groups, virtual joints, passive joints, end effectors, group states, disabled collisions, URDF-paired planning semantics, or SRDF handoff for live review. Use the URDF skill for robot structure and the SDF skill for simulator descriptions. Open and visually review existing SRDF files in CAD Viewer. license: MIT --- # SRDF Provenance: maintained in [earthtojake/text-to-cad](https://github.com/earthtojake/text-to-cad). Use the installed local skill files as the runtime source of truth; the repository link is only for provenance and release review. Use this skill for MoveIt semantic robot descriptions on top of an existing valid URDF. SRDF defines planning semantics; it does not define physical robot structure. The `.srdf` file is the source of truth: author and edit the XML directly. There is no `gen_srdf()` contract. SRDF correctness is a **planning semantics** problem. The common failure is not invalid XML; it is a plausible SRDF that gives MoveIt the wrong planning group, wrong tool link, wrong default state, unsafe disabled-collision matrix, or wrong joint units. Because language models are weak at spatial and kinematic reasoning, derive planning groups, end effectors, group states, and disabled collisions from the URDF topology, MoveIt Setup Assistant output, sampled collision analysis, or explicit user data. Do not infer them from visual theme alone — and do not type any link or joint name from memory: extract the URDF's link/joint table first and copy names from it. ## Setup Run cadgen through [uv](https://docs.astral.sh/uv/), so this skill's commands share one installation, and its warm build daemon, with the CAD app's server: - `cadgen` below means `uvx --no-config --managed-python --python 3.13 --from cadgen==0.7.21 cadgen` - `python` below means `uvx --no-config --managed-python --python 3.13 --from cadgen==0.7.21 python` The first run downloads that installation and the first snapshot its headless browser; later runs reuse both. ## Format boundary - **URDF** owns physical robot structure: links, joints, geometry, inertials, limits, mimic joints, transmissions, and robot-state publishing. - **SRDF** owns MoveIt semantics: virtual joints, passive joints, planning groups, group states, end effectors, and disabled collision pairs. - **SDF** owns simulator/world semantics: physics, sensors, lights, plugins, worlds, and simulation-specific metadata. Do not place geometry, inertials, joint origins, link poses, mesh references, physical joint limits, transmissions, or `ros2_control` interfaces in SRDF. ## Show the model Show the user each file you create or change, and any they ask to see. Snapshots and validation don't replace this. - If your tools include `cad_show` (your host may prefix it), use it with the file's absolute path, and follow its description for when to call it again. `cad_view` reads what the user selected; `cad_screenshot` shows you what they see. Neither is a review of your own work. - Otherwise run the CAD Viewer, from any folder: ```bash cadgen viewer --host 127.0.0.1 --json --detach ``` `--detach` returns once the viewer answers requests and leaves it running in the background: always pass it, since a foreground viewer never exits (and piping its output through `tail` can hide the URL for good). It starts this machine's one viewer, or reuses it. Read `url` from its one JSON line (never guess the port), and for each file return `url?file=<its URL-encoded absolute path>`. If it fails to launch, say so. Keep the SRDF beside its uniquely matching URDF (same robot name). Review planning groups, named states and joints; visual review does not prove planning correctness. ## Required workflow 1. **Start from a valid URDF.** Author or fix the URDF first with `$urdf` and validate it. The SRDF pairs with that URDF by colocation and robot name, and every name in the SRDF must exist in it. 2. **Extract the URDF table.** Before writing any SRDF XML, list the URDF's robot name, links, joints (with type, parent, child, limits, mimic flags). Copy names from this table only; never type them from memory. See `references/srdf-workflow.md`. 3. **Identify the planning task.** Record whether the goal is arm IK, gripper control, mobile base planning, dual-arm planning, tool use, or local smoke testing. 4. **Create or update the planning ledger.** Use `references/planning-ledger.md` before writing XML; keep a compact copy as a comment block in the `.srdf`. 5. **Pair with the URDF by colocation.** Save the `.srdf` in the same folder as its `.urdf`, with the same `<robot name>` — that is the only linking mechanism. The validator and the viewer both resolve the pairing by scanning the folder for the URDF whose robot name matches; exactly one URDF per robot name per folder. No metadata element links the files. See `references/authoring-contract.md`. 6. **Define virtual and passive joints deliberately.** Use them when needed by the robot model. 7. **Define planning groups from URDF topology.** Prefer chain groups for serial manipulators when base/tip form a real parent-to-child path in the URDF tree (the validator verifies this). Use joint/link/subgroup definitions only when they are deliberate. 8. **Define end effectors after group membership is known.** Avoid overlap between an end-effector group and its parent group. Record the actual target/TCP link. 9. **Define group states in URDF-native units.** Revolute and continuous values are radians; prismatic values are meters. Do not store degrees in SRDF. Values must lie within URDF limits and must not set fixed or mimic joints. 10. **Generate disabled collisions from evidence.** Use adjacency derived from the URDF joint table, MoveIt Setup Assistant sampling, or explicit user-provided collision matrices. Do not invent broad disable lists. See `references/disabled-collisions.md`. 11. **Validate every created or modified `.srdf`** with `cadgen srdf validate`; it cross-validates all names, chains, states, and pairs against the paired URDF. Fix findings and re-validate until clean. 12. **Run MoveIt smoke tests when available.** Use MoveIt Setup Assistant or a project MoveIt launch directly. 13. **Report assumptions and skipped checks.** Include incomplete validation, missing MoveIt environment, manually reasoned collision disables, and inferred target links. ## Commands Run `cadgen` as Setup defines it. `cadgen doctor <skill-dir>` reports the installation in use and checks that it is the one this skill pins — docs drift silently on another. Validation itself needs nothing beyond the Python standard library; only snapshots need the browser. Use `cadgen <verb> --help` for the complete current interface. The validator shape is: ```bash cadgen srdf validate path/to/robot.srdf cadgen srdf validate path/to/robot.srdf --strict cadgen srdf validate path/to/robot.srdf --json ``` The validator parses the SRDF, resolves the paired URDF (the same-folder `.urdf` whose robot name matches; none, several, or an invalid one is an error), and cross-validates: group/joint/link/subgroup name existence, chain path resolvability, subgroup cycles, virtual/passive joints, end-effector topology, group-state membership/limits/completeness, disabled-collision pairs (including Adjacent-reason truthfulness), and misspelled elements. Each phase collects all its findings in one pass (severity, code, XML path), but a structural error stops the cross-file phase — re-run after every fix. One run validates ONE file: `--strict` treats warnings as failures and `--json` prints one line of `{"ok", "path", "issues": [{"severity", "code", "message", "element", "hint"}], "summary"}`, where `element` is the XML path. It exits nonzero if the target fails. Relative targets resolve from the current working directory. ## Hard rulREADME.mdupstream ↗
Contents are not inlined in the catalog. Open the upstream file.
Plain-text copy, no login: /skill-bundles/earthtojake-text-to-cad-skills-srdf.md