srdf
Skill2 starsChanged 6 months agoMITView on GitHub
MoveIt2 SRDF generation, validation, and planning-semantics workflow. Use when creating, editing, regenerating, inspecting, or validating `.srdf` files, `gen_srdf()` sources, MoveIt planning groups, virtual joints, passive joints, end effectors, group states, disabled collisions, URDF-linked planning semantics, or SRDF handoff to CAD Explorer review. Use the URDF skill for robot structure, the SDF skill for simulator descriptions, and the render skill for rendering, Explorer links, and optional MoveIt2 controls.
3 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- earthtojake/text-to-cadedited, first seen Oct 5, 2026
- saint0x/my-skillsedited, first seen Aug 29, 2026
- tlinedeep/claude-skillsedited, first seen Jun 3, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- earthtojake/text-to-cad★ 17k22% same
- saint0x/my-skills★ 130% same
- tlinedeep/claude-skills★ 025% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- harness/AGENTS.mdAGENTS.md
- harness/CLAUDE.mdCLAUDE.md
- auto-kinematicsSkill
- real-time-bom-costingSkill
- cadSkill
- camSkill
- competitor-benchmarkSkill
- regulatory-compliance-checkerSkill
- semantic-design-intent-memorySkill
- drawing-generatorSkill
- enterprise-vaultSkill
- esg-analyzerSkill
- exploded-viewSkill
- fastener-standard-enforcerSkill
- feaSkill
- multi-physics-cosimulationSkill
- patent-detectorSkill
- predictive-maintenanceSkill
- renderSkill
- scan-to-codeSkill
- sdfSkill
- sendcutsendSkill
- sketch-to-cadSkill
- step-partsSkill
- tolerance-stackup-analyzerSkill
- urdfSkill
The file
We split this skill into the rules it gives an agent
10 rules. 3 are common, 1 is distinctive, and 6 are very specific to this project.
3
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 8
Use this skill for MoveIt semantic robot descriptions on top of an existing valid URDF.
- Very specific: line 18
Do not place geometry, inertials, joint origins, link poses, mesh references, physical joint limits, transmissions, or ros2_control …
- Very specific: line 26
Create or update the planning ledger: Use references/planning-ledger.md before writing XML.
- Distinctive: line 27
Define virtual and passive joints deliberately: Use them when needed by the robot model, even though the current lightweight runtime does …
- Very specific: line 28
Define planning groups from URDF topology: Prefer chain groups for serial manipulators when base/tip form a real path.
- Common: line 29
Define end effectors after group membership is known: Avoid overlap between an end-effector group and its parent group.
- Common: line 31
Generate disabled collisions from evidence: Use adjacency, MoveIt Setup Assistant sampling, or explicit user-provided collision matrices.
- Very specific: line 33
Run MoveIt smoke tests when available: Use MoveIt Setup Assistant or a project MoveIt launch directly.
- Very specific: line 34
Hand off generated artifacts for review: After creating or modifying generated .srdf files, pass the explicit file path to $render for live …
- Very specific: line 35
Use snapshots for visual feedback: Prefer $render snapshots over opening the viewer manually or using Playwright.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SRDF
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.
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 appearance alone.
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.
After creating or modifying generated .srdf files, hand the explicit output path to $render when that skill is available; $render checks/reuses a live viewer and returns a link. If the user needs interactive IK or path-planning controls, make that part of the $render handoff; CAD Explorer owns the local moveit2_server setup and runtime.
Required workflow
- Start from a valid URDF. Generate or fix the URDF first. The SRDF generator validates against the source-relative
.urdfpath supplied bygen_srdf(). - 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.
- Create or update the planning ledger. Use
references/planning-ledger.mdbefore writing XML. - Define virtual and passive joints deliberately. Use them when needed by the robot model, even though the current lightweight runtime does not fully inventory them yet.
- Define planning groups from URDF topology. Prefer chain groups for serial manipulators when base/tip form a real path. Use joint/link/subgroup definitions only when they are deliberate.
- 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.
- Define group states in URDF-native units. Revolute and continuous values are radians; prismatic values are meters. Do not store degrees in SRDF.
- Generate disabled collisions from evidence. Use adjacency, MoveIt Setup Assistant sampling, or explicit user-provided collision matrices. Do not invent broad disable lists.
- Regenerate only explicit SRDF targets. Generation validates the generated SRDF against the linked URDF before writing.
- Run MoveIt smoke tests when available. Use MoveIt Setup Assistant or a project MoveIt launch directly. For local Explorer-based IK/path planning, hand the SRDF to
$render; it ownsmoveit2_serverstartup and URL wiring. - Hand off generated artifacts for review. After creating or modifying generated
.srdffiles, pass the explicit file path to$renderfor live viewer links when available. - Use snapshots for visual feedback. Prefer
$rendersnapshots over opening the viewer manually or using Playwright. Use still snapshots only; SRDF review should not generate GIFs. - Report assumptions and skipped checks. Include incomplete validation, missing MoveIt environment, skipped
$renderhandoff/viewer checks, manually reasoned collision disables, and inferred target links.
Commands
From this skill directory, the SRDF launcher shape is:
python scripts/srdf path/to/source.py
python scripts/srdf path/to/source.py -o path/to/robot.srdf
python scripts/srdf path/to/a.py=out/a.srdf path/to/b.py=out/b.srdfRelative source targets and CLI output overrides are resolved from the current working directory. When running from outside this skill directory, prefix the launcher path so target files still resolve from the intended workspace.
For GUI/rendering review, do not start Explorer from this skill. Hand generated or modified .srdf files to $render with explicit paths; $render owns viewer liveness checks and links. Request optional MoveIt2 controls only when the user needs IK or path-planning review; $render owns the server commands and environment guidance.
Hard rules
- SRDF must reference an existing valid URDF.
- The SRDF robot name must match the URDF robot name.
- Group states use URDF-native units: radians for revolute/continuous, meters for prismatic.
- Disabled collision pairs require truthful reasons and provenance.
- End-effector groups should not share links with their parent planning group.
$renderowns CAD Explorer links and the localmoveit2_server; SRDF should hand off explicit generated/modified.srdfpaths rather than starting GUI services itself.- CAD Explorer or visual rendering review is useful but cannot prove planning correctness.
References
- Generation command:
references/gen-srdf.md - Generator contract:
references/generator-contract.md - SRDF workflow:
references/srdf-workflow.md - Planning ledger:
references/planning-ledger.md - Validation scope:
references/validation.md - End effectors:
references/end-effectors.md - Disabled collisions:
references/disabled-collisions.md - Runtime notes and current limitations:
references/implementation-notes.md
For CAD Explorer links or local MoveIt2 controls, use $render; in that skill, read references/moveit2-server.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

