Skip to content
Skill

Kernelcad urdf

Exports multi-part CAD assemblies as URDF robot descriptions with per-link meshes

Kernelcad urdf is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
37
Last commit
License
MIT
Listing updated

Similar skills

About Kernelcad urdf

This skill guides an agent through exporting a kernelCAD assembly to URDF, the XML robot format used by motion planners and simulators. It explains how parts become links, mates become joints, and how each link gets an inertial block and an STL mesh written to a sibling meshes folder.

The skill covers the details that most often break downstream use: meshes are emitted in millimetres but tagged with a 0.001 scale so consumers read metres, mass properties depend on the density or named material set on each part, and mate types without a direct URDF equivalent are mapped with documented losses. It also lists verification checks and a pre-export inspection step, and describes a separate USD physics export for GPU simulation stacks, including drive settings and fail-closed gates.

The workflow expects a kernelCAD assembly authored in TypeScript and access to the kernelCAD MCP export and verify tools.

When your agent uses it

Export multi-part assemblies to URDF — links, joints, inertial blocks, per-link STL meshes. Use when an assembly needs to be consumed by an external motion planner or simulator.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (9 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/kernelcad-urdf to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/kernelcad-urdf &&
cp -R "$tmp/src/agent/skills/kernelcad-urdf" ~/.claude/skills/kernelcad-urdf &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/kernelcad-urdf inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/kernelcad-urdf to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/kernelcad-urdf &&
cp -R "$tmp/src/agent/skills/kernelcad-urdf" ~/.agents/skills/kernelcad-urdf &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/kernelcad-urdf inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/kernelcad-urdf to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/kernelcad-urdf &&
cp -R "$tmp/src/agent/skills/kernelcad-urdf" ~/.cursor/skills/kernelcad-urdf &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/kernelcad-urdf inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/w1ne/kernelCAD-web.git --path src/agent/skills/kernelcad-urdf

Or copy the folder to ~/.gemini/skills/kernelcad-urdf yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/kernelcad-urdf:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/kernelcad-urdf &&
cp -R "$tmp/src/agent/skills/kernelcad-urdf" ~/.copilot/skills/kernelcad-urdf &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/kernelcad-urdf inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git

Then copy kernelCAD-web/src/agent/skills/kernelcad-urdf into your agent's skills folder as kernelcad-urdf. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

URDF link and joint export
Writes one link per part and one joint per mate, with a tree-shaped robot description.
Mate type mapping
Maps fastened, revolute, prismatic, planar and other mates to URDF joint types and notes lossy cases.
Inertia from material or density
Computes per-link mass, centre of mass and inertia, with warnings when default density is inherited.
Mesh unit handling
Writes per-link STL meshes with a metre scale so geometry matches the SI inertial values.
Closed-loop detection
Flags assemblies with closed kinematic loops and suggests SDFormat or restructuring.
USD physics stage export
Produces a UsdPhysics stage for GPU simulators, with optional drive gains declared per joint.

Good for

  • Export a two-link robot arm as URDF for a motion planner
  • Check that an assembly has a valid tree structure before simulation
  • Set steel or aluminum density on parts so link inertia is realistic
  • Convert a CAD assembly into a USD stage for a physics simulator
  • Preview the links and joints an export will produce before writing files

Kernelcad urdf FAQ

When should Kernelcad urdf be used?

When an assembly needs to be consumed by an external motion planner or simulator, has at least one part and one joint or mate, and the consumer expects a tree topology.

What does the export produce?

A .urdf file plus a sibling meshes directory with one STL per link, with the whole directory shipped together.

What happens with assemblies that have closed loops?

URDF export refuses them with an error. The skill suggests switching to the sdf-gazebo format or restructuring the mate graph.

What is the default density for links?

The default is 1000 kg/m³, which the skill warns is wrong for steel or aluminum, so naming a material or passing a density is recommended.

How do I install Kernelcad urdf in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/kernelcad-urdf to use it in all your projects, or to .claude/skills/kernelcad-urdf in one project.

Does Kernelcad urdf run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Kernelcad urdf?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Kernelcad urdf?

The closest alternatives to Kernelcad urdf are Kernelcad sdformat, Kernelcad assemblies, Kernelcad authoring, Kernelcad export and Kernelcad srdf.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from w1ne/kernelCAD-web

  1. Compares bounded kernelCAD design variants on one evidence basis with a review gate

    • Open source
    • 37 GitHub stars
    • Developer tools
  2. Finds and runs kernelCAD cookbook recipes for common industrial CAD parts via MCP

    • Open source
    • 37 GitHub stars
    • Developer tools
  3. Builds and revises CAD parts through a hosted kernelCAD MCP server until checks pass

    • Open source
    • 37 GitHub stars
    • Developer tools
  4. Exports kernelCAD models to STEP, STL, 3MF, PLY, USD and more, with checks

    • Open source
    • 37 GitHub stars
    • Developer tools
  5. Lets an agent show a kernelCAD model in Studio and act on painted review marks

    • Open source
    • 37 GitHub stars
    • Design and media
  6. Gates a kernelCAD revision for fabrication with state-labelled, revision-bound evidence

    • Open source
    • 37 GitHub stars
    • Developer tools