# Kernelcad srdf

> Kernelcad srdf is an open-source agent skill for robotics design. Adds motion-planner semantics like planning groups and collision matrices to URDF. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/w1ne/kernelCAD-web/tree/develop/src/agent/skills/kernelcad-srdf
- **Repository:** https://github.com/w1ne/kernelcad-web
- **GitHub stars:** 37
- **License:** MIT
- **Skill name:** kernelcad-srdf
- **Collection:** https://github.com/w1ne/kernelCAD-web
- **Categories:** robotics design
- **Listing updated:** 2026-12-03

## About

This skill covers the SRDF layer that sits on top of a URDF description produced from a kernelCAD assembly. It gives the agent declarative calls for planning groups, end-effectors, virtual joints, named group states and collision exclusions, which are then written out as a .srdf file through the kernelCAD export tool.

The allowed-collision matrix is derived automatically from the existing mate graph. Links connected by a joint or mate are treated as adjacent, pairs that never overlap across sampled poses are marked as never-colliding, and explicit user overrides can be added. The skill describes sampling options for the export and a warning when sampling is sparse.

Export refuses when no planning group has been declared, and the skill includes two verification gates for planning-group presence and collision-matrix coverage. It expects the agent to already work with a kernelCAD model and to pair this step with the URDF skill.

## When your agent uses it

> Add planning-group, end-effector, virtual-joint, and allowed-collision metadata on top of an assembly. Use after kernelcad-urdf when the downstream consumer needs motion-planner semantics layered on the URDF.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/w1ne/kernelCAD-web/tree/HEAD/src/agent/skills/kernelcad-srdf)
- [License: MIT](https://github.com/w1ne/kernelCAD-web/tree/HEAD/src/agent/skills/kernelcad-srdf)

## Features

- **Planning group declaration:** Defines arm and gripper groups by chain endpoints or specific joints.
- **End-effector setup:** Attaches a tool link to a group and its parent group.
- **Virtual joint definition:** Adds a fixed or other virtual joint linking a world frame to a base link.
- **Named pose states:** Stores joint-value snapshots such as a home pose for a planning group.
- **Allowed-collision matrix:** Auto-derives link pairs to ignore from mates, pose sampling and user overrides.
- **Export verification gates:** Checks that a planning group exists and that collision coverage is complete.

## Good for

- Define a planning group for a robot arm in a kernelCAD assembly
- Export an SRDF file for a MoveIt-style motion planner
- Mark a gripper and its tool link as an end-effector
- Exclude specific link pairs from collision checking
- Save a named home pose for a robot arm

## Install

### Claude Code

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

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

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

### Codex

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

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

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

### Cursor

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

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

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

### Gemini CLI

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

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

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

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

### What must exist before Kernelcad srdf runs?

At least one planning group declared with arm.planningGroup(...), and the assembly should already have a URDF layer since SRDF is built on top of it.

### Which tool writes the file?

The kernelCAD export call with target model and format srdf writes the .srdf file.

### What happens if no planning group is declared?

The export refuses and reports export.srdf.planning-group-missing.

### Does the skill need scripts or extra tools?

The skill has one file and no scripts; it works through kernelCAD's export and arm API.

### How do I install Kernelcad srdf in Claude Code?

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

### Does Kernelcad srdf 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 srdf?

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.

## Where this comes from

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

## Alternatives

- [Kernelcad urdf](https://ai-powered.com/skills/kernelcad-urdf): Kernelcad urdf is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/kernelcad-srdf
