kernelcad-urdf

kernelcad-urdf is a skill for Claude Code, Codex from w1ne/kernelCAD-web. It costs 43 tokens per session (2,475 once invoked), scanned A, original, MIT.

A URDF export tool for turning a multi-part assembly into a robot description. URDF is an XML format that describes parts, joints, motion limits, mass, and mesh files for simulators and motion-planning software.

In plain words
What is it for?
Use it to export robot arms and other tree-shaped assemblies with links and joints. It is not intended for assemblies with closed motion loops, such as four-bar linkages.
Why use it?
It prepares assembly data in the format many robotics tools expect, including separate mesh files and physical properties for each part.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to export robot arms and other tree-shaped assemblies with links and joints. It is not intended for assemblies with closed motion loops, such as four-bar linkages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/w1ne/kernelcad-web/kernelcad-urdf
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add w1ne/kernelCAD-web --skill kernelcad-urdf
Clone the repo
git clone --depth 1 https://github.com/w1ne/kernelCAD-web

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kernelcad-urdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-urdf/github.svg)](https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-urdf)
Your own site
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-urdf"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-urdf/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kernelcad-urdf

Your own site · 80×15
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-urdf"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-urdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,475 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.02475
Opus 5.5 $0.00017 $0.00990
Sonnet 5.5 $0.00009 $0.00495
Haiku 4.5 $0.00004 $0.00248

Measured 15d ago against content hash c8efac50aaa4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kernelcad-urdf scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/agent/skills/kernelcad-urdf/SKILL.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

kernelCAD — URDF export

URDF (Unified Robot Description Format) is a tree-shaped XML description of a multi-part assembly: links with inertial properties, joints with axes and limits, and visual + collision meshes. kernelCAD's export({ target: 'model', format: 'urdf' }) writes a .urdf plus a sibling meshes/ directory with one STL per link.

When to use

  • The assembly has at least one part and one joint or mate.
  • The downstream consumer expects a tree topology (one parent per link).
  • You need per-link mass, centre-of-mass, and inertia for dynamics simulation.

Not for: assemblies with closed kinematic loops (4-bar linkages, parallel grippers) — see kernelcad-sdformat for those.

Quickstart

const arm = assembly('two-link');
const base = arm.part('base', box(30, 30, 8), { density: 2700 });
const link = arm.part('link', box(80, 12, 8), { density: 2700 });
base.connector('shoulderAxis', { type: 'axis', origin: { kind: 'vec3', value: [0, 0, 8] }, axis: [0, 0, 1] });
link.connector('shoulderAxis', { type: 'axis', origin: { kind: 'vec3', value: [0, 0, 0] }, axis: [0, 0, 1] });
arm.mate('shoulder', 'base.shoulderAxis', 'link.shoulderAxis', 'revolute', { limitsDeg: [-90, 90] });
return arm.model();

Export via MCP:

{ "tool": "export", "input": { "target": "model", "file": "two-link.kcad.ts", "format": "urdf", "output_path": "out/robot.urdf" } }

Result: out/robot.urdf containing one <link> per part and one <joint> per mate, plus out/meshes/<part>.stl for every link (reported in the tool's mesh_files). Ship the whole directory: the visual/collision tags reference the meshes by the configured prefix.

Geometry units

Link STL meshes are written in kernelCAD-native mm; every <mesh> tag carries scale="0.001 0.001 0.001" so consumers see metres — consistent with the SI <inertial> blocks and joint origins. Do not strip the scale attribute.

Mate-to-joint mapping

kernelCAD mate URDF joint Notes
fastened fixed Direct.
revolute with limitsDeg revolute Limits emitted in radians.
revolute without limits continuous Unbounded rotation.
prismatic with limitsMm prismatic Limits emitted in metres.
planar planar Native.
cylindrical revolute (lossy) Prismatic DOF dropped; export.urdf.cylindrical-lossy.
ball 3-revolute chain (lossy) Decomposed with dummy intermediate links; export.urdf.ball-decomposed.
pin_slot revolute (lossy) Slot translation DOF dropped; export.urdf.pin-slot-lossy.

Read the full file on GitHub · 112 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 15d ago Changed · +1 lines c8efac50aaa4
  2. 2mo ago Changed · +24 lines 11ca94b29275
  3. 3mo ago First seen · 87 lines · 43 tokens per session scan A 28ae262d7339

Subscribe to this mod's changes

kernelcad-urdf is a skill published in the GitHub repository w1ne/kernelCAD-web (36 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 2,475 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

kernelcad-urdf compared with skills from other repositories

kernelcad-urdf next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kernelcad-urdfw1ne/kernelCAD-webSkill36todayMITA43Claude Code, Codex
cadquery-modelingarmpro24-blip/cad-cae-copilotSkill10125d agoMITA0Claude Code, Codex
solidworks-mcpczuryk/SolidworksMCPSkill1314d agoMITA58Claude Code, Codex
pcbearthtojake/text-to-cadSkill28ktodayMITA103Claude Code, Codex
print3dearthtojake/text-to-cadSkill28ktodayMITA97Claude Code, Codex
solidworks-fillet-chamfer-cncwzyn20051216/solidworks-automation-skillSkill2.9k9d agoMITA107Codex
solidworks-vibecadwzyn20051216/solidworks-automation-skillSkill2.9k9d agoMITA96Claude Code, Codex