# Kernelcad trace from image

> Kernelcad trace from image is an open-source agent skill for developer tools. Turns a reference photo's outline into normalized, then mm, curve waypoints for kernelCAD. 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-from-reference/kernelcad-trace-from-image
- **Repository:** https://github.com/w1ne/kernelcad-web
- **GitHub stars:** 37
- **License:** MIT
- **Skill name:** kernelcad-trace-from-image
- **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 extracting organic contours from a reference photo for kernelCAD modeling. It asks the agent to choose a small set of features, either a whole silhouette or labeled points, and call the trace_from_image MCP tool to get normalized waypoints with per-feature confidence values. The agent then checks the response, reviews an assumption ledger for open facts such as scale, and converts the coordinates to millimetres using a scale anchor from the part brief, flipping the Y axis so the curve is not inverted.

The workflow expects a blockout already in place, a reference image on disk, and a numeric scale anchor. Tracing uses the vision-LLM or hybrid backends, which need a vision model configured on the server through an Anthropic key or an OpenAI-compatible endpoint. The skill also lists verification gates, such as confidence thresholds and a render check, and hands off to a separate image-replicator skill for the iteration loop.

## When your agent uses it

> Convert pixel-space features from a reference photo into normalized [0,1] waypoints, then into mm coordinates feedable to path().spline / path().nurbsSegment. Uses the trace_from_image MCP tool. Load when your blockout is in place and the next step is an organic-curve outline (upper contour, ergonomic handle, sneaker midsole) that would take more than a minute to eyeball off the photo.

## 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/src/agent/skills/kernelcad-from-reference/kernelcad-trace-from-image)
- [License: MIT](https://github.com/w1ne/kernelCAD-web/tree/HEAD/src/agent/skills/kernelcad-from-reference/kernelcad-trace-from-image)

## Features

- **Silhouette extraction:** Requests a whole-outline contour from a reference photo for a single organic curve.
- **Labeled landmark points:** Adds named points such as lobe centers or neck midpoints that a contour cannot label.
- **Normalized-to-mm conversion:** Maps 0-1 image coordinates into model millimetres using a scale anchor and a Y flip.
- **Confidence and ledger checks:** Reviews per-feature confidence and open assumption facts before committing geometry.
- **Waypoint count guidance:** Suggests how many waypoints to request based on how inflected the curve is.
- **Render verification step:** Renders the updated model and compares the traced curve against the reference.

## Good for

- Trace the upper contour of a product from a photo into a spline
- Turn a sneaker midsole profile into editable CAD curve points
- Extract an ergonomic handle outline from a reference image
- Label landmark points on a photo for named constants in a model

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

Or copy the folder to `~/.gemini/skills/kernelcad-trace-from-image` yourself.

### VS Code

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

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

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

## FAQ

### What does Kernelcad trace from image need before it runs?

A blockout .kcad.ts already in place, a reference photo on disk, and a scale anchor from the real-object brief with at least one numeric length in mm.

### When should the agent not load Kernelcad trace from image?

For box, cylinder or rounded-rect blockouts where dimensions already live in parameters, when the brief already lists waypoints, or for CAD screenshots that are already vector geometry.

### Which backend does the vision tracing need?

The vision-llm and hybrid backends need a vision model on the server running the tool, either an Anthropic API key or an OpenAI-compatible endpoint with its base URL, key and model set.

### Does Kernelcad trace from image change files on its own?

It calls trace_from_image and resolve_assumptions and writes the converted coordinates into the model script, then renders a check image; it asks for one trace call per curve rather than looping.

### How do I install Kernelcad trace from image in Claude Code?

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

### Does Kernelcad trace from image 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 trace from image?

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 trace from image?

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

## Where this comes from

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

## Alternatives

- [Kernelcad from reference](https://ai-powered.com/skills/kernelcad-from-reference): Kernelcad from reference is an open-source agent skill for developer tools.
- [Use the available kernel](https://ai-powered.com/skills/use-the-available-kernel): Use the available kernel 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 authoring](https://ai-powered.com/skills/kernelcad-authoring): Kernelcad authoring is an open-source agent skill for developer tools.
- [Kernelcad nurbs](https://ai-powered.com/skills/kernelcad-nurbs): Kernelcad nurbs is an open-source agent skill for developer tools.
- [Photo to device](https://ai-powered.com/skills/photo-to-device): Photo to device 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 drawings](https://ai-powered.com/skills/kernelcad-drawings): Kernelcad drawings is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/kernelcad-trace-from-image
