use-the-available-kernel

use-the-available-kernel is a skill for Claude Code, Codex from w1ne/kernelCAD-web. It costs 51 tokens per session (2,767 once invoked), scanned A, original, MIT.

A kernelCAD checklist for choosing the right 3D shape primitive when rebuilding an object from a reference photo.

In plain words
What is it for?
Use it when turning a product photo into geometry, especially for variable corner radii, symmetrical parts, and other recognizable shape details.
Why use it?
It prevents models from looking wrong because an easier but unsuitable primitive was used, such as one radius for corners that visibly differ.

Skill for Claude CodeCodex

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

Good fit Use it when turning a product photo into geometry, especially for variable corner radii, symmetrical parts, and other recognizable shape details.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/use-the-available-kernel"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/use-the-available-kernel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,767 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 176
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
  • medium MCP Rug Pull · line 195
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00051 $0.02767
Opus 5.5 $0.00020 $0.01107
Sonnet 5.5 $0.00010 $0.00553
Haiku 4.5 $0.00005 $0.00277

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

Security

Grade A, and why

use-the-available-kernel 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 11d 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-from-reference/use-the-available-kernel/SKILL.md · 258 lines

How it starts

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

use-the-available-kernel

The from-reference loop fails most often not because kernelCAD lacks a primitive, but because the author did not reach for one that exists. This skill is a checklist of hard rules: when condition X holds in the reference, USE primitive Y.

Rule 1 — Non-uniform corner radii → variable fillet

If the reference shows a product where different corners have visibly different radii (upper contour: 4 mm at the inner corner, 8 mm at the outer-top corner; bottle shoulders; controller grips), USE the variable-radius form:

// Top rim at z = 12; the inner corner sits at x < 20, the outer corner at x > 20.
shape.fillet([
  { edges: { atZ: 12, within: { xMin: 20 } }, radius: 8 },
  { edges: { atZ: 12, within: { xMax: 20 } }, radius: 4 },
]);

Each entry's edges is an EdgeQuery (atX/atY/atZ, within, parallel, convex, minAngle, …) or { face: <name or FaceQuery> } alone. Unknown keys are an error — there is no region: key; narrow by position with within or near.

Do NOT author with repeated single-radius .fillet(r) calls and live with a uniform-look body. The scorer detects the sharp vs. rounded corner curvature mismatch in the silhouette gate.

Rule 2 — Symmetric parts → mirror, author one side

If the reference is symmetric about a cardinal plane (most handheld products: YZ; most bottles: ZY axis; most consumer products: some cardinal plane), build the right half explicitly and call .mirror('YZ'):

const right = bodyHalf();
const full = right.mirror('YZ');

Do NOT author both halves manually with mirrored arcs. The cost is roughly 2× LoC and creates inevitable asymmetry bugs — the scorer will detect the SSIM break on the opposite side of the model.

Rule 3 — Cross-section varies along the body → surfaceFromCurves

If the body is visibly thicker at one end and thinner at another (molded frames, handle grips, bottle necks), USE surfaceFromCurves with 2–3 cross-section profiles and .thicken(t):

const body = surfaceFromCurves([
  outlineAtEnd,
  outlineAtMid,
  outlineAtEnd.mirror('YZ'),
]).thicken(15);

Read the full file on GitHub · 258 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. 11d ago Changed · +4 lines c1e99ea63642
  2. 1mo ago Changed · -11 lines 023241a01495
  3. 1mo ago Changed f245d3c9f136
  4. 1mo ago Changed · +7 lines 91921a991905
  5. 1mo ago Changed 0fe37b04f2cf
  6. 2mo ago Changed · +11 lines 043ec10ea0f4
  7. 3mo ago First seen · 247 lines · 51 tokens per session scan A db2110a0bbc0

Subscribe to this mod's changes

use-the-available-kernel is a skill published in the GitHub repository w1ne/kernelCAD-web (36 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 2,767 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.

Related

use-the-available-kernel compared with skills from other repositories

use-the-available-kernel next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
use-the-available-kernelw1ne/kernelCAD-webSkill36todayMITA51Claude 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