# Kernelcad kinematic

> Kernelcad kinematic is an open-source agent skill for developer tools. Checks whether a moving assembly can be built: collisions, reach, fasteners and loads. 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-kinematic
- **Repository:** https://github.com/w1ne/kernelcad-web
- **GitHub stars:** 37
- **License:** MIT
- **Skill name:** kernelcad-kinematic
- **Collection:** https://github.com/w1ne/kernelCAD-web
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill gives the agent feasibility gates for moving mechanisms written in the kernelCAD scripting environment. It runs sampled-pose collision sweeps across joint ranges, inverse-kinematics reachability checks for end-effector targets, mounting-hole consistency checks across mates, and closed-form static-load checks on beam-shaped parts. It also covers closed-loop linkages such as four-bars, slider-cranks, scissor jacks and over-center latches, reporting branch flips and lockup points.

The workflow is to author or edit the .kcad.ts source, run the matching kinematic check, read the diagnostics and their suggested repairs, then re-run the check to confirm. Results are sampled rather than proven, and the skill states where unmeasured regions are reported as unknown instead of clear. Helpers cover joint range suggestions, static holding torque against declared actuators, motion-driven loads, and tolerance sweeps over parameter ranges.

The skill expects a kernelCAD project with mates and declared materials or actuators where those checks apply. Joint angles are in degrees for revolute joints and millimetres for prismatic joints. It pairs with the kernelcad-authoring skill, which handles the CAD edits themselves.

## When your agent uses it

> Use when verifying whether a moving assembly is buildable — sampled-pose collision sweeps across joint ranges, IK reachability for end-effector targets, mounting-hole fastener consistency, and static-load capacity on cantilever-shaped parts, and closed-loop linkages (four-bar, slider-crank, scissor, over-center latch) with branch-flip and lockup findings. Loads alongside kernelcad-authoring to gate design-time mechanism feasibility.

## What it can access

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

- [Runs TypeScript scripts](https://github.com/w1ne/kernelCAD-web/tree/HEAD/src/agent/skills/kernelcad-kinematic)
- [No network calls found in its scripts](https://github.com/w1ne/kernelCAD-web/tree/HEAD/src/agent/skills/kernelcad-kinematic)
- [License: MIT](https://github.com/w1ne/kernelCAD-web/tree/HEAD/src/agent/skills/kernelcad-kinematic)

## Features

- **Swept collision analysis:** Samples poses across a joint's range to find where link pairs overlap and reports the colliding band.
- **Inverse kinematics reachability:** Tests whether an end-effector can reach a target position and orientation, with optional seed poses.
- **Mounting hole consistency:** Checks that fastener holes match across all mated connectors.
- **Beam load and yield check:** Compares bending stress on cantilever-shaped parts against the declared material's yield strength.
- **Closed-loop linkage diagnostics:** Reports branch flips, lockup and mobility mismatches in four-bar, slider-crank and latch mechanisms.
- **Actuator holding torque:** Computes gravitational torque at sampled poses and compares it with declared actuator capacity.
- **Parameter tolerance sweeps:** Sweeps design parameters and bisects pass/fail boundaries to show where requirements break.

## Good for

- Check whether a robot arm will collide with itself across its joint limits
- Find the joint stop angle that keeps parts clear of each other
- Verify that a target point is inside a robot arm's reachable workspace
- Confirm a bracket can hold a cantilever load with a chosen material
- Test whether a four-bar linkage locks up or flips branches during motion
- Check that a servo is strong enough to hold a shoulder joint against gravity

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/kernelcad-kinematic` 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-kinematic &&
cp -R "$tmp/src/agent/skills/kernelcad-kinematic" ~/.claude/skills/kernelcad-kinematic &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/kernelcad-kinematic` 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-kinematic &&
cp -R "$tmp/src/agent/skills/kernelcad-kinematic" ~/.agents/skills/kernelcad-kinematic &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/kernelcad-kinematic` 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-kinematic &&
cp -R "$tmp/src/agent/skills/kernelcad-kinematic" ~/.cursor/skills/kernelcad-kinematic &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/kernelcad-kinematic` 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-kinematic
```

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

### VS Code

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

```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-kinematic &&
cp -R "$tmp/src/agent/skills/kernelcad-kinematic" ~/.copilot/skills/kernelcad-kinematic &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/kernelcad-kinematic` 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-kinematic` into your agent's skills folder as `kernelcad-kinematic`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It works on kernelCAD .kcad.ts scripts that define the assembly, with mates between parts. Some checks also need declared materials, actuators or part masses, depending on the check.

### What units do the kinematic calls use?

Revolute joint angles are in degrees and prismatic joint travel is in millimetres. Code ported from URDF or ROS, which uses radians, must convert before passing values.

### Does a clean result prove the mechanism is collision-free?

No. Swept collision checks are sampled, so thin contacts between samples can be missed. Regions that could not be measured are reported as unknown rather than clear.

### Should Kernelcad kinematic be used to edit geometry?

No. Static CAD authoring is handled by the separate kernelcad-authoring skill, and this skill only checks feasibility.

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

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

### Does Kernelcad kinematic run scripts?

Yes. It runs TypeScript scripts. No network calls were found in its 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 kinematic?

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 kinematic?

The closest alternatives to Kernelcad kinematic are Kernelcad assemblies, Kernelcad authoring, Kernelcad design loop, Kernelcad MCP and Kernelcad repair.

## Where this comes from

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

## Alternatives

- [Kernelcad assemblies](https://ai-powered.com/skills/kernelcad-assemblies): Kernelcad assemblies is an open-source agent skill for developer tools.
- [Kernelcad authoring](https://ai-powered.com/skills/kernelcad-authoring): Kernelcad authoring is an open-source agent skill for developer tools.
- [Kernelcad design loop](https://ai-powered.com/skills/kernelcad-design-loop): Kernelcad design loop is an open-source agent skill for developer tools.
- [Kernelcad MCP](https://ai-powered.com/skills/kernelcad-mcp): Kernelcad MCP is an open-source agent skill for developer tools.
- [Kernelcad repair](https://ai-powered.com/skills/kernelcad-repair): Kernelcad repair is an open-source agent skill for developer tools.
- [Kernelcad from reference](https://ai-powered.com/skills/kernelcad-from-reference): Kernelcad from reference is an open-source agent skill for developer tools.
- [Kernelcad urdf](https://ai-powered.com/skills/kernelcad-urdf): Kernelcad urdf is an open-source agent skill for developer tools.
- [Kernelcad fea](https://ai-powered.com/skills/kernelcad-fea): Kernelcad fea is an open-source agent skill for developer tools.

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