kernelcad-mcp

kernelcad-mcp is a skill for Claude Code, Codex from w1ne/kernelCAD-web. It costs 51 tokens per session (25,219 once invoked), scanned A, original, MIT.

Instructions for using KernelCAD’s live-model MCP connection, which lets an agent inspect or edit an already evaluated computer-aided design model in memory. MCP is a way for software tools to expose actions to an agent.

In plain words
What is it for?
Use it to evaluate scripts, inspect the tool registry, review model parts, make live edits, and distinguish quick capture errors from later geometry or manufacturing checks.
Why use it?
It avoids rerunning the full command-line process for every small model change and provides a quick dry-run check before a full evaluation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to evaluate scripts, inspect the tool registry, review model parts, make live edits, and distinguish quick capture errors from later geometry or manufacturing checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/w1ne/kernelcad-web/kernelcad-mcp
Install

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.

Any agent
npx skills add w1ne/kernelCAD-web --skill kernelcad-mcp
Clone the repo
git clone --depth 1 https://github.com/w1ne/kernelCAD-web

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for kernelcad-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-mcp/github.svg)](https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-mcp)
Your own site
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-mcp"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-mcp/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.

agentmods 80×15 button for kernelcad-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-mcp"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 25,219 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 140
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.25219
Opus 5.5 $0.00020 $0.10088
Sonnet 5.5 $0.00010 $0.05044
Haiku 4.5 $0.00005 $0.02522

Measured yesterday against content hash 5c5090d971c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kernelcad-mcp 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (cookbook/snippets/Q-S6-inspect-first-build-after.kcad.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

src/agent/skills/kernelcad-mcp/SKILL.md · 548 lines

How it starts

The opening of the file, as written. The whole thing — 548 lines — stays where its author put it; the contents beside it link to each section on GitHub.

kernelCAD — MCP companion

When to load this skill

Load when kernelcad mcp is available and you need to inspect or edit a live model without re-running the full CLI on every change. The MCP server exposes dynamic introspection tools that operate on evaluated in-memory state.

Sandbox mode

If the server's initialize instructions start with kernelCAD SANDBOX MODE is ON (the server was started with kernelcad mcp --sandbox or KERNELCAD_SANDBOX=1), three rules apply. Every path you pass, and every path a script reads, must resolve inside the named workspace: use workspace-relative paths. All outbound network is refused. Network modes return cli.sandbox-network-denied: import_step url/upload, fetch_part/find_part partsBaseUrl or model.url, trace_from_image with an http(s) image, render_preview base_url, a URL environment, and the Studio selection tools. send_to_printer returns cli.sandbox-command-refused. Switch to the offline input (content_base64, a workspace file, a bundled HDRI preset) and do not retry the same call. Paths that escape return cli.sandbox-path-denied and name the argument.

MCP tool surface

When you have kernelcad mcp available, use the MCP tools for dynamic introspection rather than re-running the CLI. The MCP server exposes the current tool registry, including:

Point-cloud analysis

  • fit_plane({ points }) — fit an orthogonal least-squares plane to at least three non-collinear XYZ triples (up to 100,000). Returns the centroid, deterministic unit normal, signed orthogonal residual per point, RMS residual and maximum absolute residual. Pass points parsed by the caller from a scan or mesh; this tool estimates parameters only and does not parse files or create a surface body.
  • load_scan_reference / fit_model_to_scan — read a PLY or XYZ cloud as a non-solid reference and compare a parametric bounding box. Details are in the tool list below. The cloud is not drawn in Studio.

Evaluation and introspection

Read the full file on GitHub · 548 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. yesterday Changed 5c5090d971c0
  2. 2d ago Changed e0aa9a4fa2f2
  3. 3d ago Changed · +1 lines 79f9b3919f9e
  4. 9d ago Changed 349c22c3fa72
  5. 11d ago Changed 97f70516b381
  6. 14d ago Changed · +1 lines d46abd6da4d3
  7. 16d ago Changed 314eafdb9b7a
  8. 17d ago Changed · +4 lines 3b3a37455a4b
  9. 19d ago Changed · +1 lines 7adb245192b1
  10. 22d ago First seen · 541 lines · 51 tokens per session scan A 87fb46decebc

Subscribe to this mod's changes

kernelcad-mcp is a skill published in the GitHub repository w1ne/kernelCAD-web (37 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 25,219 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-08-30.

Related

kernelcad-mcp compared with skills from other repositories

kernelcad-mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kernelcad-mcpw1ne/kernelCAD-webSkill37yesterdayMITA51Claude Code, Codex
solidworks-mcpczuryk/SolidworksMCPSkill1319d agoMITA58Claude Code, Codex
aieng-cad-authoringarmpro24-blip/cad-cae-copilotSkill1063d agoMITA67Codex
aieng-closed-loop-copilotarmpro24-blip/cad-cae-copilotSkill1063d agoMITA54Claude Code, Codex
simplecadapiNiJingzhe/SimpleCADAPISkill1252mo agoApache-2.0A71Claude Code, Codex
rhinoalivirgo/Major-AI-SkillsSkill6yesterdayMITA24Claude Code
mechanical-drafting-gbtbeiming183-cloud/AutoCAD-skillsSkill254mo agoMITA145Codex