Agent skill · Audited from source
openscad-skill
skill · pthompson8594/openscad-skillMIT-0 licenceAudited 10 Oct 2026 · source 9a8e1af53333
Is it safe? With care — CAUTION, grade B (81/100). We read this skill's source at commit 9a8e1af53333 and observed filesystem, network and shell access and no hard-coded secrets. The audit raised 6 findings, 0 critical or high. What it does: Create 3D models with OpenSCAD. Use when the user wants to design a 3D-printable part, a parametric model, an enclosure/bracket/gadget, or asks to write or render .scad code, export STL, or see a preview of a 3D shape.…
Cite
Cite this page
ModelsAtlas. “openscad-skill (pthompson8594/openscad-skill)”. Retrieved 10 Oct 2026. https://modelsatlas.com/skills/pthompson8594/openscad-skill
Trust audit
Audit 0.4.1 · source read 10 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemDeclared5 observations
- NetworkDeclared1 observation
- ShellDeclared4 observations
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | WARN | 6 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (6)
MEDIUMCode injectioncode.dynamic_import · openscad/scripts/asm.py:37
return __import__(mod)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · openscad/scripts/asm.py:53
return __import__(mod)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · openscad/scripts/section.py:17
return __import__(mod)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · openscad/scripts/section.py:33
return __import__(mod)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · openscad/scripts/asm.py:144
h = hashlib.sha1(extra.encode())
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · openscad/scripts/asm.py:294
"hash": hashlib.sha1(tri.astype(np.float32).tobytes()).hexdigest()[:16], "open": op, "nonman": nm}
- Why
- No further detail recorded for this rule.
- Fix
- —
Audit 0.4.1 · source sha 9a8e1af53333 · 10 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherpthompson8594 GitHub userOwner of the repository this skill is read from
- Source folderpthompson8594/openscad-skillThe exact folder we audited
- LicenceMIT-0As the repository states it
- Commit pinned for this verdict9a8e1af53333A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Create 3D models with OpenSCAD. Use when the user wants to design a 3D-printable part, a parametric model, an enclosure/bracket/gadget, or asks to write or render .scad code, export STL, or see a preview of a 3D shape.…
---
name: openscad
description: Create 3D models with OpenSCAD. Use when the user wants to design a 3D-printable part, a parametric model, an enclosure/bracket/gadget, or asks to write or render .scad code, export STL, or see a preview of a 3D shape. Also for multi-part assemblies, moving mechanisms, print-ready files (3MF, multi-material) and laser-cut or sheet-metal flat parts (DXF cut files).
---
# OpenSCAD
Parametric `.scad` → STL + numbers. 1 unit = 1 mm.
**Run scripts through their interpreter** — `bash scripts/x.sh`, `python3 scripts/x.py` — never as `scripts/x.sh`: uploaded skills are mounted read-only without the executable bit. Outputs go next to the model, never into the skill folder.
**Setup:** run `bash scripts/setup.sh` once. It installs the fast engine (OpenSCAD 2025 + Manifold; the WebAssembly build via npm if no native one has it, no sudo) and native OpenSCAD for PNGs, refreshing the package index itself. Exit 4 `NEEDS_SUDO` = nothing can render: relay the printed command, wait, continue. "PNG previews unavailable" is not a blocker — work from numbers. `bash scripts/oscad.sh --which` shows the engine.
## Token economy — follow strictly
- **Numbers before pixels.** Verify with the bbox / volume / watertight line every export prints, `--diff old.stl`, and the checks below. Each viewed image ≈ 1k tokens; numbers are more reliable than vision for dimensions.
- **When numbers don't suffice** (internal fits, sculpted surfaces, "is anything there?"): next step is a **2D section** — `bash scripts/render.sh --cut y=12` or `python3 scripts/asm.py --section y=12` — which also prints extents, in-plane overlaps and gaps. A shaded view (`--view`, `--cut3d`) comes after that, only for topology numbers and sections can't confirm.
- Iterate with `--no-png`. Edit the `.scad` with targeted string replacements, never full-file rewrites.
- `.scad` style: one params block at top — readable names, brief comment per line. Then optionally one `// derived` block (computed heights/offsets, one comment each) or a `report` table (below). Below that: short names (`w,h,d,r,t,k`), zero comments.
- Human-facing output is interactive 3D, never PNGs: `--html` for the deliverable (cut plane, tap-to-measure, pull-apart, variants), `--mark3d` for mid-design confirmation. Present both WITHOUT viewing.
## Workflow
1. Clarify size / holes / tolerances; for vague asks pick sensible defaults and state them. Standard interfaces (ATX, PSU, fan, rack, connector patterns): look up a dimensioned source every time, never from memory or old notes; say which numbers are unverified and suggest a 1:1 paper print before cutting.
2. Write the `.scad` (open `reference/cheatsheet.md` only if unsure of a specific detail).
3. `bash scripts/render.sh model.scad --no-png` → STL + bbox/volume. Non-zero exit, `ERROR:`, `NOT WATERTIGHT` or `NON-MANIFOLD` = fix first.
4. Check numbers against intent; after edits `--diff previous.stl`; internals: `--cut PLANE`.
5. Final: `bash scripts/render.sh model.scad --html` (single part) or `python3 scripts/asm.py model.scad --html` (assembly).
## Gotchas
- `$fn`: 64 iterating, 128+ final curves, 32 small holes.
- `difference()`: first child is the body. Overshoot cuts (`h+0.2` at `z=-0.1`).
- **Never put a cutter face tangent to a curved surface or on the same radius as a profile** (e.g. a cube face at `y = r` against a cylinder of radius `r`) — it leaves an open or non-manifold mesh that other tools reject. Offset ≥ 0.5 mm. Solids touching only along an edge give `NON-MANIFOLD`: overlap them or separate them.
- FDM fits (on diameter): slide +0.2, press +0.1, free +0.4; M3 clearance 3.4 mm; M3 heat-set 4.0 × 5 deep. Walls ≥ 1.2; >45° overhang needs support; `minkowski()`/`hull()` are slow.
- `cube()` is corner-at-origin; pass `center=true` deliberately.
- **Fasteners:** for every screw/nut, state which side the driver comes from and at which assembly step; check it is still reachable after parts that go on later (springs, boards, glued inlays). No check catches this.
- **Freeform blends:** a CSG cutter leaves a crease where it meets the surface. For a feature that must fade in smoothly (thumb dish, grip), copy `lib/loft.scad` beside the model and displace the profile instead:
```scad
use <loft.scad>
prof = [for (t=[0:24]) [15 - 3*pow(t/24,2), 30*t/24]]; // [r,z] bottom→top
dish = function(a,i,p) let(w = smooth01(1 - abs(((a+180)%360)-180)/60), // ±60° fade
h = smooth01((p[1]-8)/14) * smooth01((26-p[1])/4))
[p[0] - 2.5*w*h, p[1]];
rev_loft(concat(prof, [[0,30]]), n=120, mod=dish); // r=0 end closes on axis
```
## BOSL2 (threads, fillets, gears — fetch on demand only)
`bash scripts/get_bosl2.sh` once, then:
```scad
include <BOSL2/std.scad>
include <BOSL2/threading.scad> // only when threading
cuboid([30,20,10], rounding=2); // filleted box, no minkowski
threaded_rod(d=10, l=20, pitch=1.5);
```
## Assemblies
Tables near the top of the `.scad`, the single source every tool reads. Values may be expressions, but OpenSCAD reads top to bottom, so put the tables **after** the parameters and derived values they use (a table above them sees `undef`). `parts`, `checks`, `travel`, `report`, `variants`, `variant`, `bends`, `k_factor` and `part` are reserved names: don't use them for your own parameters (asm.py stops with a name-clash message).
```scad
part = "all";
knob_h = 18; // parameters and derived values first ...
z0 = 12.4; // knob underside
// ... then the tables that use them
variant = "dome"; variants = ["dome","dish"]; // optional: each variant exported as its own set
parts = [ // id, label, note, pull-apart [x,y,z], "#colour", tags — only id is required
["base","Base","PETG",[0,0,-20],"print=auto"],
["knob","Knob","PETG",[0,0,25],"group=knob","print=x180"],
["inlay","Grip inlay","TPU",[0,0,35],"group=knob","plate=knobset","mat=TPU"],
["spring","Return sprExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 9a8e1af
npx skills add pthompson8594/openscad-skill --skill openscad
git clone https://github.com/pthompson8594/openscad-skill git -C openscad-skill checkout 9a8e1af53333
Commands as the repository documents them: shown, never run by us. Our verdict covers commit 9a8e1af53333 only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- !CAUTION B 81 / 100
first audit · source
9a8e1af53333
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/pthompson8594/openscad-skill/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
earthtojake/text-to-cad
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…
earthtojake/text-to-cad
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…
earthtojake/text-to-cad
MoveIt2 SRDF authoring, validation, and planning-semantics workflow. Use when creating, editing, inspecting, or validating `.srdf` files, MoveIt planning groups, virtual joints, passive joints, end effectors, group…
earthtojake/text-to-cad
Review DXF and STEP/STP uploads for SendCutSend.com orders using its ordering guide, catalog, and specs. Use only for SendCutSend.com preflight reports covering upload readiness, selected material/SKU/thickness/service…
earthtojake/text-to-cad
SDFormat/SDF model and world authoring, validation, and simulator handoff. Use for `.sdf` files, SDFormat XML, models, worlds, links, joints, poses, frames, inertials, visual/collision geometry, mesh URIs, sensors,…
earthtojake/text-to-cad
Slice 3D models into printer-ready G-code with OrcaSlicer, the open-source slicer with built-in profiles for most FDM printers (Prusa, Bambu Lab, Creality, Voron and more). Use when the user wants an `.stl`, `.3mf` or…
Add this badge to your README
[](https://modelsatlas.com/skills/pthompson8594/openscad-skill/)
<a href="https://modelsatlas.com/skills/pthompson8594/openscad-skill/"><img src="https://modelsatlas.com/skills/pthompson8594/openscad-skill/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about openscad-skill
What does the openscad-skill skill do?
Is openscad-skill safe to install?
What can openscad-skill access on my machine?
Which assistants does openscad-skill work with?
How current is this page?
Sources
- github.com/pthompson8594/openscad-skill — the audited source at commit 9a8e1af53333 and every finding aboveObserved · 10 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the openscad-skill skill do?
- Is openscad-skill safe to install?
- What can openscad-skill access on my machine?