Skip to content
Skill

Kernelcad from reference

Guides an agent through rebuilding a real object from reference photos in kernelCAD

Kernelcad from reference 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 from reference

This orchestrator skill maps out the stages of reproducing a physical artifact from one or more reference photographs with kernelCAD primitives. It starts with a decision tree that routes the work by input type: vector engineering drawings, written dimension specs, simple consumer devices, or photos alone. It then lists the sub-skills to load and in what order, covering primitive selection, a brief that describes the real object, blockout modelling, outline tracing, and a render-score-iterate loop.

The skill sets verification gates the agent must pass before a model is finalized. These cover evaluation without errors, zero part interference, reference parity, no floating or protruding parts, a readable front view, score thresholds against the reference, and resolution of assumption ledgers from imported drawings. It also describes a deterministic PDF import tool that reads vector drawing linework and dimension text into a script with a fidelity verdict.

Using it expects a kernelCAD environment with its CLI and MCP tools, and a reference image or drawing supplied by the user. The guidance is written around kernelCAD's TypeScript scripting model.

When your agent uses it

Reproduce a real-world artifact from one or more reference photographs using kernelCAD primitives. Orchestrator skill — names sub-skills and their order. Load this first; it points at the right sub-skill for each stage.

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 (12 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-from-reference 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-from-reference &&
cp -R "$tmp/src/agent/skills/kernelcad-from-reference" ~/.claude/skills/kernelcad-from-reference &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Input-based routing
A decision tree picks the starting path for vector drawings, written specs, consumer devices or photos only.
Sub-skill sequence
Lists the companion sub-skills to load in order, from primitive selection through blockout and tracing.
Vector drawing import
Describes a tool that rebuilds prisms and turned parts from vector PDF drawings with a fidelity verdict.
Verification gates
Defines binary checks for evaluation, interference, reference parity, floaters, and score thresholds.
Assumption ledger handling
Explains how inferred, assumed and missing dimension facts are reviewed or overridden before finalizing.

Good for

  • Rebuild a mechanical part from a dimensioned vector PDF drawing
  • Model a simple consumer gadget from a front photo and one known dimension
  • Trace an organic curve like a handle outline from a reference photo
  • Check a finished kernelCAD model for overlaps and floating parts
  • Plan a staged build of an artifact from several reference photographs

Kernelcad from reference FAQ

Which tool should I load first?

Load this orchestrator skill first; it points to the right sub-skill for each stage.

Does drawing import work on scanned drawings?

No. Only vector PDF paths and text are read; scanned or raster drawings should use trace_from_image with a scale anchor.

What does the drawing import tool produce?

It emits a kcad.ts script and a ledger JSON file, with role-named parameters and a fidelity verdict.

Can I tune the model against the photo scorer?

The skill advises against iterating against the 2D photo scorer because it can be gamed, and suggests the geometric scorer when an STL reference exists.

How do I install Kernelcad from reference in Claude Code?

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

Does Kernelcad from reference 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 from reference?

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 from reference?

The closest alternatives to Kernelcad from reference are Kernelcad authoring, Kernelcad design loop, Use the available kernel, Kernelcad trace from image and Kernelcad MCP.

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