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-fieldsgit 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-fields)<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-fields"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-fields/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-fields"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-fields.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00071 | $0.02845 |
| Opus 5.5 | $0.00028 | $0.01138 |
| Sonnet 5.5 | $0.00014 | $0.00569 |
| Haiku 4.5 | $0.00007 | $0.00284 |
Grade A, and why
kernelcad-fields scanned grade A with 0 findings 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 1mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kernelCAD — signed-distance fields
Compose signed-distance fields (sdf.sphere/.box/.cylinder/.torus), blend them smoothly with sdf.smoothBlend, then call sdf.materialize(field, { resolution }) to obtain a standard Shape that flows through booleans / fillets / exports.
const a = sdf.box([60, 40, 6]); // base plate, axis-aligned, centred at origin
const b = sdf.cylinder(8, 30); // pin, axis +Z, centred at origin
const field = sdf.smoothBlend(a, b, 3); // 3 mm smooth fillet at the junction
return sdf.materialize(field, { resolution: 30 });
sdf primitive math (mm; centred at origin in local frame)
| Field | Returns |
|---|---|
sdf.sphere(r) |
SdfField (kind 'sphere') |
sdf.box([sx, sy, sz]) |
SdfField (kind 'box', axis-aligned, centred) |
sdf.cylinder(r, h) |
SdfField (kind 'cylinder', axis +Z, centred) |
sdf.torus(R, r) |
SdfField (kind 'torus', ring axis +Z, centred) |
sdf.smoothBlend(a, b, k) |
SdfField (kind 'smoothBlend', polynomial smin with blend radius k mm) |
sdf.materialize(field, { resolution? }) |
Shape (kind sdfMaterialize; default resolution 30, clamped to [10, 200]) |
sdf.bind(name, field) |
binds a field on the session so evaluate_sdf can sample it later (side effect; returns void) |
Composition rules (slice 1)
field.translate(dx, dy, dz)positions a field before materialize. Primitives live in their local frame;.translate(...)returns a newSdfFieldoffset by(dx, dy, dz)mm with theaabbshifted to match, so the marching-cubes sample region follows. Chained translates compose additively. Aftersdf.materializethe result is aShape, not anSdfField— use the Shape's own.translate(...).smoothBlendis union-only. Smooth-intersect / smooth-difference are deferred to slice 2+.materializeis synchronous. It runs marching-cubes on the host (Node + browser) and sews in the same call. No async surface.
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.
- 1mo ago Changed · +58 lines · +19 tokens per session 47eea69d50ae
- 1mo ago Changed 71d328789880
- 2mo ago Changed · +2 lines 787673b3695f
- 3mo ago First seen · 103 lines · 52 tokens per session scan A 661432f8e0fd
kernelcad-fields is a skill published in the GitHub repository w1ne/kernelCAD-web (37 stars, last pushed yesterday), licensed MIT. It adds 71 tokens to every session and 2,845 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
kernelcad-fields compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kernelcad-fieldsw1ne/kernelCAD-web | Skill | 37 | yesterday | MIT | A | 71 | Claude Code, Codex |
| solidworks-mcpczuryk/SolidworksMCP | Skill | 13 | 19d ago | MIT | A | 58 | Claude Code, Codex |
| aieng-cad-authoringarmpro24-blip/cad-cae-copilot | Skill | 106 | 3d ago | MIT | A | 67 | Codex |
| aieng-closed-loop-copilotarmpro24-blip/cad-cae-copilot | Skill | 106 | 3d ago | MIT | A | 54 | Claude Code, Codex |
| simplecadapiNiJingzhe/SimpleCADAPI | Skill | 125 | 2mo ago | Apache-2.0 | A | 71 | Claude Code, Codex |
| rhinoalivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 24 | Claude Code |
| mechanical-drafting-gbtbeiming183-cloud/AutoCAD-skills | Skill | 25 | 4mo ago | MIT | A | 145 | Codex |