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-repairgit 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-repair)<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-repair"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-repair/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-repair"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-repair.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.00058 | $0.02026 |
| Opus 5.5 | $0.00023 | $0.00810 |
| Sonnet 5.5 | $0.00012 | $0.00405 |
| Haiku 4.5 | $0.00006 | $0.00203 |
Grade A, and why
kernelcad-repair 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 18d 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 — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kernelCAD — trace-guided repair
evaluate_script tells you a feature broke. why_did_this_fail now also tells
you which lines you may edit and what edits are on the table, and
repair_script applies them and re-checks. Use this loop instead of re-reading
the whole script and hand-authoring a guess — the guess is what regresses
unrelated geometry.
The loop
- Evaluate.
evaluate_script({ file })→diagnostics+featureHealth. A non-emptyfeatureHealthmatters even whenok: true: it names features that silently degraded to a passthrough. - Explain.
why_did_this_fail({ file, feature_id })→ the upstreamchain, the fulltrace, arepairRegion, and orderedcandidates. - Preview.
repair_script({ file, diagnostic: <targetDiagnosticId>, strategy: 'dry-run' })→ every candidate patch as a diff, nothing evaluated, nothing applied. Read the diffs. If none is the fix you want, edit the region yourself. - Apply.
repair_script({ file, diagnostic: <id>, strategy: 'try-all' })→ applies candidates in order, re-evaluates after each, and keeps the first that clears the diagnostic without new errors. - Persist and report. Write
new_codeback to the file, then state the change: the diagnostic, the candidate that cleared it, and the diff. Do not report "repaired" without naming what changed.
Repeat from step 1 while errors remain. Each pass targets ONE diagnostic.
Worked example: examples/repair/ has deliberately broken models (an
oversized fillet, a hole anchored off its plate, a cutter placed away from its
body, a revolve that crosses its axis, a tangent circle too small to sit
outside two circles, a 90° draft, a shell thicker than the solid, an emboss parked
over a hole) and a walkthrough that runs this exact loop on them:
npx tsx examples/repair/run-repair-example.ts. Its README includes the
captured output. lookup_cookbook({ query: 'repair failing fillet' }) returns
the repaired fillet pattern.
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.
- 18d ago Changed · +1 lines 46bf8d786b17
- 1mo ago First seen · 145 lines · 58 tokens per session scan A a0bfd1b4d152
kernelcad-repair is a skill published in the GitHub repository w1ne/kernelCAD-web (31 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 2,026 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-09-15.
Other skills, from other repositories
report-issue-local
File a bug or feature request against this MCP server's own repo. Use for server-specific issues — tool logic, service integrations, config problems, or domain bugs that aren't caused by the framework.
opik-explain
Root-cause a specific Opik trace, or a pattern across traces, and return a grounded explanation. Uses the hosted Opik MCP when it is connected, and falls back to SDK scripting otherwise. Returns the root cause, the evidence spans as clickable Opik UI links, and one suggested next step. Use for "why did this trace…
isuzu-unity-cli
Drive the open Unity Editor from the shell with the isuzu-unity-cli command: console errors, compiling and tests, scenes, GameObjects and components, prefabs, play mode, uGUI clicks, and C# run inside the Editor. SKILL.md gives a command for each common task, so no tool list is needed.
opengis-skills
Use when AI coding assistant needs GIS/CAD/C#/AI/IoT/3D domain expertise. Index of 96 skills across 8 categories: gis (32), cad (21), csharp (9), ai (14), iot (2), 3d (6), demos (4), others (8). Tag-based search and on-demand loading for GDAL, GeoServer, MapServer, Leaflet, PROJ, PostGIS, JTS, CesiumJS, FreeCAD…
cad-skills
Use when doing parametric 3D modeling, 2D drafting, geometric kernel development, BIM/IFC processing, PCB design, or AutoCAD .NET development. Index of 21 skills: FreeCAD, OpenSCAD, OCCT, CadQuery, Blender, KiCad, SolveSpace, QCAD, xBIM, Clipper2, TongWen and more.
stage-refactor-checklist
Comprehensive checklist for refactoring a schemacompiler stage folder. Use EVERY TIME you refactor a compiler stage (resolve, unify, codegen, etc.). Read this before writing any code.