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 skills add w1ne/kernelCAD-web --skill kernelcad-paramsgit 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/skills/w1ne/kernelcad-web/kernelcad-params)<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.
<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>- NVIDIA SkillSpector pass
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.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 |
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.
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 |
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.
- 12d ago Changed 1dbdd22b378e
- 27d ago Changed · +2 lines 14605c01dbc8
- 1mo ago Changed · +18 lines a471cf4da873
- 1mo ago Changed · +37 lines d01091aee282
- 1mo ago Changed · +21 lines 2ce43fe49e2b
- 1mo ago Changed · +3 lines cce906280856
- 2mo ago Changed · +15 lines dfe094ce9184
- 2mo ago Changed · +89 lines 96aac8ff391e
- 3mo ago First seen · 130 lines · 35 tokens per session scan A ed5461c01e6a
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.
kernelcad-params compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kernelcad-paramsw1ne/kernelCAD-web | Skill | 36 | today | MIT | A | 35 | Claude Code, Codex |
| cadquery-modelingarmpro24-blip/cad-cae-copilot | Skill | 101 | 25d ago | MIT | A | 0 | Claude Code, Codex |
| solidworks-mcpczuryk/SolidworksMCP | Skill | 13 | 14d ago | MIT | A | 58 | Claude Code, Codex |
| pcbearthtojake/text-to-cad | Skill | 28k | today | MIT | A | 103 | Claude Code, Codex |
| print3dearthtojake/text-to-cad | Skill | 28k | today | MIT | A | 97 | Claude Code, Codex |
| solidworks-fillet-chamfer-cncwzyn20051216/solidworks-automation-skill | Skill | 2.9k | 9d ago | MIT | A | 107 | Codex |
| solidworks-vibecadwzyn20051216/solidworks-automation-skill | Skill | 2.9k | 9d ago | MIT | A | 96 | Claude Code, Codex |