# Kernelcad parts

> Kernelcad parts is an open-source agent skill for hardware design. Lets an agent pick and place standard fasteners, bearings, motors and connectors in CAD. 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-parts
- **Repository:** https://github.com/w1ne/kernelcad-web
- **GitHub stars:** 37
- **License:** MIT
- **Skill name:** kernelcad-parts
- **Collection:** https://github.com/w1ne/kernelCAD-web
- **Categories:** [hardware design](https://ai-powered.com/categories/hardware-design), cad parts
- **Listing updated:** 2026-12-03

## About

This skill gives a kernelCAD agent a catalog of reusable mechanical parts so it can stop modeling placeholder geometry for common hardware. The agent walks a discovery chain from part categories to families to fuzzy search, then fetches a part by id or by a hash-verified model URL. Bundled records cover ISO and DIN fasteners, deep-groove bearings, NEMA stepper motors, pin headers, JST-XH housings and machining-fixture hardware, and a public remote catalog is consulted when nothing bundled matches.

The guidance also covers how parts are built and wired together. It explains typed and generic script calls, table-driven fastener stacks, hole-driven insertion into a plate, and the connector frames each part exposes so it can be mated with the four-argument assembly API. It includes cookbook examples for bolting a bracket, seating a bearing on a shaft and mounting a stepper to a plate, along with a recovery table for the common error codes.

The skill expects a kernelCAD scripting environment written in TypeScript, and it respects an offline mode through an environment variable. Remote parts keep their own license and attribution fields, which the agent is told to preserve.

## When your agent uses it

> Bundled parts catalog — discover, fetch, and mate standard fasteners, mechanical elements, bearings, motors, headers, and connectors. Use whenever a model needs a reusable component instead of hand-modeled placeholder 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-parts)
- [License: MIT](https://github.com/w1ne/kernelCAD-web/tree/HEAD/src/agent/skills/kernelcad-parts)

## Features

- **Discovery chain:** Narrows from part categories to families to ranked search results before fetching.
- **Standard fasteners and stacks:** Builds ISO and DIN screws, nuts and washers and sizes bolt stacks for a given grip.
- **Bearings, motors and connectors:** Provides deep-groove bearings, NEMA steppers, pin headers and JST-XH housings with connector frames.
- **Hole-driven insertion:** Places fasteners into existing bores by reading their diameter against clearance tables.
- **Assembly mating:** Explains the four-argument mate API and automatic bolt-hole connectors for mounting parts.
- **Remote catalog fallback:** Fetches off-the-shelf parts from a public catalog with checksum verification and caching.

## Good for

- Bolt a bracket to a plate using M3 socket-head screws and nuts
- Mount a NEMA 17 stepper motor to a mounting plate
- Seat a 608 bearing on an 8 mm shaft in an assembly
- Size a bolt stack for a 12 mm grip with washers and a nut
- Add pin headers or JST-XH connectors to an electronics enclosure model

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

For one project only, put the folder in `.cursor/skills/kernelcad-parts` 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-parts
```

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

### VS Code

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

```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-parts &&
cp -R "$tmp/src/agent/skills/kernelcad-parts" ~/.copilot/skills/kernelcad-parts &&
rm -rf "$tmp"
```

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

## FAQ

### Does Kernelcad parts need a network connection?

The bundled catalog works offline after install. The remote catalog is used automatically for unmatched queries, and setting KERNELCAD_PARTS_BASE_URL to off keeps the agent on the bundled seed only.

### How does the agent find the right part?

It can browse part categories and families, run a fuzzy find_part search with optional filters, or fetch a known id directly.

### How are parts attached to each other?

Each bundled part carries connector frames, and assemblies join them with the four-argument mate call using names such as head-bearing or bolt-holes-1.

### Are the parts certified dimensions?

The skill states that solids are nominal reference envelopes and that the manufacturing drawing should be checked before a fit or acceptance claim.

### How do I install Kernelcad parts in Claude Code?

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

### Does Kernelcad parts 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 parts?

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 parts?

The closest alternatives to Kernelcad parts are Kernelcad assemblies, Kernelcad authoring and Model.

## Where this comes from

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

## Alternatives

- [Kernelcad assemblies](https://ai-powered.com/skills/kernelcad-assemblies): Kernelcad assemblies 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.
- [Model](https://ai-powered.com/skills/model): Model is an open-source agent skill for cad parts.

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