kernelcad-export

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

A kernelCAD export and verification workflow for turning a model into files used by printers, machining tools, or other CAD software. It supports formats including STEP, STL, 3MF, GLB, DXF, and G-code.

In plain words
What is it for?
Export whole models or individual parts, inspect part statistics or a bill of materials, and provide the resulting file reference with its format and units.
Why use it?
It checks model information before export and verifies STEP files, reducing the chance of handing over an unusable file or unclear units.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the kernelcad plugin — 6 skills shipped together

Good fit Export whole models or individual parts, inspect part statistics or a bill of materials, and provide the resulting file reference with its format and units.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/w1ne/kernelcad-web/kernelcad-export
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-export
Clone the repo
git clone --depth 1 https://github.com/w1ne/kernelCAD-web

Made for: Claude Code.

Or install kernelcad, the plugin that ships this one along with the rest of its 6 skills.

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-export

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-export"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 908 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.00066 $0.00908
Opus 5.5 $0.00026 $0.00363
Sonnet 5.5 $0.00013 $0.00182
Haiku 4.5 $0.00007 $0.00091

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

Security

Grade A, and why

kernelcad-export 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 today.

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.

plugins/kernelcad/skills/kernelcad-export/SKILL.md · 51 lines

What it actually says

Export

  • Whole model: export({ target: "model", code, format, output_path }) with format one of step, brep, stl, 3mf, glb, obj, ply, usd, dxf, gcode. brep writes OCCT's native exact B-rep serialization for kernelCAD shape transfer; use step for exchange with other CAD systems. obj is a Wavefront triangle mesh. ply is a Stanford PLY triangle mesh (mm, Z-up; binary little-endian by default) with per-vertex normals and the part colour from .finish() / .material() / .color(); an assembly is one file with every part in world space. Options: encoding: 'ascii', colors: 'face' or 'none', normals: false; a bad key fails with export.ply.invalid-options. usd is an ASCII USDA triangle mesh with millimeter units and Z-up coordinates; it is not B-rep USD. NVIDIA's usd-brep BrepArray is not emitted because this writer consumes tessellated vertices and triangle indices, while BrepArray requires full B-rep topology and curve/surface data. Use usd-isaac separately for an assembly physics stage. Options: 3mf takes printUnit and embedSource; dxf takes unit, tolerance, layers; glb takes axis.
  • Per part of an assembly: export({ target: "part", code, output_dir }).
  • Before exporting for print: inspect({ of: "part-stats", code }). For a bill of materials: inspect({ of: "bom", code }).
  • Verify a STEP after export with inspect({ of: "step", file }).
  • Before handing an assembly to a physics simulator, call check_export_health with the same file or code. It compiles the MJCF and runs forward at qpos0, the authored mate pose (scalar joint ref: degrees to radians, millimetres to metres; the child body frame is that pose, and joint coordinate 0 stays the connector-aligned pose; a ball joint has no ref because its qpos0 stays the identity quaternion, and the authored XYZ Euler triple is the child body quaternion; a coupled driven joint follows ratio × source + offset). It reports unexpected rest contacts, visual geoms that still collide, mass / centre of mass / inertia against the CAD solid for both the MJCF body and the URDF inertial, and any qpos0 outside its joint range. A contact is a collision-geometry artefact (collisionGeomArtefact, with cadExactOverlapMm3 and cadDistanceMm) only when the exact CAD overlap is at or below 0.01 mm³ and the CAD clearance is finite and greater than 0.01 mm. That artefact does not fail the check. Zero, missing, or smaller clearance stays a real contact. A declared massKg is the mass on both exports. When mass properties throw, both exports substitute unit inertia and the row is a fallback. It does not replace verify({ check: "physics" }), which still starts unnamed sample mates at coordinate 0. The local evidence bundle is docs/demos/export-health-authored-rest-20261117/README.md.
  • The hosted server returns a download link or file reference; give the user that link and say which format and units it is in. Keep verification on (do not pass no_verify: true) unless the user asks.
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. today Changed · +2 lines 52317c5bb6f6
  2. 12d ago Changed · +20 lines 1bf5c61a5323
  3. 29d ago Changed · +5 lines · +3 tokens per session 98e7ef23a0c0
  4. 1mo ago Changed · +5 lines · +5 tokens per session 02b71b81e767
  5. 1mo ago First seen · 19 lines · 58 tokens per session scan A 50f851cba725

Subscribe to this mod's changes

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

Related

kernelcad-export compared with skills from other repositories

kernelcad-export next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kernelcad-exportw1ne/kernelCAD-webSkill36todayMITA66Claude Code
solidworks-mcpczuryk/SolidworksMCPSkill1313d agoMITA58Claude Code, Codex
aieng-cad-authoringarmpro24-blip/cad-cae-copilotSkill9924d agoMITA67Codex
aieng-closed-loop-copilotarmpro24-blip/cad-cae-copilotSkill9924d agoMITA54Claude Code, Codex
simplecadapiNiJingzhe/SimpleCADAPISkill1252mo agoApache-2.0A71Claude Code, Codex
rhinoalivirgo/Major-AI-SkillsSkill6todayMITA24Claude Code
mechanical-drafting-gbtbeiming183-cloud/AutoCAD-skillsSkill244mo agoMITA145Codex