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-patternsgit 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-patterns)<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-patterns"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-patterns/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-patterns"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-patterns.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.00053 | $0.01370 |
| Opus 5.5 | $0.00021 | $0.00548 |
| Sonnet 5.5 | $0.00011 | $0.00274 |
| Haiku 4.5 | $0.00005 | $0.00137 |
Grade A, and why
kernelcad-patterns 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 3mo 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 — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kernelCAD — mechanical patterns
Shape.patternLinear / .patternCircular / .patternGrid produce a single FeatureRecord per call — one editable unit, one row in inspect({ of: 'features' }), one undo step. The pattern composes the source feature into N instances; instance 0 is the source position.
// Linear: 5 fins evenly spaced 10 mm along +X
const fin = box(2, 20, 8);
const heatsink = plate.add(fin).patternLinear({ count: 5, direction: [1, 0, 0], spacing: 10 });
// Circular: 6 spokes around the +Z axis
const spoke = rib.patternCircular({ count: 6, axis: [0, 0, 1] });
// Grid: 4x3 bolt-hole array on a plate
const mountBolt = plate.hole('top', { u: 0, v: 0, diameter: 5, depth: 'through', name: 'mountBolt' });
const drilled = mountBolt.patternGrid({
x: { count: 4, direction: [1, 0, 0], spacing: 25 },
y: { count: 3, direction: [0, 1, 0], spacing: 25 },
});
API
.patternLinear({ count, direction, spacing }: {
count: number; // integer >= 2
direction: [number, number, number]; // unit-ish; will be normalized
spacing: number; // non-zero finite mm
}): Shape
.patternCircular({ count, axis, angleDeg? }: {
count: number; // integer >= 2
axis: [number, number, number]; // rotation axis
angleDeg?: number; // total angle; defaults to 360
}): Shape
.patternGrid({ x, y }: {
x: { count: number; direction: [number, number, number]; spacing: number };
y: { count: number; direction: [number, number, number]; spacing: number };
}): Shape
Geometric semantics
Pattern is implemented as cumulative boolean union of transformed source copies. Additive features (boxes, ribs, fins, tabs, spokes) pattern cleanly. Patterning a subtractive feature (hole, cutout) only preserves the per-instance void when adjacent bodies are disjoint — overlapping patterned bodies cause the inner void to be filled by the outer body's solid (boolean-union semantics).
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.
- 3mo ago First seen · 90 lines · 53 tokens per session scan A de08d97cf411
kernelcad-patterns is a skill published in the GitHub repository w1ne/kernelCAD-web (36 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 1,370 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.
kernelcad-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kernelcad-patternsw1ne/kernelCAD-web | Skill | 36 | today | MIT | A | 53 | Claude Code, Codex |
| solidworks-mcpczuryk/SolidworksMCP | Skill | 13 | 14d ago | MIT | A | 58 | Claude Code, Codex |
| aieng-cad-authoringarmpro24-blip/cad-cae-copilot | Skill | 101 | 25d ago | MIT | A | 67 | Codex |
| aieng-closed-loop-copilotarmpro24-blip/cad-cae-copilot | Skill | 101 | 25d ago | MIT | A | 54 | Claude Code, Codex |
| simplecadapiNiJingzhe/SimpleCADAPI | Skill | 125 | 2mo ago | Apache-2.0 | A | 71 | Claude Code, Codex |
| rhinoalivirgo/Major-AI-Skills | Skill | 6 | today | MIT | A | 24 | Claude Code |
| mechanical-drafting-gbtbeiming183-cloud/AutoCAD-skills | Skill | 24 | 4mo ago | MIT | A | 145 | Codex |