# Kernelcad fea

> Kernelcad fea is an open-source agent skill for developer tools. Runs linear-static FEA on CAD parts to check peak stress and safety factor. 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-fea
- **Repository:** https://github.com/w1ne/kernelcad-web
- **GitHub stars:** 37
- **License:** MIT
- **Skill name:** kernelcad-fea
- **Collection:** https://github.com/w1ne/kernelCAD-web
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

Kernelcad FEA lets an agent declare a linear-static structural study on a kernelCAD shape, choosing a material grade, fixed faces and loads, then solve it with CalculiX and gmsh. The results report peak von Mises stress, peak displacement, minimum safety factor against yield, named hot-spot regions and whether the mesh is trustworthy, along with stress heatmap images.

The skill covers the full workflow: writing the study in the model, running it, and reading the output. It explains how the solver excludes the singular zone next to clamped faces, how automatic mesh refinement works, and how a declared minimum safety factor can act as a gate that fails evaluation. It can also derive loads from a motion study and drive stress-graded infill for 3D printing.

It expects the open-source CalculiX ccx solver and a gmsh Python environment to be installed locally or through a container wrapper. Studies are written in TypeScript against the kernelCAD API, and the skill notes that a missing toolchain is reported as a failure rather than a pass.

## When your agent uses it

> Answer "will this part hold this load?" with solver evidence — declare a linear-static structural study with shape.feaStudy({ material, fixed, loads | loadsFrom, minSafetyFactor? }), then run it with run_fea for peak von Mises stress, peak displacement, minimum safety factor against yield, named hot-spot regions, mesh-trust flags and stress-heatmap PNGs. A declared minSafetyFactor turns the study into a gate that fails evaluate_script. Use when sizing a bracket, mount, tab, clevis or any load-bearing part, when a load-capacity check reported beam-not-applicable, or before committing to a wall thickness or material grade.

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

## Features

- **Declarative structural study:** Define material, fixed faces, loads and mesh size directly on a shape as a study.
- **Safety factor and hot spots:** Reports minimum safety factor against yield and the regions with the highest stress.
- **Mesh trust checks:** Flags results whose stress value is limited by the mesh and refines once when needed.
- **Safety factor gate:** A declared minimum safety factor makes evaluation fail when the margin is not met.
- **Loads from motion:** Takes the worst sampled joint load from a motion study instead of a typed force.
- **Stress-graded infill:** Exports 3MF infill bands per region based on the solved stress field.

## Good for

- Check whether a bracket holds a given load before printing it
- Size the wall thickness of a mount against yield
- Compare aluminium and steel grades for a load-bearing tab
- Find where a clevis is most stressed and where to add material
- Verify a part after a load-capacity check reports beam analysis is not applicable

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

## FAQ

### What do I need installed to run Kernelcad fea?

The CalculiX ccx solver and a Python environment with gmsh 4.15.2. Neither is bundled, and a container wrapper can be used instead.

### What happens if the solver is missing?

run_fea and the gate fail with fea.solver.unavailable; a missing toolchain is never reported as a pass.

### Does Kernelcad fea model contact, bolt preload or dynamics?

No. It covers linear static, small displacements, bonded contact only, with no pretension, modal, buckling or thermal steps.

### How is the result checked for mesh accuracy?

It uses CalculiX's nodal stress-error estimate and mesh quality flags, and may run one finer mesh pass automatically to confirm.

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

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

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

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

The closest alternatives to Kernelcad fea are Kernelcad cfd, Kernelcad fields, Kernelcad authoring, Kernelcad kinematic and Kernelcad features.

## Where this comes from

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

## Alternatives

- [Kernelcad cfd](https://ai-powered.com/skills/kernelcad-cfd): Kernelcad cfd 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 authoring](https://ai-powered.com/skills/kernelcad-authoring): Kernelcad authoring is an open-source agent skill for developer tools.
- [Kernelcad kinematic](https://ai-powered.com/skills/kernelcad-kinematic): Kernelcad kinematic 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 design loop](https://ai-powered.com/skills/kernelcad-design-loop): Kernelcad design loop is an open-source agent skill for developer tools.
- [Kernelcad export](https://ai-powered.com/skills/kernelcad-export): Kernelcad export is an open-source agent skill for developer tools.
- [Kernelcad sheet metal](https://ai-powered.com/skills/kernelcad-sheet-metal): Kernelcad sheet metal is an open-source agent skill for developer tools.

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