kernelcad-shopcheck

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

A manufacturing preflight tool that checks a sheet-metal flat pattern or flat part against a supplier's published ordering rules. DFM means design for manufacturing: checking whether a design can be made within a shop's limits.

In plain words
What is it for?
Use it before exporting a DXF or STEP file for laser cutting, CNC routing, waterjet cutting, or bending. It requires the supplier, material, and sheet thickness.
Why use it?
It can reveal issues such as holes, slots, webs, bends, or flanges that do not meet the selected supplier's requirements before ordering.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/w1ne/kernelcad-web/kernelcad-shopcheck
Any agent
npx skills add w1ne/kernelCAD-web --skill kernelcad-shopcheck
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-shopcheck

README.md
[![agentmods](https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-shopcheck.svg)](https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-shopcheck)
Your own site
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-shopcheck"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-shopcheck.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,961 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00082 $0.01961
Opus 5 $0.00041 $0.00981
Sonnet 5 $0.00016 $0.00392
Haiku 4.5 $0.00008 $0.00196

Measured 4d ago against content hash de5eaa3a5289, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

kernelcad-shopcheck 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 4d 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-shopcheck/SKILL.md · 145 lines

How it starts

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

kernelCAD — shop preflight (DFM check)

Run a flat-pattern or planar body through the configured vendor's published ordering rules. Get a structured findings report with repair hints the agent can paste straight back into authoring tools.

// Preflight a bracket against the configured shop's rules.
await mcp.verify({
  check: 'dfm-preflight',
  file: 'bracket.kcad.ts',
  vendor: 'sendcutsend',
  material: 'aluminum-6061-t6',
  thicknessIn: 0.125,
});
// → { ok: false, findings: [{ code: 'dfm.hole.below-minimum', measured: { ref: '@kc[bracket/face/top/hole/0]' }, repairHint: { action: 'enlarge', params: {...} } }] }

Quick start

  • Required inputs: vendor (string SKU), material (string SKU), and thicknessIn or thicknessMm.
  • Optional inputs: service (laser / cnc-router / waterjet / bending — inferred when omitted), featureId, dxf (DXF path), refreshCatalog.
  • The tool fails closed (dfm.input.*-required) when any of vendor / material / thickness is missing.

API

verify(input: {
  check: 'dfm-preflight';
  file?: string;
  code?: string;
  dxf?: string;
  featureId?: string;
  vendor: string;
  material: string;
  thicknessIn?: number;
  thicknessMm?: number;
  service?: 'laser' | 'cnc-router' | 'waterjet' | 'bending';
  refreshCatalog?: boolean;
}): Promise<{
  ok: boolean;
  findings: Array<{
    code: DiagnosticCode;
    severity: 'info' | 'warn' | 'error';
    hint: string;
    ruleId: string;
    ruleSource: string;
    measured?: { kind, value, unit, location?: [x,y], ref?: '@kc[...]' };
    threshold?: { value, unit };
    repairHint?: { action: 'enlarge' | 'remove' | 'relocate' | 'change-material' | 'change-thickness', params };
  }>;
  diagnostics: CompilerDiagnostic[];
}>;

Vendor support

Vendor identifier is a runtime parameter that selects a data directory under catalogs/vendors/<vendor>/. Slice E ships with one configured vendor. Add a new vendor by dropping catalog.json + specs.json + rules.json into a new catalogs/vendors/<new-vendor>/ directory and refreshing the manifest. No code change required — the engine is data-driven.

Read the full file on GitHub · 145 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. 4d ago First seen · 145 lines · 82 tokens per session scan A de5eaa3a5289

Subscribe to this mod's changes

kernelcad-shopcheck is a skill published in the GitHub repository w1ne/kernelCAD-web (17 stars, last pushed 6d ago), licensed MIT. It adds 82 tokens to every session and 1,961 once invoked, about $0.0004 per session on Opus 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

opengis-skills

Use when AI coding assistant needs GIS/CAD/C#/AI/IoT/3D domain expertise for 73+ open-source projects. One-stop skill index with tag-based search and on-demand loading for GDAL, GeoServer, QGIS, PostGIS, JTS, CesiumJS, FreeCAD, OpenSCAD, OCCT, NPOI, SqlSugar, Furion, Dify, SuperSplat, Go and more.

znlgis/opengis-skills · 97 tokens

cadquery-modeling

Create, edit, or debug parametric 3D CAD parts in CadQuery (Python) that export to STEP for SolidWorks. Use when the request involves CadQuery, .step/.stl export, or modelling a physical part — enclosure, bracket, PCB, motor mount, cam, gear. Also use when a STEP will not open in CAD, or geometry looks correct in STL…

0oKevino0/claude-cad · 101 tokens

sdf

SDFormat/SDF model and world authoring, validation, and simulator handoff. Use for .sdf files, SDFormat XML, models, worlds, links, joints, poses, frames, inertials, visual/collision geometry, mesh URIs, sensors, lights, physics, plugins, includes, Gazebo, static SDF review, or simulator-specific metadata. Do not use…

earthtojake/text-to-cad · 88 tokens

tiaportal-mcp

Drive Siemens TIA Portal (博途) end-to-end through the TiaMcpServer MCP plugin. Use whenever the user mentions TIA Portal, 博途, STEP 7, WinCC, S7-1200/1500, PLC, HMI, SCL, LAD, STL, Openness, or asks to create/modify/compile/download a project. Always start by calling the Bootstrap tool — it returns environment status…

bulaofen0036-coder/TIA_Portal_Openness_MCP · 103 tokens

simplecadapi

Thin SimpleCAD SDK reference skill focused on the public API surface, core types, and current modeling workflows.

NiJingzhe/SimpleCADAPI · 25 tokens

asset-management

Manage ServiceNow hardware assets, software licenses, and lifecycle states on almhardware/almlicense — license allocation, CMDB-to-asset linking, warranty tracking, inventory aggregation (HAM/SAM).

serac-labs/serac · 43 tokens