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.
npx skills add w1ne/kernelCAD-web --skill kernelcad-mcpgit clone --depth 1 https://github.com/w1ne/kernelCAD-webWrote 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.
[](https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-mcp)<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-mcp"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-mcp/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.
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-mcp"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 140 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.19700 |
| Opus 5.5 | $0.00020 | $0.07880 |
| Sonnet 5.5 | $0.00010 | $0.03940 |
| Haiku 4.5 | $0.00005 | $0.01970 |
Grade A, and why
kernelcad-mcp 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.
How it starts
The opening of the file, as written. The whole thing — 517 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kernelCAD — MCP companion
When to load this skill
Load when kernelcad mcp is available and you need to inspect or edit a live model without re-running the full CLI on every change. The MCP server exposes dynamic introspection tools that operate on evaluated in-memory state.
MCP tool surface
When you have kernelcad mcp available, use the MCP tools for dynamic introspection rather than re-running the CLI. The MCP server exposes the current tool registry, including:
Point-cloud analysis
fit_plane({ points })— fit an orthogonal least-squares plane to at least three non-collinear XYZ triples (up to 100,000). Returns the centroid, deterministic unit normal, signed orthogonal residual per point, RMS residual and maximum absolute residual. Pass points parsed by the caller from a scan or mesh; this tool estimates parameters only and does not parse files or create a surface body.
Evaluation and introspection
-
write_bom({ handoff | handoff_json | handoff_path, catalog_parts?, output_path?, overwrite? })— merge a LabWired handoff BOM with optional KernelCAD catalog MPNs/prices; writes CSV and returnsheaders, formula-neutralized Sheets-readysheets_rows, and CSV contents/path. Existing CSV destinations are preserved unlessoverwrite: true. The tool makes no Google API calls. -
evaluate_script({ file? code?, dryRun? })— pass/fail + featureCount + diagnostics +sceneSummary(valid,volumein mm³, BREPfaceCount, conservative world boundingsize: [x,y,z]in mm); plus apartssummary{ count, names }when the scene is assembly-built (absent for single-shape / non-assembly scripts).dryRun: trueis the fast iteration mode: transpile + capture + capture-light checks without building solids, DFM gates, or meshing — milliseconds instead of seconds. A dry run catches script throws, capture-time API misuse, and assembly validity-gate failures, but NOT lowering failures (failed booleans, oversized fillets) ordfmSpecdiagnostics, and it leaves the active session untouched — finish with a fullevaluate_scriptbefore using session-dependent tools. A model with moving joints or motion intent (an animation track,mechanicalJoint, transmission) also getsmechanismSummary—{ verdict, maxLevel, statement, checked, skipped, failures }(maxLevel:errorbroken,warningnot checked,okchecked). The verdict also fails an animation key that drives a joint past its limits (kinematic.pose.out-of-limits), a closed loop that does not close (assembly.mate.over-constrained/assembly.solver.did-not-converge, naming the mate) and a loop mate that comes apart at a swept pose (mechanism.mate-unsatisfied); a moving DOF with no limits is listed inskipped(range not checked), not failed. Quotestatement:Motion checkedsays what ran,Motion not checkedis not a pass (say it was not checked),Mechanism brokennames the joint. An animated param or drive on afastenedjoint fails asmechanism.motion-on-fixed-joint: make that joint revolute/prismatic and pass the param as itspose; never turn a fastened part by rotating its geometry. Studio shows the same verdict as a badge; saving is never blocked by it. -
diff_scripts({ baseFile? baseCode?, file? code? })— structured geometric delta between a baseline script and a revision. Returns per-partadded/removed/renamed/changed(volume mm³ + exact bbox deltas; numbers matchinspect({ of: 'part-stats' })), interference totals per side +deltaMm3with per-pair detail, mate-graph changes (type, connectors, pose, limits), and param changes (value/min/max). Single-shape scripts diff as one(root)pseudo-part. Use after editing a script to verify exactly what changed physically before re-rendering; read-only, never touches the active session. -
diff_geometry({ baseFile? baseCode?, file? code?, params?, render? })— the deeper sibling ofdiff_scripts, for when a volume/bbox delta is ambiguous: a boss that grew and a pocket that deepened report the same |ΔV|, and a part that only moved reports ΔV = 0. The revised side is either another script (file/code) or the SAME script re-lowered withparamsoverrides (declaredparam()name → new value — the one-script form a parameter sweep asks for). Bodies pair by name, falling back to declaration-order positional pairing; leftovers land inunmatchedand raisediff.body.unmatched. Per matched body:addedMm3= volume(revised − base),removedMm3= volume(base − revised),commonMm3= volume(base ∩ revised), exact bbox with min/max/extent deltas, face/edge/hole count deltas,maxDeviationMm(two-sided discrete Hausdorff distance), and averdict—identical|moved|resized|topology-changed(precedence: topology-changed > resized > moved > identical). Branch on the verdict; cite the numbers.{ render: true }also writes an overlay PNG — added green, removed red, unchanged material as a translucent ghost — through therender_previewpipeline; the scene itself is a re-runnablediff-overlay.kcad.tsover lossless BREP sidecars inrender.out_dir. It fails open: the numeric diff is returned either way, withrender.errornaming what the render pipeline needs. Read-only.diff_scriptssetsdeeperDiffAvailablewhen its own numbers are not enough to say what physically changed; follow that pointer here instead of reaching for a render. -
inspect({ of: 'features', file? code? })— array of feature summaries (kind/id/params/inputs) -
inspect({ of: 'assemblies', file? code? })— captured assembly intent: assemblies, parts, named connectors, fixed connections, joints, and aggregate models -
inspect({ of: 'assembly', file? | code?, assembly? })— physical assembly inventory for agents: named parts, bboxes, explicitly assigned engineeringmaterial(fromassembly.part(..., { material })), connectors, mates, mechanical review facts, disconnected solids,unexplainedGeometry, and a next-action prompt.componentCountis a disconnected-mesh diagnostic only; it is not a stable cell/region identity and cannot be assigned an independent material. Assign separate materials by modeling separate named assembly parts. Run this before accepting visually suspicious mechanisms; random/floating geometry must be repaired or explicitly justified by the original prompt. -
inspect({ of: 'step', file })— inspect a STEP file directly, without evaluating a script ({ file }is required; no{ code }mode): solid tree (index + best-effort name), per-solid exact bounding box + volume + face count, and detected cylindrical holes (axis origin + direction, diameter, depth, blind/through; co-axial seam-split faces merge into one bore). A bore whose wall is breached (a slot, pocket, or nearby fillet/chamfer runs into it) is still reported, flaggedpartial: truewithangularCoverageDeg; the report then saysholeDetection: 'heuristic'(also when an ambiguous concave cylinder was left out) — treat those holes as candidates to confirm with a render or section.'exact'means every concave cylinder was a full bore or clearly a fillet/slot end.depthMmis the cylindrical wall length: a mouth chamfer/fillet shortens it. Run this before placing an imported vendor part — find mounting-hole positions and verify the part-local frame from exact geometry instead of measuring renders. CLI equivalent:kernelcad inspect step <file.step>. -
inspect({ of: 'shape', file? code?, feature_id? })— volume/surfaceArea/bbox of a feature (default: last) -
inspect({ of: 'topology', file? code?, feature_id? })— canonical face names + edge count -
inspect({ of: 'face-edges', file? code?, feature_id?, face_name })— boundary edges of a face (centroid, length, isClosed) -
inspect({ of: 'edges', file? code?, feature_id? })— enumerate all edges (index, centroid, length, isClosed) -
inspect({ of: 'faces', file? code?, feature_id? })— enumerate all faces with area and centroid -
inspect_nurbs({ file? code?, feature_id? })— read captured NURBS data from anurbsCurve/spline3dfeature: degree, knots and multiplicities, poles, weights, parameter range,rational(weights not all equal),uniformWeights(all equal), andhasNonUnitWeights(any differs from 1). This reports authored curve data, not post-operation B-rep edge/face extraction; surfaces and blends are not supported. -
apply_surface_blend({ code, shape_binding, operation?, radius?, distance?, selector?, continuity? })— insert aShape.fillet(...)orShape.chamfer(...)line before the script return, evaluate the patched code, and returnnew_codeplus diagnostics and scene summary.selectoruses the existingEdgeSelectorconventions (@kc[...]edge ref/query or{ face: canonical name | face label | FaceQuery descriptor }); omit it to affect all sharp edges. Fillets acceptcontinuity: 'G1' | 'G2'through the existing public API; chamfers usedistance. This authors a fillet/chamfer operation only. It does not extract blend-surface NURBS poles; that still requires kernel surface extraction. -
inspect({ of: 'face-labels', file? code?, feature_id? })— canonical face names resolvable on a feature -
query({ mode: 'lineage', file? code?, feature_id, ref })— walk the HistoryMap chain that produced a named face/edge ref; returns{ chain, usedFallback }.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday Changed 56030d7af25a
- 2d ago Changed 5d109beb89f0
- 5d ago Changed · +45 lines aa196c6c087d
- 6d ago Changed · +6 lines 9badce8d07f4
- 7d ago Changed · +20 lines cb32af8d509a
- 9d ago Changed · +10 lines 388ffd3ec312
- 10d ago Changed b53765d7bbfe
- 11d ago Changed 3ebd3de8625c
- 12d ago Changed 3a7545dbd087
- 13d ago First seen · 436 lines · 51 tokens per session scan A a3ec11d90af1
kernelcad-mcp is a skill published in the GitHub repository w1ne/kernelCAD-web (33 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 19,700 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.
Other skills, from other repositories
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…
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.
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.
rhino
Automate Rhino modeling through RhinoCommon, work with Grasshopper data trees, and configure Rhino.Compute workflows.
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…
modulor
2D drafting + 3D modeling via Modulor (agent-native CAD). Use when the user asks to draw floor plans, model buildings or parts, produce DXF/SVG drawings, STL/GLB meshes, IFC BIM models, or to import and modify existing DXF drawings. Requires pip install modulor.