# Kernelcad nurbs

> Kernelcad nurbs is an open-source agent skill for developer tools. Guides an agent to build NURBS surfaces, curves and rail lofts in kernelCAD. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/w1ne/kernelCAD-web/tree/develop/src/agent/skills/kernelcad-nurbs
- **Repository:** https://github.com/w1ne/kernelcad-web
- **GitHub stars:** 37
- **License:** MIT
- **Skill name:** kernelcad-nurbs
- **Collection:** https://github.com/w1ne/kernelCAD-web
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/w1ne/kernelCAD-web/tree/HEAD/src/agent/skills/kernelcad-nurbs)
- [License: MIT](https://github.com/w1ne/kernelCAD-web/tree/HEAD/src/agent/skills/kernelcad-nurbs)

## Features

- **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

## Install

### Claude Code

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Kernelcad features](https://ai-powered.com/skills/kernelcad-features): Kernelcad features is an open-source agent skill for developer tools.
- [Kernelcad authoring](https://ai-powered.com/skills/kernelcad-authoring): Kernelcad authoring is an open-source agent skill for developer tools.
- [Use the available kernel](https://ai-powered.com/skills/use-the-available-kernel): Use the available kernel is an open-source agent skill for developer tools.
- [Kernelcad fields](https://ai-powered.com/skills/kernelcad-fields): Kernelcad fields is an open-source agent skill for developer tools.
- [Kernelcad from reference](https://ai-powered.com/skills/kernelcad-from-reference): Kernelcad from reference is an open-source agent skill for developer tools.
- [Kernelcad tubes](https://ai-powered.com/skills/kernelcad-tubes): Kernelcad tubes is an open-source agent skill for developer tools.
- [Kernelcad patterns](https://ai-powered.com/skills/kernelcad-patterns): Kernelcad patterns is an open-source agent skill for developer tools.
- [Kernelcad drawings](https://ai-powered.com/skills/kernelcad-drawings): Kernelcad drawings is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/kernelcad-nurbs
