
Kernelcad design loop
Builds and revises CAD parts through a hosted kernelCAD MCP server until checks pass
Kernelcad design loop is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 37
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Kernelcad design loop
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.
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 (2 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
This skill ships in the kernelcad plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add w1ne/kernelCAD-web
/plugin install kernelcad@kernelcadOr copy only this skill to ~/.claude/skills/kernelcad-design-loop:
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.
Copy the skill folder to ~/.agents/skills/kernelcad-design-loop 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-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.
Copy the skill folder to ~/.cursor/skills/kernelcad-design-loop 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-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.
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 plugins/kernelcad/skills/kernelcad-design-loopOr copy the folder to ~/.gemini/skills/kernelcad-design-loop yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/kernelcad-design-loop:
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.
Get the folder:
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.gitThen 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.
What it does
- 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
Kernelcad design loop 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.
More from w1ne/kernelCAD-web

Compares bounded kernelCAD design variants on one evidence basis with a review gate
- Open source
- 37 GitHub stars
- Developer tools

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

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

Lets an agent show a kernelCAD model in Studio and act on painted review marks
- Open source
- 37 GitHub stars
- Design and media

Gates a kernelCAD revision for fabrication with state-labelled, revision-bound evidence
- Open source
- 37 GitHub stars
- Developer tools

Builds named multi-part CAD assemblies with connectors, mates and joint metadata
- Open source
- 37 GitHub stars
- Developer tools

