kernelcad-sheet-metal

kernelcad-sheet-metal is a skill for Claude Code, Codex from w1ne/kernelCAD-web. It costs 54 tokens per session (1,981 once invoked), scanned A, original, MIT.

A sheet-metal modeling tool for designing parts from a flat sheet, adding bends, and calculating the unfolded pattern.

In plain words
What is it for?
Use it for L-brackets, U-channels, service panels, and other parts made from a flat blank with folds. It can provide a flat pattern for laser or CNC cutting.
Why use it?
It removes the need to work out bend geometry and the flat cutting shape separately.

Skill for Claude CodeCodex

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

Good fit Use it for L-brackets, U-channels, service panels, and other parts made from a flat blank with folds. It can provide a flat pattern for laser or CNC cutting.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-sheet-metal"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-sheet-metal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,981 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.00054 $0.01981
Opus 5.5 $0.00022 $0.00792
Sonnet 5.5 $0.00011 $0.00396
Haiku 4.5 $0.00005 $0.00198

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

Security

Grade A, and why

kernelcad-sheet-metal 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 5d 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-sheet-metal/SKILL.md · 113 lines

How it starts

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

kernelCAD — sheet metal

Build folded sheet-metal parts (L-brackets, U-channels, service panels) from a closed Sketch + thickness + K-factor. Bend along a linear axis line; recover the flat blank as a Region for laser / CNC consumption.

// L-bracket: 100 x 60 x 2 mm, one 90 degree fold along x=50.
const s = path().moveTo(0, 0).lineTo(100, 0).lineTo(100, 60).lineTo(0, 60).close();
const blank = sheetMetal(s, { thickness: 2, kFactor: 0.38 });
const bracket = blank.bend({ atX: 50 }, 90, 3);
return bracket;

// Recover the flat blank as a Region.
const flat = bracket.flattenPattern();
console.log(flat.outer);     // [[0,0], [100,0], [100,60], [0,60]]
console.log(flat.bendLines); // [{ start: [50,0], end: [50,60], angle: 90, radius: 3, ordinal: 0 }]

API

// Top-level constructor — captures kind:sheetMetal record.
sheetMetal(profile: Sketch, opts: {
  thickness: Editable<number>;   // mm, > 0
  kFactor: Editable<number>;     // unitless, in [0, 1]
  faceLabels?: FaceLabelsMap;
}): Shape;

// Shape methods — chain on a sheetMetal-rooted Shape.
shape.bend(
  edgeRef: EdgeSelector | string,  // slice-1: { atX: n } | { atY: n } | { face: 'top' }
  angle: Editable<number>,         // degrees, signed (positive = fold +normal)
  radius: Editable<number>,        // mm, inner bend radius
): Shape;

shape.flattenPattern(): Region;    // derived view — no FeatureRecord

Bend-allowance math (K-factor approximation)

BA = (pi * |angle_deg| / 180) * (kFactor * thickness + radius)
  • BA = developed length of the neutral axis through the bend arc.
  • kFactor = neutral-axis offset ratio. Typical values: 0.33-0.45 (mild steel / aluminum).
  • Slice 1 supports the K-factor formula only.

How a bend folds

  • The bend line is in FLAT-BLANK coordinates for every bend of a chain: .bend({ atX: 25 }, 90, 2).bend({ atX: 75 }, 90, 2) is a U-channel, even though the second line has moved by the time it folds.
  • The strip of width BA centred on the line becomes the arc (inner radius = radius); the flange beyond it keeps its flat length, so the flat pattern is exactly the blank (flange lengths + bend allowances).
  • The SHORTER side of the blank across the line folds (a tie folds the +X / +Y side). A web with a bend near each end stays on the bench.
  • Holes and cutouts drilled in the flat blank before .bend() ride along with their flange: sheetMetal(...).holes({ byNormal: 'Z' }, ...).bend(...).
  • Parallel bend lines whose zones overlap fail with feature.invalid-args.

Read the full file on GitHub · 113 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. 5d ago Changed · +16 lines 298cbc15bb00
  2. 12d ago Changed e4914d123c9c
  3. 15d ago Changed · +4 lines b09689196f80
  4. 1mo ago First seen · 93 lines · 54 tokens per session scan A 1ea2f7c4f807

Subscribe to this mod's changes

kernelcad-sheet-metal is a skill published in the GitHub repository w1ne/kernelCAD-web (33 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 1,981 once invoked, about $0.0002 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

solidworks-vibecad

A planning guide for turning natural-language mechanical design requests into structured, parameterized SolidWorks plans that can be reviewed before execution.

wzyn20051216/solidworks-automation-skill · 96 tokens

fluidcad-assembly

Building multi-part models in FluidCAD: assemblies, part files, inserting and mating parts, connectors, exposed geometry, part parameters, sub-assemblies, replicated instances, STEP parts, project units, and assembly export. Use this skill whenever the user wants an assembly, a mechanism, a hinge, a slider, several…

Fluid-CAD/FluidCAD · 154 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

cad-skills

Use when doing parametric 3D modeling, 2D drafting, geometric kernel development, BIM/IFC processing, PCB design, or AutoCAD .NET development. Index of 21 skills: FreeCAD, OpenSCAD, OCCT, CadQuery, Blender, KiCad, SolveSpace, QCAD, xBIM, Clipper2, TongWen and more.

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

cadquery-modeling

Generate CAD models with CadQuery using an adaptive CAD Compiler workflow: plan-mode skill constraint handoff, focused iteration scopes, fail-first challenge review, compact review packets, real-product reference fidelity, visual/functional audits, source-first repair, and STEP/STL export. Use for CadQuery, CQ, 建模…

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