# Use the available kernel

> Use the available kernel is an open-source agent skill for developer tools. Guides an agent to pick the right kernelCAD modeling primitive when building from a photo. 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-from-reference/use-the-available-kernel
- **Repository:** https://github.com/w1ne/kernelcad-web
- **GitHub stars:** 37
- **License:** MIT
- **Skill name:** use-the-available-kernel
- **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 is a checklist of rules for authoring kernelCAD geometry from a reference photo. It tells the agent when a visible feature, such as varying corner radii, symmetry, a thickness change along the body, an organic silhouette, or a glossy finish, calls for a specific kernel operation like a variable fillet, mirror, surfaceFromCurves, smoothSpline, surfaceFromBoundary or a named finish. It also covers patch closing with trimTo, sew and draft, and how to handle chamfer and fillet auto-skips.

The rules come with short TypeScript examples showing the call forms. The skill also points to a geometric scorer for comparing an exported STL against a reference mesh, and to a reference image overlay in the Studio viewport for visual checks. Its guidance is written for kernelCAD's own API, so it is only useful inside that environment.

The agent is expected to read the photo, decide which rules apply, and write kernelCAD code. Some rules mention scorer behaviour, so the skill assumes the eval tooling is available in the working repository.

## When your agent uses it

> Hard rules for which kernelCAD primitive to reach for when authoring from a reference photo. The from-reference loop fails most often because the author defaults to easy primitives and skips ones that exist. Read before writing any geometry.

## 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-from-reference/use-the-available-kernel)
- [License: MIT](https://github.com/w1ne/kernelCAD-web/tree/HEAD/src/agent/skills/kernelcad-from-reference/use-the-available-kernel)

## Features

- **Variable corner fillets:** Covers applying different fillet radii to corners that visibly differ in a reference.
- **Symmetry and mirroring:** Explains building one half of a symmetric part and mirroring it across a plane.
- **Spline-based organic curves:** Describes using smooth splines for ergonomic and sculpted silhouettes.
- **Surface patches and sewing:** Covers Coons patches, trimming, sewing open surfaces into a closed solid and mold draft.
- **Named material finishes:** Explains applying named glossy finishes or a custom material for product realism.
- **Geometric scoring workflow:** Describes exporting an STL and comparing it to a reference mesh by distance and overlap metrics.

## Good for

- Model a bottle or handheld product with different corner radii from a photo
- Build a symmetric product by authoring one half and mirroring it
- Create a smooth ergonomic grip outline with a spline
- Close a set of surface patches into a watertight solid
- Apply a glossy plastic finish to a modeled consumer product

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/use-the-available-kernel` 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/use-the-available-kernel &&
cp -R "$tmp/src/agent/skills/kernelcad-from-reference/use-the-available-kernel" ~/.claude/skills/use-the-available-kernel &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/use-the-available-kernel` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/use-the-available-kernel` 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/use-the-available-kernel &&
cp -R "$tmp/src/agent/skills/kernelcad-from-reference/use-the-available-kernel" ~/.agents/skills/use-the-available-kernel &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/use-the-available-kernel` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/use-the-available-kernel` 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/use-the-available-kernel &&
cp -R "$tmp/src/agent/skills/kernelcad-from-reference/use-the-available-kernel" ~/.cursor/skills/use-the-available-kernel &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/use-the-available-kernel` 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-from-reference/use-the-available-kernel
```

Or copy the folder to `~/.gemini/skills/use-the-available-kernel` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/use-the-available-kernel &&
cp -R "$tmp/src/agent/skills/kernelcad-from-reference/use-the-available-kernel" ~/.copilot/skills/use-the-available-kernel &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/use-the-available-kernel` 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-from-reference/use-the-available-kernel` into your agent's skills folder as `use-the-available-kernel`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Use the available kernel change in the agent's behaviour?

It makes the agent check a list of reference-photo conditions before writing geometry and prefer specific kernelCAD primitives such as variable fillets, mirror, smoothSpline and named finishes.

### Does Use the available kernel work outside kernelCAD?

No. The rules use kernelCAD's API, including fillet, mirror, surfaceFromCurves, smoothSpline and referenceImage.

### Does Use the available kernel require scripts or extra tools?

It contains no scripts of its own. It refers to kernelCAD CLI commands and an eval scorer script in the repository for the geometric comparison step.

### Which rule applies to uniform sheet metal or plate stock?

The skill states that the variable fillet rule does not apply to a uniform slab with sharp corners, such as laser-cut sheet metal.

### How do I install Use the available kernel in Claude Code?

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

### Does Use the available kernel 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 Use the available kernel?

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 Use the available kernel?

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

## Where this comes from

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

## Alternatives

- [Kernelcad from reference](https://ai-powered.com/skills/kernelcad-from-reference): Kernelcad from reference 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.
- [Kernelcad features](https://ai-powered.com/skills/kernelcad-features): Kernelcad features is an open-source agent skill for developer tools.
- [Kernelcad nurbs](https://ai-powered.com/skills/kernelcad-nurbs): Kernelcad nurbs 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.
- [Photo to device](https://ai-powered.com/skills/photo-to-device): Photo to device is an open-source agent skill for developer tools.
- [Kernelcad trace from image](https://ai-powered.com/skills/kernelcad-trace-from-image): Kernelcad trace from image is an open-source agent skill for developer tools.
- [Kernelcad design loop](https://ai-powered.com/skills/kernelcad-design-loop): Kernelcad design loop is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/use-the-available-kernel
