kernelcad-trace-from-image

kernelcad-trace-from-image is a skill for Claude Code, Codex from w1ne/kernelCAD-web. It costs 96 tokens per session (3,121 once invoked), scanned A, original, MIT.

A coordinate-extraction tool for turning features in a reference photo into points that describe curves in a 3D model. It returns normalized image positions and confidence values, which can then be converted to millimetres using a known scale.

In plain words
What is it for?
Use it to trace organic outlines such as eyewear brows, ergonomic handles, or sneaker shapes from photos. It requires an existing blockout, a reference image, and at least one known measurement.
Why use it?
It removes the need to estimate many curve points by eye. The points are a starting point, so the model still needs to be checked against a rendered result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to trace organic outlines such as eyewear brows, ergonomic handles, or sneaker shapes from photos. It requires an existing blockout, a reference image, and at least one known measurement.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/w1ne/kernelcad-web/kernelcad-trace-from-image
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add w1ne/kernelCAD-web --skill kernelcad-trace-from-image
Clone the repo
git clone --depth 1 https://github.com/w1ne/kernelCAD-web

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kernelcad-trace-from-image

README.md
[![agentmods](https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-trace-from-image/github.svg)](https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-trace-from-image)
Your own site
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-trace-from-image"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-trace-from-image/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kernelcad-trace-from-image

Your own site · 80×15
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-trace-from-image"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-trace-from-image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,121 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.03121
Opus 5.5 $0.00038 $0.01248
Sonnet 5.5 $0.00019 $0.00624
Haiku 4.5 $0.00010 $0.00312

Measured 6d ago against content hash 38f900150a04, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kernelcad-trace-from-image scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/agent/skills/kernelcad-from-reference/kernelcad-trace-from-image/SKILL.md · 266 lines

How it starts

The opening of the file, as written. The whole thing — 266 lines — stays where its author put it; the contents beside it link to each section on GitHub.

kernelcad-trace-from-image

Purpose

This is a coord-extractor, not a vision agent. It takes a reference photo plus a list of requested features and returns normalized [0,1] waypoints the agent can convert to mm via a known scale anchor and feed to a path().spline() / path().nurbsSegment() chain.

Accuracy honesty. opencv's contour is geometrically exact on a uniform-bg photo. Claude vision is typically 5–10% off on dense landmarks. Every returned feature carries a per-feature confidence in [0, 1]. Treat the output as better starting-point waypoints, not pixel-perfect coords — the model will still need at least one render→inspect pass before finalizing.

Output replaces the burden of eyeballing dozens of (x, y) pairs off a photo; it does not replace the spec-writer.

Inputs

  • .kcad.ts blockout already in place (from blockout-model/SKILL.md).
  • Reference photo on disk (./reference.jpg typically).
  • A scale anchor from the Real Object Brief — at least one numeric length (mm) over a known fraction of the image width or height. Without a scale anchor the normalized output cannot be lifted to mm.

When to load this skill

Load if all three are true:

  1. The reference image shows an organic curve — brow, knurl, ergonomic contour, sneaker midsole, eyewear front silhouette.
  2. The next authoring step is a path().spline(), path().nurbsSegment(), path().hermiteG2(), or a nurbsCurve(...) ref.
  3. Eyeballing the waypoints would take more than ~60 seconds or the result would be unverifiable (i.e. you could not tell from looking at your own notes whether (12.3, 4.1) was right).

Do not load this skill for:

  • Box / cylinder / rounded-rect blockouts — every primary dimension already lives in a param().
  • References where the brief already enumerates the waypoints.
  • CAD screenshots (vector geometry already, not a photo).

The trace pipeline (4 steps)

Step 1 — Decide features

Pick the smallest set of features that captures the outline you want.

Read the full file on GitHub · 266 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · +14 lines 38f900150a04
  2. 10d ago Changed · +4 lines 17de3065f9db
  3. 1mo ago Changed · +39 lines 757c8dbe6634
  4. 1mo ago First seen · 209 lines · 96 tokens per session scan A 8d7b9654711a

Subscribe to this mod's changes

kernelcad-trace-from-image is a skill published in the GitHub repository w1ne/kernelCAD-web (33 stars, last pushed today), licensed MIT. It adds 96 tokens to every session and 3,121 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

aieng-closed-loop-copilot

MCP-first closed-loop CAD/CAE copilot skill for improving an existing solved design against explicit targets. Use when the user asks for bounded design iteration using editable CAD parameters, solver reruns, and evidence-backed comparison.

armpro24-blip/cad-cae-copilot · 54 tokens

simplecadapi

Build, assemble, inspect, reconstruct, and export parametric CAD models with the SimpleCADAPI Python SDK. Use for SimpleCAD geometry modeling, constrained sketches, parts and assemblies, standard gears and bearings, STEP/BREP inspection and reconstruction, vector-PDF drawing reconstruction, durable product packages…

NiJingzhe/SimpleCADAPI · 71 tokens

aieng-cad-authoring

Active MCP-first CAD authoring skill for AIENG Workbench. Use when the user asks to create, design, draft, model, or iteratively build CAD geometry through the active cad. MCP tools. Do not use for solver/result review, schema/library implementation, or editing legacy IR plans.

armpro24-blip/cad-cae-copilot · 67 tokens

aieng-cad-cae-copilot

MCP-first evidence workflow for AIENG CAD/CAE setup, solver preflight, approval-gated solver execution, and result extraction. Use when the user asks to inspect CAE readiness, patch setup, prepare/run CalculiX, or report stress/displacement evidence.

armpro24-blip/cad-cae-copilot · 65 tokens

rhino

Automate Rhino modeling through RhinoCommon, work with Grasshopper data trees, and configure Rhino.Compute workflows.

alivirgo/Major-AI-Skills · 24 tokens

mechanical-drafting-gbt

Create, revise, audit, validate, and present mechanical CAD using Chinese GB/T drafting conventions. Use for AutoCAD/AutoCAD MCP; parametric 2D/3D parts, complex assemblies, mechanisms, engines, gears, machined parts, consumer products, enclosures, and powered appliances; DXF/DWG/PDF/STEP and model-based definition…

beiming183-cloud/AutoCAD-skills · 145 tokens