Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add w1ne/kernelCAD-web --skill kernelcad-feagit clone --depth 1 https://github.com/w1ne/kernelCAD-webWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-fea)<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-fea"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-fea/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-fea"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-fea.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00142 | $0.05135 |
| Opus 5.5 | $0.00057 | $0.02054 |
| Sonnet 5.5 | $0.00028 | $0.01027 |
| Haiku 4.5 | $0.00014 | $0.00513 |
Grade B, and why
kernelcad-fea scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt-get install -y calculix-ccx # the ccx solver How it starts
The opening of the file, as written. The whole thing — 332 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kernelCAD — structural FEA
Declare the study in the model, run the solver, read the evidence.
const bracket = box(8, 40, 90).union(box(90, 40, 8)).fillet(4, { parallel: [0, 1, 0], concave: true });
bracket.feaStudy({
material: 'aluminum-6061',
fixed: { atX: 0 }, // bolted to the wall
loads: [{ faces: { atZ: 8 }, force: [0, 0, -400] }], // 400 N total, downward
meshSize: 4,
minSafetyFactor: 2, // makes it a GATE
});
return bracket;
run_fea({ file: 'bracket.kcad.ts', output_dir: '/tmp/bracket-fea' })
// → { ok: true, summary: { minSafetyFactor: 6.10, maxVonMisesMPa: 44.28,
// hotSpots: [{ region: '@kc[fillet_1/face/f7]', ... }],
// trust: { meshTrusted: false, reasons: [...] },
// refinement: { passes: [4 mm: 42.5 MPa, 3 mm: 44.3 MPa],
// stoppedBy: 'still-untrusted' },
// governingField: 'away-from-supports' },
// images: ['.../heatmap/iso.png', '.../heatmap/front.png'] }
Prerequisite: the solver toolchain
FEA shells out to two external, open-source programs. Neither is bundled.
sudo apt-get install -y calculix-ccx # the ccx solver
python3 -m venv .fea-venv && .fea-venv/bin/pip install gmsh==4.15.2 # the mesher
Check before you design around it: fea_summary({}) reports
toolchain.available plus the install hint. Override discovery with
KERNELCAD_CCX and KERNELCAD_FEA_PYTHON. If apt has no calculix-ccx
package, a container works equally well — mount the job directory and run
ccx inside it, then point KERNELCAD_CCX at a wrapper script that does so:
#!/bin/sh
exec docker run --rm -v "$PWD:/work" -w /work <ccx-image> ccx "$@"
A missing toolchain is never a pass. run_fea and the gate both fail with
fea.solver.unavailable.
Authoring the study
shape.feaStudy(spec) registers a declaration bound to that shape. It returns
a handle, not a Shape — it is not part of the geometry chain.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago Changed · +10 lines 7a5b42895273
- 9d ago Changed · +1 lines 1f19f68996bf
- 1mo ago Changed · +45 lines · +3 tokens per session e6ec7ac11097
- 1mo ago Changed · -24 lines f4b57b61a1fe
- 1mo ago Changed · +128 lines 521dd8957af6
- 1mo ago Changed · +1 lines 3d05bcc817b2
- 1mo ago Changed · +13 lines 149b7eb51d8e
- 2mo ago First seen · 158 lines · 139 tokens per session scan B 4715c4372aca
kernelcad-fea is a skill published in the GitHub repository w1ne/kernelCAD-web (36 stars, last pushed today), licensed MIT. It adds 142 tokens to every session and 5,135 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.
kernelcad-fea compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kernelcad-feaw1ne/kernelCAD-web | Skill | 36 | today | MIT | B | 142 | Claude Code, Codex |
| feaearthtojake/text-to-cad | Skill | 28k | today | MIT | A | 109 | Claude Code, Codex |
| fluidcad-from-drawingFluid-CAD/FluidCAD | Skill | 799 | today | MIT | A | 114 | Claude Code, Codex |
| qmclaw-workbenchxi-zhao/OpenQuantum | Skill | 75 | 2d ago | MIT | A | 124 | Codex |
| cadquery-modelingarmpro24-blip/cad-cae-copilot | Skill | 101 | 25d ago | MIT | A | 0 | Claude Code, Codex |
| fieldqkit-hardwarexi-zhao/OpenQuantum | Skill | 75 | 2d ago | MIT | A | 94 | Codex |
| laboneq-controlxi-zhao/OpenQuantum | Skill | 75 | 2d ago | MIT | A | 50 | Claude Code, Codex |