# Kernelcad design loop

> Kernelcad design loop is an open-source agent skill for developer tools. Builds and revises CAD parts through a hosted kernelCAD MCP server until checks pass. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/w1ne/kernelCAD-web/tree/develop/plugins/kernelcad/skills/kernelcad-design-loop
- **Repository:** https://github.com/w1ne/kernelcad-web
- **GitHub stars:** 37
- **License:** MIT
- **Skill name:** kernelcad-design-loop
- **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 guides an agent through creating or changing a CAD model using the hosted kernelCAD MCP server, which runs the OpenCASCADE kernel remotely so nothing has to be installed locally. The agent writes .kcad.ts source, starts from a cookbook pattern when one matches, and checks the code with fast dry runs followed by a full evaluation.

For production builds such as housings, mechanisms, gearboxes and robot arms, the workflow routes attempts through a design review tool and applies its suggested patches until the model passes or the review says to stop and ask the user. Failures are handled by asking the server why a build failed, attempting a repair, and looking up the meaning of diagnostic codes. Assemblies can be checked for a valid assembly sequence, including helical fastener motion, press or snap fits, and an approximate stability check on which parts need holding.

The skill expects the kernelcad MCP server to be connected and the user to be signed in through the OAuth prompt, since some tools depend on sign-in. It reports numbers returned by the tools rather than describing unevaluated geometry, and delivers the final .kcad.ts source as the result.

## When your agent uses it

> Build or revise a CAD model with the hosted kernelCAD MCP — write .kcad.ts source, evaluate, review with design_loop until green. Use for any "design / model / make a part" request when the kernelcad MCP server is connected.

## 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/plugins/kernelcad/skills/kernelcad-design-loop)
- [License: MIT](https://github.com/w1ne/kernelCAD-web/tree/HEAD/plugins/kernelcad/skills/kernelcad-design-loop)

## Features

- **Cookbook-first modelling:** Looks up canonical patterns on the server and starts from a matching example when one exists.
- **Iterative script evaluation:** Uses dry runs for quick feedback, then a full evaluation to confirm the solid builds.
- **Design review loop:** Applies review patches for production parts until the model passes or the review says to escalate.
- **Failure diagnosis and repair:** Explains why a build failed, proposes a repair and looks up diagnostic codes.
- **Assembly sequence planning:** Checks assembly paths, fastener motion, fits and an approximate stability hold analysis.

## Good for

- Model a bracket or housing from a text description
- Revise an existing .kcad.ts part and re-check it until it builds
- Plan the assembly order for a multi-part mechanism
- Diagnose why a CAD script fails to evaluate and repair it
- Prepare a finished part source for export

## Install

### Claude Code

This skill ships in the `kernelcad` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add w1ne/kernelCAD-web
/plugin install kernelcad@kernelcad
```

Or copy only this skill to `~/.claude/skills/kernelcad-design-loop`:

```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-design-loop &&
cp -R "$tmp/plugins/kernelcad/skills/kernelcad-design-loop" ~/.claude/skills/kernelcad-design-loop &&
rm -rf "$tmp"
```

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

```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-design-loop &&
cp -R "$tmp/plugins/kernelcad/skills/kernelcad-design-loop" ~/.copilot/skills/kernelcad-design-loop &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

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

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

## FAQ

### What does Kernelcad design loop need to run?

The kernelcad MCP server must be connected, and the user needs to complete the OAuth sign-in prompt their client shows for that server. Nothing needs to be installed locally.

### When does Kernelcad design loop trigger?

It is meant for requests to design, model or make a part when the kernelcad MCP server is connected.

### What does Kernelcad design loop produce?

The final .kcad.ts source file, along with the volumes, bounding boxes and diagnostics the tools return.

### Does Kernelcad design loop handle assemblies?

Yes. It can run an assembly path check with sequence planning, and optionally a stability check that flags steps where a part cannot be shown to rest on a stable part.

### How do I install Kernelcad design loop in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/kernelcad-design-loop to use it in all your projects, or to .claude/skills/kernelcad-design-loop in one project. Or install the kernelcad plugin, which includes it: /plugin marketplace add w1ne/kernelCAD-web, then /plugin install kernelcad@kernelcad.

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

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Kernelcad design loop?

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

## Where this comes from

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

## Alternatives

- [Kernelcad authoring](https://ai-powered.com/skills/kernelcad-authoring): Kernelcad authoring 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 cookbooks](https://ai-powered.com/skills/kernelcad-cookbooks): Kernelcad cookbooks is an open-source agent skill for developer tools.
- [Kernelcad assemblies](https://ai-powered.com/skills/kernelcad-assemblies): Kernelcad assemblies 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 kinematic](https://ai-powered.com/skills/kernelcad-kinematic): Kernelcad kinematic is an open-source agent skill for developer tools.
- [Kernelcad export](https://ai-powered.com/skills/kernelcad-export): Kernelcad export is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/kernelcad-design-loop
