kernelcad

kernelcad is a skill for Claude Code, Codex from w1ne/kernelCAD-web. It costs 36 tokens per session (2,728 once invoked), scanned A, original, MIT.

A two-level toolkit for creating or editing kernelCAD models in TypeScript files ending in .kcad.ts. kernelCAD is used to describe 3D computer-aided design models in code.

In plain words
What is it for?
Use it to make coded geometry, add features such as holes or fillets, create adjustable parameters, assemble parts, use standard components or build advanced curved surfaces.
Why use it?
It helps select the relevant instructions for the kind of model or mechanical feature being built instead of treating every CAD task the same way.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to make coded geometry, add features such as holes or fillets, create adjustable parameters, assemble parts, use standard components or build advanced curved surfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/w1ne/kernelcad-web/kernelcad
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
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

README.md
[![agentmods](https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad/github.svg)](https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad)
Your own site
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,728 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.
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.00036 $0.02728
Opus 5.5 $0.00014 $0.01091
Sonnet 5.5 $0.00007 $0.00546
Haiku 4.5 $0.00004 $0.00273

Measured yesterday against content hash 4403c63f58fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kernelcad 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 yesterday.

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/SKILL.md · 68 lines

How it starts

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

kernelCAD

A two-tier skill system. Load kernelcad-authoring to write or modify any .kcad.ts model. Add specialty skills as the task demands.

Decision tree

  • Authoring or editing .kcad.ts geometry → load kernelcad-authoring.
  • Real / production / complex enclosure, gearbox, bearing housing, robot arm, NEMA plate, shaft/bearing → load kernelcad-authoring (+ kernelcad-assemblies / kernelcad-features / kernelcad-parts as needed); lookup_cookbook via the industry→cookbook table in kernelcad-mcp (housing / mechanism / scissor-lift / 4-DOF arm / NEMA / shaft-bearing / sheet-metal / enclosure lid); prefer design_loop until green (docs/agent/adam-quality-bar.md).
  • Building from a reference photo or visual brief → also load kernelcad-from-reference.
  • Building from an engineering drawing PDF → call drawing_to_cad, then load kernelcad-from-reference for its ledger and fidelity rules.
  • Adding fillets, chamfers, shells, holes, cutouts → also load kernelcad-features.
  • Editable parameters / set_param / live sliders → also load kernelcad-params.
  • Multi-part with joints / mates / connectors → also load kernelcad-assemblies.
  • Need an off-the-shelf fastener, bearing, motor, header, or connector → also load kernelcad-parts.
  • Checking FDM printability or print orientation (overhangs, bridges, nozzle-relative walls), slicing a model to G-code, or sending G-code to a real network printer (OctoPrint/Moonraker/Bambu) → also load kernelcad-print.
  • Freeform NURBS surfaces, NURBS curves, Coons patches, multi-section sweeps, G2 fillet continuity, or freeform 2D path outlines (nurbsSurface, surfaceFromCurves, surfaceFromBoundary, nurbsCurve, spline3d, hermiteG2, variableSweep, fillet({ continuity: 'G2' }), path().spline(...), path().nurbsSegment(...), path().hermiteG2(...)) → also load kernelcad-nurbs.
  • Mechanical patterns (linear / circular / grid replication of a sub-feature) → also load kernelcad-patterns.
  • Folded sheet-metal parts (brackets, channels, panels, bend tables, flat patterns) → also load kernelcad-sheet-metal.
  • Bent tubes and fluid lines between ports (hydraulic, fuel, oil, coolant; bend radius, clearance, tube bend tables) → also load kernelcad-tubes.
  • Signed-distance fields (smooth-blended primitives, organic shapes via sdf.* + materialize) → also load kernelcad-fields.
  • Exporting an assembly to URDF for a motion planner or simulator → also load kernelcad-urdf.
  • Exporting an assembly to a UsdPhysics stage for a GPU physics simulator (format: 'usd-isaac') → also load kernelcad-urdf (USD section).
  • Adding planning groups / end-effectors / allowed-collision data on top of a URDF → also load kernelcad-srdf.
  • Exporting an assembly with closed kinematic loops or a native ball joint → also load kernelcad-sdformat.
  • Producing a 2D engineering-drawing sheet (third-angle views, hidden lines, dimensions, title block) → also load kernelcad-drawings.
  • Introspecting a running model via MCP (inspect({ of: 'features' }), edit ops, diagnostics) → load kernelcad-mcp instead of authoring.
  • Feasibility gates on moving assemblies — collision sweeps across joint ranges, IK reachability, mounting-hole consistency, static-load capacity, gravitational actuator-hold checks, tolerance-range sweeps (checkSweptCollision, checkReachable, checkMountingHoleConsistency, checkLoadCapacity, checkStaticHold, sweepTolerance) → also load kernelcad-kinematic.
  • An evaluation reported an error, a gate failed, or a feature came back degraded in featureHealth → load kernelcad-repair for the bounded repair loop (why_did_this_fail → repair_script).
  • Will this part hold this load? Structural evidence — peak von Mises stress, deflection, safety factor against yield, named hot-spot regions, stress heatmaps — and a gate that fails the build when the margin is not met (shape.feaStudy({...}), run_fea, fea_summary) → also load kernelcad-fea.

