Skip to content
Skill

Kernelcad authoring

Lets an agent write and verify kernelCAD .kcad.ts parametric CAD models and exports

Kernelcad authoring 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 authoring

This skill gives an AI coding agent the authoring rules for kernelCAD, a TypeScript-based parametric CAD tool. It covers the Z-up coordinate system, primitives such as boxes, cylinders and spheres, transforms, booleans, sketches, path building and text sketches, along with a rule that a script must return a single shape or assembly.

The guidance steers the agent toward specific CAD practices: using hole features instead of subtracted cylinders, keeping booleans overlapping, naming separate components as assembly parts with mates, and keeping fillets within wall thickness. A manufacturing-intent table maps phrases such as threaded hole, gear, sheet metal bend or enclosure to the matching API calls and reference recipes. Before reporting completion, the agent is directed to measure bounding boxes and volumes, check holes and walls, run interference checks, render views and confirm the last evaluation is clean.

The skill expects kernelCAD's CLI for evaluating and exporting models to STL, STEP, BRep, DXF, 3MF and GLB, and it points to MCP lookup tools and reference files for full signatures. Scripts cannot use top-level imports, so helpers must live in the same file.

When your agent uses it

kernelCAD model authoring API — primitives, transforms, booleans, sketches, path-builder, sketch-text, return-single-shape rule, conventions, CLI commands, and verification gates. Load this when writing or modifying .kcad.ts geometry.

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 9 files (204 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-authoring 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-authoring &&
cp -R "$tmp/src/agent/skills/kernelcad-authoring" ~/.claude/skills/kernelcad-authoring &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Coordinate and unit rules
Explains the Z-up right-handed frame, millimetre lengths, degree angles and how corner- and centre-anchored primitives are placed.
Modelling conventions
Lists common failure causes such as non-overlapping booleans, disconnected unions, closed sketch loops and fillet radius limits.
Manufacturing intent routing
Maps requests like bolt holes, threads, gears, bends and enclosures to the appropriate kernelCAD API and cookbook recipe.
Pre-completion verification
Checks that measured bounding boxes, holes, walls, mates, interference and renders match the original request.
Assembly and mates
Describes separate named parts connected by typed mates such as revolute, prismatic and cylindrical joints with limits.
Out-of-scope capabilities
Lists features kernelCAD does not offer yet, so the agent avoids generating code for them.

Good for

  • Model a bracket with clearance and tapped bolt holes
  • Build a spur gear pair with a stated module and tooth count
  • Create an enclosure with a shelled body and screw bosses
  • Design a two-part hinge with a revolute mate
  • Export a finished part to STEP and STL after a clean evaluation

Kernelcad authoring FAQ

What does the skill need to run?

It relies on the kernelCAD CLI for evaluating and exporting .kcad.ts models, and it points to MCP lookup tools for API and cookbook references.

Can a .kcad.ts script import other modules?

No. Single-file scripts refuse top-level import or require, so helper functions must be defined in the same file.

What happens if a script has no return statement?

It still evaluates on the last created shape, but kernelCAD raises a script.no-return warning, which the skill treats as a bug to fix.

Which AI clients does the skill support?

The skill does not tie itself to specific clients, so it is listed for the shared agent skills format across the supported clients.

How do I install Kernelcad authoring in Claude Code?

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

Does Kernelcad authoring 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 authoring?

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

The closest alternatives to Kernelcad authoring are Kernelcad from reference, Kernelcad design loop, Kernelcad assemblies, Kernelcad MCP and Kernelcad features.

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