Skip to content
Skill

Kernelcad fea

Runs linear-static FEA on CAD parts to check peak stress and safety factor

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

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.

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 (18 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-fea 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-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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/kernelcad-fea 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-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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/kernelcad-fea 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-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.

Cursor docs on skills

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

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Kernelcad fea 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.

More from w1ne/kernelCAD-web

  1. Compares bounded kernelCAD design variants on one evidence basis with a review gate

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

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

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

    • Open source
    • 37 GitHub stars
    • Developer tools
  5. Lets an agent show a kernelCAD model in Studio and act on painted review marks

    • Open source
    • 37 GitHub stars
    • Design and media
  6. Gates a kernelCAD revision for fabrication with state-labelled, revision-bound evidence

    • Open source
    • 37 GitHub stars
    • Developer tools