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-design-loopgit 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-design-loop)<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-design-loop"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-design-loop/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-design-loop"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-design-loop.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.00056 | $0.00637 |
| Opus 5.5 | $0.00022 | $0.00255 |
| Sonnet 5.5 | $0.00011 | $0.00127 |
| Haiku 4.5 | $0.00006 | $0.00064 |
Grade A, and why
kernelcad-design-loop 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 — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kernelCAD design loop (hosted MCP)
The kernelcad MCP server (https://mcp.kernelcad.com/mcp) runs the OpenCASCADE
kernel for you. Nothing needs to be installed locally. Discover the live tool
list from the server; tool availability depends on whether the user is signed in.
Loop
- Check for a canonical pattern first:
lookup_cookbook({ query })(see thekernelcad-cookbooksskill). Start from a hit when one exists. - Write
.kcad.tssource. Uselookup_api({})for the API surface instead of guessing. - Iterate fast with
evaluate_script({ code, dryRun: true }), then finish with a fullevaluate_script({ code }). A dry run is not evidence that the solid builds. - For housings, mechanisms, gearboxes, robot arms and other production builds,
call
design_loop({ goal, attempts: [{ code }] }). Apply itsnextActionPrompt/revisionAssistpatches and repeat untilok: trueorconvergence.escalatesays to stop and ask the user. - On failure,
why_did_this_fail({ code })thenrepair_script({ code }).lookup_diagnostics({})explains any diagnostic code. - For assemblies that must be built, run
verify({ check: 'assembly-path', sequence: true }). Declare helical fastener motion and press/snap fits on the fastened mate ({ fastener: { part?, axis, pitchMm?, tool? }, fit?: { kind, part? } }); the planner reportshelical,requires-forceandtool-blockedsteps instead of guessing. Addstability: true(withgravity/fixtureswhen needed) to flag steps whose part cannot be proven to rest on an already-stable part: readsequence.needsHoldandStep.heldBy. That is an approximate support projection, not physics. Tool reach is a swept envelope, not a hardware check. - Show the result once with
open_in_studio(seekernelcad-studio-paint), then export (seekernelcad-export).
Rules
- Report the numbers the tools return (volumes, bbox, diagnostics); do not describe geometry you have not evaluated.
- Keep the source as the deliverable: give the user the final
.kcad.ts. - If a tool says sign-in is required, tell the user to complete the OAuth
prompt their client shows for the
kernelcadserver.
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 · +10 lines eed1c59d117f
- 1mo ago First seen · 35 lines · 56 tokens per session scan A 1c991dc780c4
kernelcad-design-loop is a skill published in the GitHub repository w1ne/kernelCAD-web (36 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 637 once invoked, about $0.0002 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-10-14.
kernelcad-design-loop compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kernelcad-design-loopw1ne/kernelCAD-web | Skill | 36 | today | MIT | A | 56 | Claude Code |
| solidworks-mcpczuryk/SolidworksMCP | Skill | 13 | 13d ago | MIT | A | 58 | Claude Code, Codex |
| aieng-cad-authoringarmpro24-blip/cad-cae-copilot | Skill | 99 | 24d ago | MIT | A | 67 | Codex |
| aieng-closed-loop-copilotarmpro24-blip/cad-cae-copilot | Skill | 99 | 24d 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 | today | MIT | A | 24 | Claude Code |
| mechanical-drafting-gbtbeiming183-cloud/AutoCAD-skills | Skill | 24 | 4mo ago | MIT | A | 145 | Codex |