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 agentmods add instructions/w1ne/kernelcad-web/claude-mdgit 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/instructions/w1ne/kernelcad-web/claude-md)<a href="https://agentmods.dev/instructions/w1ne/kernelcad-web/claude-md"><img src="https://agentmods.dev/badge/instructions/w1ne/kernelcad-web/claude-md.svg" alt="Measured on agentmods" 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 | $0.00780 | $0.00780 |
| Opus 5 | $0.00390 | $0.00390 |
| Sonnet 5 | $0.00156 | $0.00156 |
| Haiku 4.5 | $0.00078 | $0.00078 |
Grade A, and why
kernelCAD-web CLAUDE.md 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 4d 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 — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repo conventions for Claude Code agents working in kernelCAD-web
Deployment
Before deploying anything, read docs/DEPLOY.md. Short version: one trunk
(develop, no main); the Studio (src/) auto-deploys to app.kernelcad.com on
push to develop; the marketing site (site/, kernelcad.com) ships ONLY via a
manual gh workflow run deploy-kernelcad-com.yml -R w1ne/kernelCAD-server -f web_ref=develop; a v* tag is a full npm release, not a per-surface deploy.
Don't guess the deploy path — match the changed surface to the runbook.
CAD authoring discipline
For any task that creates or modifies CAD output, use the bundled
kernelcad skill first and load kernelcad-authoring before editing a
.kcad.ts model. The source file is the design source of truth; generated
PNG/MP4/STEP/STL/score artifacts are evidence or deliverables, not files to
hand-edit.
Adopt this loop:
- Classify the job and write down the engineering intent before coding.
- Plan the
.kcad.tssource, parameters, imports, explicit output artifacts, and verification commands. - Edit source and provenance only.
- Generate named targets only; do not refresh whole artifact directories unless the task is explicitly a release/demo rebuild.
- Validate with deterministic commands before relying on screenshots.
- If a rendered artifact is produced, inspect it visually and report concrete visible evidence. Do not mark visually broken CAD done because tests passed.
- When visual evidence matters, run
kernelcad render inspect <file> <outDir>to produce a deterministic inspection bundle with a manifest and canonical RGB views. Add--channels rgb,mask,depth,normalswhen machine-readable object masks, depth, or view-space normals are needed. Use--focus <names>or--hide <names>to isolate feature ids or assembly part names when clutter would obscure the check. Keep richer channels in the same manifest packet; do not replace the canonical RGB views.
Prefer lib.fromSTEP(...) for real purchased components such as servos,
bearings, motors, fasteners, sensors, PCBs, and connectors. Hand-modeled
placeholder boxes/cylinders are acceptable for blockouts, but final review must
either replace them with vendor/catalog geometry or label the limitation.
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.
- 4d ago First seen · 54 lines · 780 tokens per session scan A 84e07ca0865d
kernelCAD-web CLAUDE.md is an instructions file published in the GitHub repository w1ne/kernelCAD-web (17 stars, last pushed 6d ago), licensed MIT. It adds 780 tokens to every session, about $0.0039 per session on Opus 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.
Other instructions, from other repositories
cad-cae-copilot AGENTS.md
AGENTS.md instructions for armpro24-blip/cad-cae-copilot, covering aieng workbench — agent guide, stop — read this first, first three calls every session, workflow priority matrix and workspace layout.
cad-cae-copilot copilot-instructions.md
Copilot instructions for armpro24-blip/cad-cae-copilot, covering github copilot — aieng workspace and essentials.
cad-cae-copilot CLAUDE.md
Claude Code instructions for armpro24-blip/cad-cae-copilot, covering claude code — aieng workspace and tl;dr.
cadloop CLAUDE.md
Claude Code instructions for richardofortune/cadloop, covering cadloop — notes for agents and review loop (tyrekick).
claude-cad CLAUDE.md
Instructions for 0oKevino0/claude-cad, covering claude-cad — notes for claude code, the clone is the workspace (default), when to suggest a separate project (the alternative), helping someone who just arrived and conventions that differ from what you'd assume.
solidworks-mcp CLAUDE.md
Claude Code instructions for danielproxd2/solidworks-mcp, covering repository guidance, project scope, safety constraints, architecture and build discipline.