
Kernelcad patterns
Lets an agent replicate CAD features linearly, circularly or in a grid as one unit
Kernelcad patterns 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 patterns
This skill covers pattern operations in kernelCAD, a CAD modeling environment. It explains how to repeat a sub-feature such as a hole, rib, fin, tab or spoke along a line, around an axis, or across a two-dimensional grid, with each call producing a single editable feature record and one undo step.
The guidance describes the API surface for linear, circular and grid patterns, including count, direction, spacing and angle parameters, and notes that patterned bodies are combined by boolean union. It warns that patterning subtractive features such as holes only keeps each void when neighbouring instances do not overlap. It also shows how to address an individual instance's faces by synthetic lineage ids and how to reference all instances through the source feature's name.
The skill lists diagnostic codes for missing source features and out-of-range counts, and a set of verification checks to run before reporting work done, including evaluation, interference and count validation. It assumes familiarity with TypeScript and the kernelCAD command line tools and MCP introspection.
When your agent uses it
Mechanical patterns — linear, circular, grid. Use when replicating a sub-feature (hole, rib, fin, tab, spoke) along an axis, around an axis, or across a 2D grid as a single editable unit.
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 1 file (5 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-patterns 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-patterns &&
cp -R "$tmp/src/agent/skills/kernelcad-patterns" ~/.claude/skills/kernelcad-patterns &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/kernelcad-patterns inside it instead.
Copy the skill folder to ~/.agents/skills/kernelcad-patterns 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-patterns &&
cp -R "$tmp/src/agent/skills/kernelcad-patterns" ~/.agents/skills/kernelcad-patterns &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/kernelcad-patterns inside it instead.
Copy the skill folder to ~/.cursor/skills/kernelcad-patterns 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-patterns &&
cp -R "$tmp/src/agent/skills/kernelcad-patterns" ~/.cursor/skills/kernelcad-patterns &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/kernelcad-patterns inside it instead.
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-patternsOr copy the folder to ~/.gemini/skills/kernelcad-patterns yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/kernelcad-patterns:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/kernelcad-patterns &&
cp -R "$tmp/src/agent/skills/kernelcad-patterns" ~/.copilot/skills/kernelcad-patterns &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/kernelcad-patterns inside it instead.
Get the folder:
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.gitThen copy kernelCAD-web/src/agent/skills/kernelcad-patterns into your agent's skills folder as kernelcad-patterns. Agents that support SKILL.md read one folder per skill.
What it does
- Linear pattern API
- Repeats a source feature a set number of times at a fixed spacing along a direction.
- Circular pattern API
- Arranges instances around an axis with an optional total angle.
- Grid pattern API
- Creates two-dimensional arrays of a feature across x and y directions.
- Boolean union semantics
- Explains how overlapping patterned bodies combine and when subtractive features keep their voids.
- Instance face addressing
- Shows how to reference a single pattern instance or all instances through named selectors.
- Pattern verification checks
- Lists gates for count, direction, spacing, source binding and interference before finishing.
Good for
- Add a row of evenly spaced cooling fins to a housing
- Place six spokes around a central hub
- Drill a 4 by 3 grid of mounting holes in a plate
- Change the number of patterned instances through a parameter
- Check that patterned holes do not overlap or fill each other
Kernelcad patterns FAQ
What does a pattern call produce in the model?
Each call produces a single FeatureRecord, which is one editable unit, one row in inspect output and one undo step, with instance 0 being the source position.
Can patterns cut holes repeatedly without problems?
Patterning a subtractive feature such as a hole only preserves each void when the patterned bodies are disjoint, because overlapping instances are filled by boolean union.
What are the valid count values?
Count must be an integer of at least 2, and for grid patterns both x and y counts must meet that minimum.
Which tools does the skill require?
The skill does not set an allowed tools list; it refers to the kernelcad evaluate and interference commands and to the add_pattern_feature MCP tool.
How do I install Kernelcad patterns in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/kernelcad-patterns to use it in all your projects, or to .claude/skills/kernelcad-patterns in one project.
Does Kernelcad patterns 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 patterns?
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 patterns?
The closest alternatives to Kernelcad patterns are Kernelcad features, Kernelcad authoring, Kernelcad from reference, Kernelcad nurbs and Kernelcad design loop.
Where this comes from
- Description: from the skill's own SKILL.md.
More from w1ne/kernelCAD-web

Compares bounded kernelCAD design variants on one evidence basis with a review gate
- Open source
- 37 GitHub stars
- Developer tools

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

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

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

Lets an agent show a kernelCAD model in Studio and act on painted review marks
- Open source
- 37 GitHub stars
- Design and media

Gates a kernelCAD revision for fabrication with state-labelled, revision-bound evidence
- Open source
- 37 GitHub stars
- Developer tools