Read the full file on GitHub · 68 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. yesterday Changed 4403c63f58fa
  2. 6d ago Changed · +1 lines a0c8f2f41f8f
  3. 8d ago Changed 639560c6c83a
  4. 16d ago Changed f03acf4a57f6
  5. 17d ago Changed 321c20706e96
  6. 22d ago Changed · +1 lines 267f438b6bd9
  7. 1mo ago Changed · +5 lines d84f490b52b7
  8. 1mo ago First seen · 61 lines · 36 tokens per session scan A 49bc61353aaa

Subscribe to this mod's changes

kernelcad is a skill published in the GitHub repository w1ne/kernelCAD-web (31 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 2,728 once invoked, about $0.0001 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

add-export

Add a new subpath export to the @cyanheads/mcp-ts-core package. Use when creating a new public API surface that consumers import from a dedicated subpath (e.g., @cyanheads/mcp-ts-core/newutil).

cyanheads/mcp-ts-core · 50 tokens

opengis-skills

Use when AI coding assistant needs GIS/CAD/C#/AI/IoT/3D domain expertise. Index of 96 skills across 8 categories: gis (32), cad (21), csharp (9), ai (14), iot (2), 3d (6), demos (4), others (8). Tag-based search and on-demand loading for GDAL, GeoServer, MapServer, Leaflet, PROJ, PostGIS, JTS, CesiumJS, FreeCAD…

znlgis/opengis-skills · 146 tokens

lightcad

Use when building or extending a desktop CAD/BIM application with the open-source FeiYang LightCAD platform — plugin development, custom elements, DWG/DXF I/O, 2D drafting and 3D/BIM modeling on C#/.NET. LightCAD (FeiYang Integrated Design Platform) is a C# CAD system integrating 2D design, 3D design, and BIM.

znlgis/opengis-skills · 85 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

sdk

Guide users building apps, scripts, CI pipelines, or automations on top of the Cursor TypeScript SDK (@cursor/sdk). Use when the user mentions integrating, installing, or writing code against the Cursor SDK; says Agent.create, Agent.prompt, Agent.resume, agent.send, run.stream, CursorAgentError, or @cursor/sdk; asks…

Kevin-Liu-01/Agent-Machines · 178 tokens

fluent-development

This skill should be used when the user asks to "build a fluent app", "create a servicenow app in typescript", or mentions "servicenow sdk", "now-sdk", "fluent", "scoped app as code", or "pro-code development" — or when the working directory contains a now.config.json or .now.ts files.

serac-labs/serac · 77 tokens