urdf
하는 일
이 스킬은 로봇의 부품과 형상을 설명하는 URDF 파일을 만들고 검사하도록 AI를 안내합니다. 로봇 모델을 만들거나 디버깅하는 로봇 엔지니어를 위한 스킬입니다.
사용하는 경우
- ✓로봇의 URDF 파일을 만들거나 편집할 때.
- ✓뷰어나 시뮬레이터에서 로봇의 조인트나 프레임이 잘못 동작할 때.
- ✓URDF에서 조인트 한계, 관성, 충돌 형상을 확인해야 할 때.
스킬 링크
https://github.com/earthtojake/text-to-cad/blob/main/skills/urdf/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“조인트 한계가 있는 두 조인트 팔의 URDF를 작성하고, 유효한지 확인해 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 URDF XML을 직접 작성하며, 파일 맨 위에 프레임과 단위에 대한 가정을 먼저 기록합니다. 그다음 프레임, 축, 단위의 오류를 찾도록 파일을 검증합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
URDF
Use this skill for URDF robot-description outputs. Treat URDF work as constrained kinematic modeling, not just XML writing. The main correctness risks are frame placement, joint-axis semantics, unit consistency, mesh scale, and inertial data.
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.
Core Rules
- The
.urdffile is the source of truth. Author and edit URDF XML directly; do not build a Python generation pipeline for it. - Before writing or changing URDF XML, establish the robot's frame, joint, geometry, unit, and assumption ledger and embed it as a comment block at the top of the
.urdffile. Seereferences/design-ledger.md. - Use URDF frame semantics exactly. Joint origins, link frames, joint axes, and visual/collision/inertial origins use different reference frames. See
references/frame-semantics.md. - Do not infer spatial transforms, mesh units, handedness, axes, or joint signs from vague prose. Use CAD transforms, dimensioned drawings, measured values, existing source data, or explicit documented assumptions.
- Never freehand numeric values that are the result of computation — inertia tensors, centers of mass, unit conversions across many links, mirrored transforms. Compute them: closed-form formulas for primitives, or a throwaway helper script for mesh-derived values. See
references/inertials.md. - For physical links, model
inertial,visual, andcollisionseparately when the target consumer needs them. Frame-only links may intentionally omit mass and geometry. - Validate every created or modified
.urdfwithcad urdf validatebefore reporting completion. Seereferences/validation.md. - Helper scripts are allowed and encouraged for computation, but they are scaffolding, not the artifact's source of truth. For complex or genuinely parametric models it is reasonable to keep a model-local helper script on disk next to related source code (for example STEP generator sources) and note it in the ledger; this is optional, and the checked-in
.urdfremains canonical.
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.
A .urdf you write is the robot's model, not an export: show it. Review mesh scale
and placement, then sweep every movable joint against
자주 묻는 질문
URDF란 무엇인가요?
로봇의 부품과 그 연결 방식을 설명하는 XML 형식입니다.
계획 설정도 다루나요?
아니요. MoveIt의 계획 설정은 SRDF 스킬에 있습니다.
CAD 파일 자체도 다루나요?
아니요. 로봇 설명을 다루며, 참조하는 메시 파일은 별도입니다.
상세 정보
작성자의 원본 설명
URDF robot description authoring and validation. Use when creating, editing, inspecting, validating, or debugging `.urdf` files, robot links, joints, limits, inertials, visual/collision geometry, mesh references, frame conventions, or robot-description artifacts. Covers the robot's structure, not MoveIt2 semantic groups or IK/path-planning semantics (SRDF), and not the STEP/STL/3MF/DXF/GLB files its meshes come from. Open and visually review existing URDF files in CAD Viewer.
repo: earthtojake/text-to-cad
인기도
- GitHub 스타
- 25k
- 순위
- #10077
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
bambu-labs
25k에이전트가 Bambu Connect나 Bambu Studio를 통해 슬라이스된 또는 슬라이스되지 않은 3D 모델을 Bambu Lab 프린터로 보내도록 돕습니다.
cad
25k에이전트가 3D 부품과 조립품을 Python build123d 스크립트로 설계하고, STEP이나 STL 파일로 내보내며, 치수를 확인하도록 돕습니다.
dfam-check
25k에이전트가 3D 메시 파일을 잘 출력할 수 있는지 확인하고, 오버행, 벽 두께, 지지대 필요성을 보고하도록 돕습니다.
dfm
25k에이전트가 부품을 판금, CNC 가공, 사출 성형으로 만들 수 있는지 검토하고, 무엇을 바꿔야 하는지 확인하도록 돕습니다.