kernelcad-params

kernelcad-params is a skill for Claude Code, Codex from w1ne/kernelCAD-web. It costs 35 tokens per session (4,587 once invoked), scanned A, original, MIT.

A system for defining named values that can be changed while a CAD model is being edited. Derived values are linked to their source parameters, so they update when those parameters change.

In plain words
What is it for?
Use it for adjustable sizes, limits, descriptions, and on/off choices in kernelCAD models, such as changing a width or enabling a cable port.
Why use it?
It avoids frozen calculations and makes related dimensions or options respond to live edits.

Skill for Claude CodeCodex

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

Good fit Use it for adjustable sizes, limits, descriptions, and on/off choices in kernelCAD models, such as changing a width or enabling a cable port.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/w1ne/kernelcad-web/kernelcad-params
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-params
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-params

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-params"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-params.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,587 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 pass 7 Sept 2026
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.00035 $0.04587
Opus 5.5 $0.00014 $0.01835
Sonnet 5.5 $0.00007 $0.00917
Haiku 4.5 $0.00003 $0.00459

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

Security

Grade A, and why

kernelcad-params 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 12d 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.

src/agent/skills/kernelcad-params/SKILL.md · 315 lines

How it starts

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

kernelCAD — editable parameters

Use param() for values the user may want to tweak after the first build; use literals for incidental dimensions. A param returns a ParamRef. Plain JS math works on it inside a script: w + 4, w / 2, Math.sin(angle * Math.PI / 180), loops and point lists all get the current value, and an edit to that param re-runs the script, rebuilding only the features whose inputs changed. The arithmetic methods .add, .subtract, .multiply, .divide, .negate, .min, .max, .abs, .clamp are still available and keep the dimension symbolic (it re-evaluates in place without re-running the script, the fastest slider path) — e.g. param('r', 5).divide(2), param('w', 80).subtract(param('margin', 5).multiply(2)), param('wall', 2).max(1.2).clamp(1.2, 8). Use whichever reads better; prefer plain math when it is clearer (trig, loops, point lists).

param() / params() API

// Single named param — returns a symbolic ParamRef<T>.
param<T extends number | boolean>(name: string, defaultValue: T, opts?: {
  min?: number;
  max?: number;
  description?: string;
}): ParamRef<T>;

// Batched shorthand — every key becomes a ParamRef of the same type as
// its default value. Accepts only number and boolean defaults.
params({ width: 60, addCablePort: true }): {
  width: ParamRef<number>;
  addCablePort: ParamRef<boolean>;
};

// Typed batch entries — put the default and param() metadata together.
params({
  width: { default: 60, min: 20, max: 120, unit: 'mm', label: 'Width' },
  finish: { default: 'matte', choices: ['matte', 'gloss'] },
});

ParamRef arithmetic

ParamRef is a branded symbolic node. Do not use JS operators; use the chain methods:

Method Returns Notes
.add(n) ParamRef<number> paramRef.add(5)
.subtract(n) ParamRef<number> paramRef.subtract(margin)
.multiply(n) ParamRef<number> paramRef.multiply(2)
.divide(n) ParamRef<number> paramRef.divide(2)
.negate() ParamRef<number> -paramRef symbolic
.min(n) / .max(n) ParamRef<number> smaller / larger of the two
.abs() ParamRef<number> absolute value
.clamp(lo, hi) ParamRef<number> clamp into [lo, hi]; both bounds may be ParamRefs

Read the full file on GitHub · 315 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. 12d ago Changed 1dbdd22b378e
  2. 27d ago Changed · +2 lines 14605c01dbc8
  3. 1mo ago Changed · +18 lines a471cf4da873
  4. 1mo ago Changed · +37 lines d01091aee282
  5. 1mo ago Changed · +21 lines 2ce43fe49e2b
  6. 1mo ago Changed · +3 lines cce906280856
  7. 2mo ago Changed · +15 lines dfe094ce9184
  8. 2mo ago Changed · +89 lines 96aac8ff391e
  9. 3mo ago First seen · 130 lines · 35 tokens per session scan A ed5461c01e6a

Subscribe to this mod's changes

kernelcad-params is a skill published in the GitHub repository w1ne/kernelCAD-web (36 stars, last pushed today), licensed MIT. It adds 35 tokens to every session and 4,587 once invoked, about $0.0001 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-params compared with skills from other repositories

kernelcad-params next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kernelcad-paramsw1ne/kernelCAD-webSkill36todayMITA35Claude Code, Codex
cadquery-modelingarmpro24-blip/cad-cae-copilotSkill10125d agoMITA0Claude Code, Codex
solidworks-mcpczuryk/SolidworksMCPSkill1314d agoMITA58Claude Code, Codex
pcbearthtojake/text-to-cadSkill28ktodayMITA103Claude Code, Codex
print3dearthtojake/text-to-cadSkill28ktodayMITA97Claude Code, Codex
solidworks-fillet-chamfer-cncwzyn20051216/solidworks-automation-skillSkill2.9k9d agoMITA107Codex
solidworks-vibecadwzyn20051216/solidworks-automation-skillSkill2.9k9d agoMITA96Claude Code, Codex