Skip to content
Skill

Kernelcad nurbs

Guides an agent to build NURBS surfaces, curves and rail lofts in kernelCAD

Kernelcad nurbs is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
37
Last commit
License
MIT
Listing updated

Similar skills

About Kernelcad nurbs

This skill covers freeform CAD geometry in kernelCAD: NURBS surfaces built from control grids or from closed sketch sections, boundary-filled panels, 3D NURBS curves, multi-section sweeps along a spine, surface-to-surface intersection curves, and rail-constrained lofts. It also documents 2D NURBS path segments for sketch outlines. The resulting surfaces feed into the same Shape pipeline as primitives, so they can be thickened, trimmed, sewn into shells, filleted and exported.

The guidance includes verification steps for authored NURBS, such as checking that control grids are finite and rectangular, that degrees fit the control net, and that thickened offsets do not interfere with neighbouring parts. It lists diagnostic codes for each operation with hints on fixing them, and explains G1 versus G2 continuity choices for blends and bridges. It also covers analytics helpers for sampling, closest-point queries and curvature on curves.

The skill expects kernelCAD's TypeScript modeling API and its CLI for evaluation, interference checks and export to STEP, GLB, STL or 3MF. It is meant for freeform shapes that primitives and ordinary sketches cannot express.

When your agent uses it

NURBS surfaces (nurbsSurface, surfaceFromCurves, surfaceFromBoundary, .offset, .thicken, .toShape) AND NURBS curves (nurbsCurve, spline3d, hermiteG2, curveBridge, Curve3D.bridge) AND surfaceIntersection AND rail loft (Sketch.loft rails) AND multi-section sweeps (variableSweep) AND G1/G2 fillet continuity AND 2D NURBS path segments (path().spline / .nurbsSegment / .hermiteG2). Use for freeform geometry that primitives + sketches cannot express.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 6 files (43 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/kernelcad-nurbs to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/kernelcad-nurbs &&
cp -R "$tmp/src/agent/skills/kernelcad-nurbs" ~/.claude/skills/kernelcad-nurbs &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/kernelcad-nurbs inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/kernelcad-nurbs to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/kernelcad-nurbs &&
cp -R "$tmp/src/agent/skills/kernelcad-nurbs" ~/.agents/skills/kernelcad-nurbs &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/kernelcad-nurbs inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/kernelcad-nurbs to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/kernelcad-nurbs &&
cp -R "$tmp/src/agent/skills/kernelcad-nurbs" ~/.cursor/skills/kernelcad-nurbs &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/kernelcad-nurbs inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/w1ne/kernelCAD-web.git --path src/agent/skills/kernelcad-nurbs

Or copy the folder to ~/.gemini/skills/kernelcad-nurbs yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/kernelcad-nurbs:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/kernelcad-nurbs &&
cp -R "$tmp/src/agent/skills/kernelcad-nurbs" ~/.copilot/skills/kernelcad-nurbs &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/kernelcad-nurbs inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git

Then copy kernelCAD-web/src/agent/skills/kernelcad-nurbs into your agent's skills folder as kernelcad-nurbs. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

NURBS surface construction
Builds surfaces from control grids, skins through closed sketch sections, or fills four boundary curves into one patch.
3D curves and Hermite bridges
Creates NURBS and spline curves and joins them with G1 or G2 Hermite transitions.
Multi-section sweeps and rail lofts
Sweeps profiles along a spine with stations and lofts sections guided by up to two rails.
Surface trimming and sewing
Trims, splits and offsets patches, then sews them into closed shells that can be drafted.
2D NURBS path segments
Adds spline, control-polygon and Hermite segments to sketch outlines.
Curve analytics queries
Samples curves by arc length, finds closest points and derivatives, and intersects curves.

Good for

  • Model a lofted free-form panel from several sketch sections and thicken it
  • Create a smooth spline spine and sweep a tapering profile along it
  • Blend two existing curves with G2 continuity before sweeping
  • Place evenly spaced holes along a curved rail
  • Build a four-sided curved patch from boundary curves and thicken it into a solid
  • Sew several trimmed patches into a closed shell for mold release

Kernelcad nurbs FAQ

What does the skill need to be used?

It relies on kernelCAD's TypeScript modeling API and its CLI, which provides evaluate, interference checks and export commands.

Which export formats does Kernelcad nurbs mention for handing off organic shapes?

STEP is suggested for BREP handoff to a NURBS-capable tool and GLB for mesh and material handoff; STL, 3MF, DXF, SVG, URDF, SRDF and SDF-Gazebo are also listed.

Are rational NURBS weights supported?

Yes for surfaces, since v0.14.0, so exact circles, cylinders and spheres can be built; 3D curve weights are still non-rational.

When should I use this instead of primitives and sketches?

The skill says to reach for NURBS only when a freeform contour cannot be expressed with primitives and sketches.

How do I install Kernelcad nurbs in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/kernelcad-nurbs to use it in all your projects, or to .claude/skills/kernelcad-nurbs in one project.

Does Kernelcad nurbs run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Kernelcad nurbs?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Kernelcad nurbs?

The closest alternatives to Kernelcad nurbs are Kernelcad features, Kernelcad authoring, Use the available kernel, Kernelcad fields and Kernelcad from reference.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from w1ne/kernelCAD-web

  1. Compares bounded kernelCAD design variants on one evidence basis with a review gate

    • Open source
    • 37 GitHub stars
    • Developer tools
  2. Finds and runs kernelCAD cookbook recipes for common industrial CAD parts via MCP

    • Open source
    • 37 GitHub stars
    • Developer tools
  3. Builds and revises CAD parts through a hosted kernelCAD MCP server until checks pass

    • Open source
    • 37 GitHub stars
    • Developer tools
  4. Exports kernelCAD models to STEP, STL, 3MF, PLY, USD and more, with checks

    • Open source
    • 37 GitHub stars
    • Developer tools
  5. Lets an agent show a kernelCAD model in Studio and act on painted review marks

    • Open source
    • 37 GitHub stars
    • Design and media
  6. Gates a kernelCAD revision for fabrication with state-labelled, revision-bound evidence

    • Open source
    • 37 GitHub stars
    • Developer tools