kernelcad-assemblies

kernelcad-assemblies is a skill for Claude Code, Codex from w1ne/kernelCAD-web. It costs 50 tokens per session (17,383 once invoked), scanned A, original, MIT.

A 3D assembly modelling method for named mechanical parts, connector frames, and joints such as fixed or rotating connections. It can represent parts separately, combine them, or place them in specified poses.

In plain words
What is it for?
Use it for mechanisms with two or more parts, joint metadata, per-part rendering or export, assembly inspection, and checks for disconnected parts or interference.
Why use it?
It preserves the identity and relationships between parts, which a single fused solid cannot show clearly.

Skill for Claude CodeCodex

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

Good fit Use it for mechanisms with two or more parts, joint metadata, per-part rendering or export, assembly inspection, and checks for disconnected parts or interference.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/w1ne/kernelcad-web/kernelcad-assemblies"><img src="https://agentmods.dev/badge/skills/w1ne/kernelcad-web/kernelcad-assemblies.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 17,383 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.00050 $0.17383
Opus 5.5 $0.00020 $0.06953
Sonnet 5.5 $0.00010 $0.03477
Haiku 4.5 $0.00005 $0.01738

Measured today against content hash 991edc5f2b5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kernelcad-assemblies 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 today.

The scan reads SKILL.md. This mod also ships 2 executable files (cookbook/snippets/Q-S4-ownership-and-part-queries.kcad.ts, cookbook/snippets/Q-S5-connector-queries.kcad.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-assemblies/SKILL.md · 874 lines

How it starts

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

kernelCAD — assemblies

Use assembly() when the model needs named mechanical parts, connector frames, and joint metadata that a human or agent can inspect later. Call .model() after adding parts to return a Scene with per-part bodies; iterate .parts for per-part rendering / export, call .toCompound() to group bodies without booleaning (keeps color, name, and identity; default for STEP), or .toUnion() for one fused solid (lossy on color/name — antipattern except when downstream truly needs a single Shape). Connector and joint records remain metadata for now; .model() does not solve motion (use .solvedModel(poses) for that). Use MCP inspect({ of: 'assemblies', file? code? }) to inspect the captured assembly intent without recomputing topology.

Assembly validity

kernelcad validate <file.kcad.ts> runs the assembly validator over the script's Scene. Three checks today:

  • assembly.part.floating / mechanism.orphan-part — disconnected body/component (no mate/joint into the graph). Fix: connectors + mates — shafts/hinges/gears use type: 'axis' + arm.mate(..., 'revolute'); rigid mounts use type: 'frame' + mate(..., 'fastened'); or arm.fixed/.revolute/.prismatic/.ball. Connector types are only frame|axis|planar|ball. Only a mechanism (any mate, joint, transmission or .solvedModel()) must be fully linked: a plain multi-part assembly with no mates (enclosure base + lid, print layout) is valid as-is. Don't invent mates for a deliberately free part next to a mechanism — pass skipMechanismCheck: true to evaluate_script.
  • assembly.part.orphan — a part is in a sub-assembly disconnected from the main mechanism (same connector/mate fix as floating).
  • assembly.mate.connector-not-found / assembly.pose-envelope.connector-unresolved — mate ref did not resolve. Declare partRef.connector(...) on each part before arm.mate(...), use 'partName.connectorName' refs, and prefer numeric { kind: 'vec3', value: [x,y,z] } origins (topology origins often stay unresolved).
  • assembly.interference.overlap / mechanism.interpenetration after an edit — often stale duplicate/orphaned overlapping bodies from an in-place workaround. Keep only the intended connected mechanism graph; delete leftover copies before tweaking geometry.
  • assembly.interference.overlap — two parts share volume (promoted from kernelcad interference).
  • assembly.structure.unstructured-bodies (info) — a multi-body model returns loose top-level bodies with no assembly().part(...) structure, so the parts carry no identity for inspect --focus, inspect({ of: 'part-stats' }), or per-part review. The fix: wrap each distinct body in a named assembly().part(name, shape).

Read the full file on GitHub · 874 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed · +25 lines 991edc5f2b5d
  2. yesterday Changed · -2 lines 970e9ce6b703
  3. 5d ago Changed · +23 lines af7fb41d831d
  4. 10d ago Changed · +13 lines c9c720abcc22
  5. 13d ago Changed · +27 lines 613ac69f668c
  6. 16d ago Changed 08eae3ebb234
  7. 24d ago Changed 8b70a58560e0
  8. 26d ago Changed e12a4f9b75c8
  9. 1mo ago Changed · +2 lines 5cb123f881d1
  10. 1mo ago First seen · 786 lines · 50 tokens per session scan A 954be873597c

Subscribe to this mod's changes

kernelcad-assemblies is a skill published in the GitHub repository w1ne/kernelCAD-web (33 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 17,383 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

Other skills, from other repositories

opengis-skills

Use when AI coding assistant needs GIS/CAD/C#/AI/IoT/3D domain expertise. Index of 96 skills across 8 categories: gis (32), cad (21), csharp (9), ai (14), iot (2), 3d (6), demos (4), others (8). Tag-based search and on-demand loading for GDAL, GeoServer, MapServer, Leaflet, PROJ, PostGIS, JTS, CesiumJS, FreeCAD…

znlgis/opengis-skills · 146 tokens

cad-skills

Use when doing parametric 3D modeling, 2D drafting, geometric kernel development, BIM/IFC processing, PCB design, or AutoCAD .NET development. Index of 21 skills: FreeCAD, OpenSCAD, OCCT, CadQuery, Blender, KiCad, SolveSpace, QCAD, xBIM, Clipper2, TongWen and more.

znlgis/opengis-skills · 83 tokens

cadquery-modeling

Generate CAD models with CadQuery using an adaptive CAD Compiler workflow: plan-mode skill constraint handoff, focused iteration scopes, fail-first challenge review, compact review packets, real-product reference fidelity, visual/functional audits, source-first repair, and STEP/STL export. Use for CadQuery, CQ, 建模…

armpro24-blip/cad-cae-copilot · 0 tokens

solidworks-mcp

Build, edit, inspect and export native SolidWorks models through solidworks-mcp. Use for CAD modeling, raster-to-sketch work and SolidWorks COM/MCP diagnostics. Read before calling a SolidWorks MCP tool.

czuryk/SolidworksMCP · 49 tokens

urdf

URDF robot description authoring and validation. Use when creating, editing, inspecting, validating, or debugging .urdf files, robot links, joints, limits, inertials, visual/collision geometry, mesh references, frame conventions, or robot-description artifacts. Use the SRDF skill for MoveIt2 semantic groups and…

earthtojake/text-to-cad · 104 tokens

step-parts

Find, evaluate, and download common purchasable CAD parts from step.parts, including named off-the-shelf actuators, servos, motors, electronics boards, connectors, screws, bolts, nuts, washers, bearings, standoffs, and other catalog components. Use when Codex needs to search the hosted step.parts catalog before…

earthtojake/text-to-cad · 119 tokens