
Kernelcad trace from image
Turns a reference photo's outline into normalized, then mm, curve waypoints for kernelCAD
Kernelcad trace from image 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 trace from image
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.
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-trace-from-image 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-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.
Copy the skill folder to ~/.agents/skills/kernelcad-trace-from-image 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-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.
Copy the skill folder to ~/.cursor/skills/kernelcad-trace-from-image 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-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.
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/kernelcad-trace-from-imageOr copy the folder to ~/.gemini/skills/kernelcad-trace-from-image yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/kernelcad-trace-from-image:
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.
Get the folder:
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.gitThen 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.
What it does
- 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
Kernelcad trace from image 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.
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

Builds and revises CAD parts through a hosted kernelCAD MCP server until checks pass
- 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

