Individual skill
cad-khana
Diagnostics-first CAD wrapper around Build123d: assembly-level interference/clearance assertions plus optional per-part printability checks. Load BEFORE editing an `assembly.py` that uses the wrapper or interpreting its diagnostic JSON — SKILL.md has conventions the scripts rely on but don't restate, including which of three file kinds you are editing, and names the reference file to load for each task. TRIGGER: about to run `khana check`/`export`/`view`/`draw`/`run`, or editing a file that imports `cad_khana` or calls `Assembly()`/`check()`/`inspect()`.
skills/cad-khana/SKILL.md
Source commit 8bad0df731f19536a72eba281016f97f47da062d
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 19
- Repository last updated
- Oct 26, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- 3d-printing Repository topic
- build123d Repository topic
- cad Repository topic
- claude-code Repository topic
- claude-skill Repository topic
- parametric-cad Repository topic
- writing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 18,662 bytesSKILL.mdcore · 18,662 bytesreferences/assertions.mddoc · 31,964 bytesreferences/build123d_quickref.mddoc · 6,245 bytesreferences/cli.mddoc · 12,815 bytesreferences/composition.mddoc · 13,470 bytesreferences/diagnostics.mddoc · 12,188 bytesreferences/drawings.mddoc · 1,896 bytesreferences/examples/pin_hinge/README.mddoc · 2,730 bytesreferences/examples/pin_hinge/assembly.pyruns · 5,480 bytesreferences/examples/pin_hinge/printability.pyruns · 1,701 bytesreferences/install.mddoc · 783 bytesreferences/motion.mddoc · 10,882 bytesreferences/printability.mddoc · 22,648 bytesreferences/render.mddoc · 13,047 bytesreferences/standard_parts.mddoc · 3,872 bytesreferences/style.mddoc · 9,912 bytesreferences/viewer.mddoc · 7,591 bytesreferences/workflow.mddoc · 5,464 bytes
Read excerpt
# cad-khana
cad-khana splits geometric reasoning into two workflows:
- **Mechanism** — relational checks on an assembly (no interference,
clearance between parts). Expressed via `Assembly.assert_*(...)` and
evaluated by `khana check`. Writes `mechanism.json`.
- **Printability** — per-part, per-manufacturing-method checks (min
wall thickness, overhangs). Expressed via `inspect(part, method=...)`.
Writes `<name>-printability.json`.
**Declarations are imported by verbs; effects live at the CLI
boundary.** A module that declares parts, assemblies and claims calls
nothing effectful — no `check()`, no `inspect()`, no export. `khana