srdf
Qué hace
Esta skill guía a tu IA en la escritura y comprobación de archivos SRDF, la descripción de planificación de MoveIt que acompaña al URDF de un robot. Está pensada para ingenieros de robótica que configuran la planificación de movimiento.
Cuándo usarla
- ✓Cuando creas o editas un archivo SRDF para un robot que usa MoveIt.
- ✓Cuando necesitas definir grupos de planificación, efectores finales o estados de grupo.
- ✓Cuando quieres comprobar qué pares de colisión deben desactivarse.
Link de la skill
https://github.com/earthtojake/text-to-cad/blob/main/skills/srdf/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Puedes crear un SRDF para mi brazo de seis ejes, con un grupo de planificación para el brazo y un efector final para la pinza?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La IA lee los nombres de enlaces y articulaciones del URDF del robot, y después escribe los grupos de planificación y los ajustes relacionados a partir de ellos. Valida el resultado y evita adivinar nombres.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
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. The .srdf file is the source of truth: author and edit the XML directly.
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 the cad command (~/.local/bin/cad where ~/.local/bin is not on your PATH, or where a
project's environment puts its own cad first; cad.cmd on Windows). If cad is not found and
the CAD app was only just added, its server may still be starting: wait five seconds and run the
command again, for up to a minute, before anything else. Otherwise install text-to-cad, outside a sandbox or with its permission:
curl -fsSL https://texttocad.dev/install.sh | sh
On Windows, in PowerShell: irm https://www.texttocad.dev/install.ps1 | iex. Any other failure
says what to do, and cad doctor explains the installation.
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 model you create or change, and any model or file they ask to see.
A file you export is a download: give its path, do not open it.
Snapshots and validation don't replace this. Never screenshot the viewer to confirm your
own work; review with cad snapshot.
If your tools include
cad_show(your host may prefix it), call it with the model's id or the file's absolute path, and follow its description for when to call it again. The other tools depend on the host. A host that draws CAD cards or tabs (Claude Desktop, the Codex app) also hascad_view, which reads what the user selected, andcad_screenshot, which shows you what they see, both of a card or tab that is open, for when they ask about it. A text host (Claude Code in a terminal,codex exec) draws nothing: itscad_showopens the model's page in the user's browser and answers with the URL to give them, and it has no view to read.cad_inspect,cad_snapshotandcad_exportare on every host. Call only the tools you have, and never say a card shows a model when your host drew none.Otherwise give the user the page's link once: a model's page is the
view:line its run prints. For a file, run the CAD Viewer, from any folder:cad viewer --json FILE [FILE ...]The command ensures this installation's server, registers each file and prints its page,
/<id>, then exits. Read each file'surlfromdocumentsin its one JSON line (never guess the port); the URL carries its token query. A page follows every later run of its model and every rewrite of its file, so share it once. Return that link to the user. If it fails to launch, say so.
An .srdf you write is the robot's model, not an export: show it. 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
- Start from a valid URDF. Author or fix the URDF first and validate it (
cad urdf validate). The SRDF pairs with that URDF by colocation and robot name, and every name in the SRDF must exist in it. - 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 t
Preguntas frecuentes
¿Qué es SRDF?
Es el archivo de MoveIt para los ajustes de planificación que se colocan sobre el URDF de un robot.
¿Describe la forma del robot?
No. La estructura del robot se describe en el archivo URDF.
¿Necesito un URDF antes?
Sí. La skill trabaja sobre un URDF válido ya existente.
Detalles
Descripción original del autor
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. Covers MoveIt planning semantics, not the robot's structure (URDF) or simulator descriptions (SDF). Open and visually review existing SRDF files in CAD Viewer.
repo: earthtojake/text-to-cad
Popularidad
- Estrellas en GitHub
- 25 mil
- Posición en el ranking
- #10075
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
bambu-labs
25 milAyuda a tu agente a enviar un modelo 3D cortado o sin cortar a una impresora Bambu Lab a través de Bambu Connect o Bambu Studio.
cad
25 milAyuda a tu agente a diseñar piezas 3D y conjuntos como scripts de Python con build123d, exportarlos como STEP o STL y comprobar sus medidas.
dfam-check
25 milAyuda a tu agente a comprobar si una malla 3D puede imprimirse bien, informando de voladizos, grosor de pared y necesidad de soportes.
dfm
25 milAyuda a tu agente a revisar una pieza para chapa, mecanizado CNC o moldeo por inyección, para comprobar si puede fabricarse y qué cambiar.
Skills parecidas
blucli
394 milAyuda a tu agente a buscar, reproducir, pausar, agrupar y ajustar el volumen de los altavoces Bluesound y NAD con el comando blu.
camsnap
394 milAyuda a tu agente a capturar fotos, clips cortos o eventos de movimiento de cámaras de red y cámaras web locales que hayas configurado.
eightctl
394 milAyuda a tu agente a consultar y controlar un pod de Eight Sleep, incluida su temperatura, sus alarmas y sus horarios de sueño.