urdf
यह क्या करती है
यह स्किल आपके AI को URDF फ़ाइलें बनाने और जाँचने में मार्गदर्शन देती है, जो रोबोट के links, joints और आकार बताती हैं। यह उन रोबोटिक्स इंजीनियरों के लिए है जो रोबोट मॉडल बनाते या उनकी गड़बड़ी ठीक करते हैं।
कब इस्तेमाल करें
- ✓जब आप रोबोट के लिए URDF फ़ाइल बनाते या संपादित करते हैं।
- ✓जब किसी रोबोट के joints या frames व्यूअर या सिम्युलेटर में गलत व्यवहार करते हैं।
- ✓जब आपको URDF में joint सीमाएँ, inertia या collision ज्यामिति जाँचनी है।
Skill का लिंक
https://github.com/earthtojake/text-to-cad/blob/main/skills/urdf/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप दो-joint भुजा के लिए joint सीमाओं सहित URDF लिख सकते हैं और जाँच सकते हैं कि वह वैध है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI सीधे URDF XML लिखता है और फ़ाइल के शीर्ष पर frame और इकाई की धारणाएँ दर्ज करता है। फिर वह फ़ाइल को सत्यापित करता है, ताकि frames, axes और इकाइयों की त्रुटियाँ पकड़ी जा सकें।
तकनीकी सामग्री (मूल 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 फ़ॉर्मेट है जो बताता है कि रोबोट के पुर्ज़े क्या हैं और वे आपस में कैसे जुड़ते हैं।
क्या यह planning सेटिंग्स कवर करती है?
नहीं। MoveIt की planning सेटिंग्स SRDF स्किल में हैं।
क्या यह CAD फ़ाइल को कवर करती है?
नहीं। यह रोबोट विवरण कवर करती है, और जिन mesh फ़ाइलों का वह संदर्भ देती है वे अलग होती हैं।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
bambu-labs
25kयह आपके एजेंट को Bambu Connect या Bambu Studio के ज़रिए slice किया या बिना slice का 3D मॉडल Bambu Lab प्रिंटर पर भेजने में मदद करती है।
cad
25kयह आपके एजेंट को 3D पुर्ज़ों और असेंबली को Python build123d स्क्रिप्ट के रूप में डिज़ाइन करने, उन्हें STEP या STL फ़ाइलों में निर्यात करने और उनके माप जाँचने में मदद करती है।
dfam-check
25kयह आपके एजेंट को जाँचने में मदद करती है कि 3D mesh फ़ाइल ठीक से प्रिंट हो सकती है या नहीं, और overhangs, दीवार की मोटाई व सपोर्ट की ज़रूरत बताती है।
dfm
25kयह आपके एजेंट को शीट मेटल, CNC मशीनिंग या इंजेक्शन मोल्डिंग के लिए पुर्ज़े की समीक्षा करने में मदद करती है, यह जाँचने के लिए कि वह बन सकता है या नहीं और क्या बदलना है।
मिलती-जुलती skills
blucli
394kयह आपके एजेंट को blu कमांड से Bluesound और NAD स्पीकर खोजने, चलाने, रोकने, समूह बनाने और वॉल्यूम बदलने में मदद करती है।
camsnap
394kयह आपके एजेंट को नेटवर्क कैमरों और लोकल webcam से स्नैपशॉट, छोटी क्लिप या मोशन इवेंट लेने में मदद करती है, जो आपने सेट किए हों।
eightctl
394kयह आपके एजेंट को Eight Sleep pod की जांच और नियंत्रण करने में मदद करती है, जिसमें तापमान, अलार्म और नींद की समय-सारणी शामिल हैं।