kernelCAD-web: Instructions file for Claude Code

CLAUDE.md

kernelCAD-web CLAUDE.md is an instructions file for Claude Code from w1ne/kernelCAD-web. It costs 1,180 tokens per session, scanned A, original, MIT.

Project instructions for coding agents working on kernelCAD-web, a web application for creating and showing computer-aided design (CAD) models. They cover deployment and how to create, verify, and publish CAD files.

In plain words
What is it for?
Use them when changing kernelCAD-web, especially when deploying the Studio or marketing site, editing .kcad.ts CAD models, or generating and checking design outputs.
Why use it?
They reduce mistakes such as deploying the wrong part of the site or editing generated files instead of the original design source.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code; mentions AGENTS.md.

This is w1ne/kernelCAD-web's own configuration. It tells Claude Code how to work on kernelCAD-web itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kernelCAD-web configures →

Reuse

Borrowing it

Nothing to install: this file belongs to w1ne/kernelCAD-web. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/w1ne/kernelCAD-web/develop/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/w1ne/kernelCAD-web

Made for: Claude Code.

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-web CLAUDE.md

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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,180 This file is loaded in full into every session.
When invoked 1,180 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.01180 $0.01180
Opus 5.5 $0.00472 $0.00472
Sonnet 5.5 $0.00236 $0.00236
Haiku 4.5 $0.00118 $0.00118

Measured 20d ago against content hash c7df4188841a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 20d 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.

CLAUDE.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 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

Every feature and tool

Follow AGENTS.md: check current comparable websites and the existing kernelCAD website before implementation, update discovery/docs, and produce and visually inspect a short MP4 demonstration for every new or materially changed feature/tool. This expands the release-only demo rule below. Keep dated competitor comparisons private; retain source, verification and truthful demo provenance.

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; eligible pushes to develop also trigger the private marketing deploy for kernelcad.com, including docs/guide/** blog sources and docs/demos/** media. The listed top-level prose files and unrelated docs-only changes do not trigger it. Manual gh workflow run deploy-kernelcad-com.yml -R w1ne/kernelCAD-server -f web_ref=develop remains available as an override. Blog drafts still require editorial approval before publication. Verify the actual deploy and live URLs; upload success does not prove the separate cache purge passed. 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:

  1. Classify the job and write down the engineering intent before coding.
  2. Plan the .kcad.ts source, parameters, imports, explicit output artifacts, and verification commands.
  3. Edit source and provenance only.
  4. Generate named targets only; do not refresh whole artifact directories unless the task is explicitly a release/demo rebuild.
  5. Validate with deterministic commands before relying on screenshots.
  6. If a rendered artifact is produced, inspect it visually and report concrete visible evidence. Do not mark visually broken CAD done because tests passed.
  7. 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,normals when 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.

Read the full file on GitHub · 80 lines

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. 20d ago Changed · +61 tokens per session c7df4188841a
  2. 24d ago Changed · +6 lines · +76 tokens per session fd7f37e26dd7
  3. 25d ago Changed · +8 lines · +82 tokens per session ab9d60cc3328
  4. 1mo ago Changed · +12 lines · +181 tokens per session 28d1ab0e1441
  5. 2mo ago First seen · 54 lines · 780 tokens per session scan A 84e07ca0865d

Subscribe to this mod's changes

kernelCAD-web CLAUDE.md is an instructions file published in the GitHub repository w1ne/kernelCAD-web (35 stars, last pushed today), licensed MIT. It adds 1,180 tokens to every session, about $0.0047 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-web CLAUDE.md compared with instructions from other repositories

kernelCAD-web CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kernelCAD-web CLAUDE.mdw1ne/kernelCAD-webInstructions file35todayMITA1,180Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode