kernelcad-nurbs

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

A geometry toolkit for creating smooth free-form curves, surfaces, lofts, sweeps, and rounded joins. NURBS are mathematical shapes commonly used for precise curved computer-aided design.

In plain words
What is it for?
Use it to build panels, shells, spines, swept solids, smooth transitions, and other curved parts that can be thickened, combined, or exported.
Why use it?
It helps model organic or tapered shapes that are difficult to make from basic straight-edged solids.

Skill for Claude CodeCodex

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

Good fit Use it to build panels, shells, spines, swept solids, smooth transitions, and other curved parts that can be thickened, combined, or exported.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-nurbs"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-nurbs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,662 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.00125 $0.08662
Opus 5.5 $0.00050 $0.03465
Sonnet 5.5 $0.00025 $0.01732
Haiku 4.5 $0.00013 $0.00866

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

Security

Grade A, and why

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

src/agent/skills/kernelcad-nurbs/SKILL.md · 448 lines

How it starts

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

kernelCAD — NURBS surfaces & curves

Build free-form panels, lofted shells, organic spines, and tapered swept solids whose result enters the existing Shape pipeline (booleans, fillets, exports).

// Lofted free-form panel from sketch sections
const s0 = path().moveTo(-30, -10).lineTo(30, -10).lineTo(30, 10).lineTo(-30, 10).close();
// (use sketch('xy', { offset: <z> }).path()...close() to place sections at different z)
const panel = surfaceFromCurves([s0, s1]).thicken(2);

nurbsSurface({ controls, degree, weights?, knots?, periodic? }) returns a Surface peer to Shape. The Surface exposes these escape methods:

Method Returns Notes
.thicken(t) Shape (closed solid) Offsets both sides by t mm. t accepts Editable<number>.
.toShape() Shape (zero-volume shell) Single-face Shape; use as profile placeholder for future face-aware features.
.trimTo(by) Surface Trim this surface where it meets by and keep the larger piece. Use before sew. Emits feature.surface-trim.no-intersection when the cutter misses.
.split(by) [Surface, Surface] Split this surface at its intersection with by (a Surface cutter) and return both resulting halves, ordered by descending area. The cutter must be a Surface; Shape/Curve3D cutters are deferred. Emits feature.surface-trim.no-intersection when the cutter misses.

Top-level finishing ops that consume Surface instances:

  • sew(surfaces, opts?) — stitch N surfaces into a shell or closed solid. Edges within tolerance mm (default 1e-6) are merged. requireClosed: true emits feature.surface-sew.open-shell instead of a partial shell when the result is still open. Returns a Shape.
  • The workflow for a multi-patch body: trimTo each patch to shared boundary curves → sew([...], { requireClosed: true }) → optionally .draft(angleDeg, { face }) for mold release.

surfaceFromCurves(sections) skins through 2+ closed Sketch cross-sections in declaration order. Section order = skin direction.

Rational NURBS surface weights are honored (v0.14.0). Supplying weights builds an exact rational surface — use them for exact circles, cylinders, spheres, and conics rather than approximating with control points. (3D nurbsCurve weights are still non-rational; that lane is deferred.)

Read the full file on GitHub · 448 lines

Files

What ships with it

5 files 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.

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 · -5 lines df576e81ddd7
  2. 16d ago Changed acdbaabb7e35
  3. 1mo ago Changed · +12 lines ff165ac9d815
  4. 1mo ago Changed 87477df5331c
  5. 1mo ago Changed · +48 lines · +20 tokens per session 2e78552be9bc
  6. 1mo ago First seen · 393 lines · 105 tokens per session scan A a21379c6778b

Subscribe to this mod's changes

kernelcad-nurbs is a skill published in the GitHub repository w1ne/kernelCAD-web (33 stars, last pushed today), licensed MIT. It adds 125 tokens to every session and 8,662 once invoked, about $0.0005 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

aieng-cad-cae-copilot

MCP-first evidence workflow for AIENG CAD/CAE setup, solver preflight, approval-gated solver execution, and result extraction. Use when the user asks to inspect CAE readiness, patch setup, prepare/run CalculiX, or report stress/displacement evidence.

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

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.

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

solidworks-mcp

Build, edit, inspect and export native SolidWorks models through solidworks-mcp. Use for CAD modeling, raster-to-sketch work and SolidWorks COM/MCP diagnostics. Read before calling a SolidWorks MCP tool.

czuryk/SolidworksMCP · 49 tokens

dfam-check

Measure mesh files against Design for Additive Manufacturing (DfAM) rules and report printability findings per process (FDM, SLS, SLA/DLP, metal PBF, MJF). Use when the user asks whether a part is printable, wants overhang/wall-thickness/support analysis of an .stl, .obj, .ply, or .3mf mesh, wants a build-orientation…

earthtojake/text-to-cad · 111 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

mitiq-error-mitigation

A local experiment runner for testing four ways to reduce errors in sampled quantum circuits: zero-noise extrapolation, readout correction, probabilistic error cancellation, and Clifford data regression. It compares noisy and mitigated results under the same sampling budget.

xi-zhao/OpenQuantum · 48 tokens