kernelcad-repair SKILL.md skillA

kernelcad-repair from w1ne/kernelcad-web is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add w1ne/kernelcad-web/kernelcad-repair@git:20260929.a7bac44

Pins git:20260929.a7bac44 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
w1ne/kernelcad-web
Path
src/agent/skills/kernelcad-repair/SKILL.md
Versions recorded
4
Latest version
git:20260929.a7bac44, committed Sep 29, 2026
First version recorded
Sep 14, 2026
Size
8,065 bytes
Repository stars
33
License
MIT

Turn a failed evaluation into a bounded, applied fix — why_did_this_fail for the repair region and candidates, then repair_script to apply and verify. Load when evaluate_script reports an error, a gate fails, or a feature shows up degraded in featureHealth.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 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

1. **Evaluate.** `evaluate_script({ file })` → `diagnostics` + `featureHealth`.
   A non-empty `featureHealth` matters even when `ok: true`: it names features
   that silently degraded to a passthrough.
2. **Explain.** `why_did_this_fail({ file, feature_id })` → the upstream
   `chain`, the full `trace`, a `repairRegion`, and ordered `candidates`.
3. **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.
4. **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.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add w1ne/kernelcad-web/kernelcad-repair@sha256:46bf8d786b1797fc

The line at the top of this page pins the label git:20260929.a7bac44, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_t6fabguy4yoymues.svg)](https://markdownregistry.com/a/art_t6fabguy4yoymues)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Sep 14, 2026 and Sep 29, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20260929.a7bac44 latest2026-09-29 a7bac44 8,065 BA view · diff
git:20260915.c72f24f2026-09-15 c72f24f 7,904 BA view · diff
git:20260914.07c92922026-09-14 07c9292 7,288 BA view · diff
git:20260914.5dbd41c2026-09-14 5dbd41c 6,862 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8065 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

w1ne/kernelcad-web · 33 stars · license MIT · pushed 2026-10-21 · branch develop

API

GET https://markdownregistry.com/api/v1/artifacts/art_t6fabguy4yoymues
GET https://markdownregistry.com/api/v1/resolve?ref=w1ne/kernelcad-web/kernelcad-repair
GET https://markdownregistry.com/api/v1/blob/46bf8d786b1797fcf786d47085f8d6b0d15b455ffbe6e9f9a8a3de759858e2fb

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from w1ne/kernelcad-web

AGENTS.md AGENTS.md file
w1ne/kernelcad-web · AGENTS.md
git:20261011.d7f278d · audit A · 33 stars
CLAUDE.md CLAUDE.md file
w1ne/kernelcad-web · CLAUDE.md
git:20261016.619f84f · audit A · 33 stars
kernelcad-cookbooks SKILL.md skill
w1ne/kernelcad-web · plugins/kernelcad/skills/kernelcad-cookbooks/SKILL.md · Find and run kernelCAD cookbook recipes (machined housing, NEMA motor plate, robot arm, planetary gearbox, T-slot…
git:20261015.539a4d5 · audit A · 33 stars
kernelcad-design-loop SKILL.md skill
w1ne/kernelcad-web · plugins/kernelcad/skills/kernelcad-design-loop/SKILL.md · Build or revise a CAD model with the hosted kernelCAD MCP — write .kcad.ts source, evaluate, review with design_loop…
git:20261013.a656260 · audit A · 33 stars
kernelcad-export SKILL.md skill
w1ne/kernelcad-web · plugins/kernelcad/skills/kernelcad-export/SKILL.md · Export a kernelCAD model to STEP, STL, 3MF, GLB, OBJ, USD, DXF or G-code through the hosted MCP, and check it before…
git:20261015.5aa65b3 · audit A · 33 stars
kernelcad-studio-paint SKILL.md skill
w1ne/kernelcad-web · plugins/kernelcad/skills/kernelcad-studio-paint/SKILL.md · Show a kernelCAD model in Studio and act on the user's painted review marks. Use when the user wants to see the model…
git:20261013.a656260 · audit A · 33 stars
llms.txt@site llms.txt file
w1ne/kernelcad-web · site/llms.txt
git:20261019.24377b9 · audit A · 33 stars
kernelcad-assemblies SKILL.md skill
w1ne/kernelcad-web · src/agent/skills/kernelcad-assemblies/SKILL.md · Multi-part assemblies — assembly(), parts, connectors, 7 mate types, fixed and revolute joints…
git:20261019.29421fa · audit A · 33 stars
kernelcad-authoring SKILL.md skill
w1ne/kernelcad-web · src/agent/skills/kernelcad-authoring/SKILL.md · kernelCAD model authoring API — primitives, transforms, booleans, sketches, path-builder, sketch-text…
git:20261019.055d317 · audit A · 33 stars
kernelcad-drawings SKILL.md skill
w1ne/kernelcad-web · src/agent/skills/kernelcad-drawings/SKILL.md · Export 2D engineering-drawing sheets (SVG, or a printable PDF on a standard sheet) from any model or assembly —…
git:20261014.54c2106 · audit A · 33 stars
kernelcad-fea SKILL.md skill
w1ne/kernelcad-web · src/agent/skills/kernelcad-fea/SKILL.md · Answer "will this part hold this load?" with solver evidence — declare a linear-static structural study with…
git:20261010.308dd5d · audit A · 33 stars
kernelcad-features SKILL.md skill
w1ne/kernelcad-web · src/agent/skills/kernelcad-features/SKILL.md · Edge and face features — fillet, chamfer, shell, face refs through operations, holes, cutouts. Use when adding rounded…
git:20261019.4adb761 · audit A · 33 stars

Every file in w1ne/kernelcad-web

Browse by kind, by grade A, or by owner.