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 znlgis/opengis-skills --skill openscadgit clone --depth 1 https://github.com/znlgis/opengis-skillsWrote 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/znlgis/opengis-skills/openscad)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/openscad"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/openscad/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/znlgis/opengis-skills/openscad"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/openscad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
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 →
- medium Privilege Escalation · line 40 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
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.00055 | $0.02488 |
| Opus 5 | $0.00028 | $0.01244 |
| Sonnet 5 | $0.00011 | $0.00498 |
| Haiku 4.5 | $0.00006 | $0.00249 |
Grade B, and why
openscad scanned grade B with 1 finding 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 yesterday.
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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt install openscad How it starts
The opening of the file, as written. The whole thing — 279 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/openscad/openscad
官方文档: https://openscad.org/documentation.html
Cheatsheet: https://openscad.org/cheatsheet/
许可证: GPL-2.0+
概述
OpenSCAD 与传统 GUI CAD 的区别:
- 代码即模型:所有几何由 .scad 脚本生成
- CSG 内核:基于 CGAL(精确)或新版 Manifold(更快)
- 三大基础:原语 + 变换 + 布尔
- 强参数化:变量、模块、函数、循环、列表推导
- 导入导出:STL、OFF、DXF、SVG、AMF、3MF;可导入 STL 做处理
- 批处理:CLI
openscad -o out.stl model.scad
安装
# Linux
sudo apt install openscad
# macOS
brew install --cask openscad
# Windows: 安装包
# 开发版(更快的 Manifold 内核):<https://openscad.org/downloads.html#snapshots>
基础语法
// 变量
length = 50;
width = 30;
height = 10;
// 立方体
cube([length, width, height], center = false);
// 球
sphere(r = 5, $fn = 64); // $fn 控制圆滑度
// 圆柱
cylinder(h = 20, r1 = 5, r2 = 10, center = true, $fn = 32);
// 文字
text("Hello", size = 8, font = "DejaVu Sans:style=Bold");
变换
translate([10, 0, 0]) cube(5);
rotate([0, 0, 45]) cube(5);
scale([2, 1, 1]) cube(5);
mirror([1, 0, 0]) cube(5);
链式:
translate([20, 0, 0])
rotate([0, 90, 0])
cylinder(h = 10, r = 2);
布尔(CSG)
union() { cube(10); translate([8,0,0]) cube(10); }
difference() { cube(10); translate([5,5,-1]) cylinder(h=12, r=2); }
intersection() { cube(10); translate([5,5,5]) sphere(7); }
模块与函数
module hex(d = 10, h = 5) {
cylinder(h = h, r = d/2, $fn = 6);
}
// 阵列模块
module hex_grid(rows, cols, sp = 12) {
for (i = [0:rows-1])
for (j = [0:cols-1])
translate([i*sp, j*sp*sin(60), 0])
hex();
}
hex_grid(rows = 5, cols = 5);
// 函数(返回值)
function sq(x) = x * x;
echo(sq(5)); // → 25
循环与列表
// for 循环
for (i = [0 : 30 : 360])
rotate([0, 0, i]) translate([20, 0, 0]) cube(2);
// 列表推导
points = [for (i = [0 : 0.1 : 6.28]) [10*cos(i*180/PI), 10*sin(i*180/PI)]];
polygon(points);
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.
- 8d ago Changed 1365cde7d076
- 11d ago First seen · 279 lines · 55 tokens per session scan B 04d6accd8bbe
openscad is a skill published in the GitHub repository znlgis/opengis-skills (60 stars, last pushed 2d ago), licensed MIT. It adds 55 tokens to every session and 2,488 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
furniture-fit
Assess whether furniture fits in a measured Pascal room or layout. Use this skill for sofa, table, bed, cabinet, appliance, staging, placement, collision, clearance, or rotated-footprint questions. Produce a tool-backed spatial report that distinguishes footprint fit from unsupported height, door-swing, assembly, and…
pascal-3d
Connect to Pascal and use its MCP tools to create, inspect, edit, validate, save, or hand off editable 3D building scenes. Use this skill whenever a user asks an agent to work in Pascal, make a room or building model, inspect a Pascal project, perform spatial edits, connect Pascal MCP, or return a verified Pascal…
FluidCAD
Workflow and best practices for designing parts in FluidCAD through its MCP server. Use this skill whenever the user wants to model, design, or modify any part in FluidCAD, whenever they mention FluidCAD, a .fluid.js file, or ask for CAD/parametric modeling work that involves sketches, extrudes, cuts, fillets…
add-interfaces
Enrich an existing PartCAD part with connection interfaces and ports (mating metadata) so it can be mated to other parts automatically. Use for /pc:add-interfaces or when the user asks to add interfaces, ports, connectors, or mating information to a part, or to make parts snap/connect/assemble together.
gen-assembly
Generate a PartCAD assembly (an ASSY that composes parts with placement and/or mates) from a description, generating or reusing the component parts and validating the result with the PartCAD CLI. Use for /pc:gen-assembly or when the user asks to generate or create an assembly, mechanism, or multi-part product.
render
Render a PartCAD object or a CAD file to a 2D image - PNG, JPEG, SVG or DXF - from one or many viewing angles (front, back, left, right, top, bottom, iso, or an arbitrary direction), with pc render for an object a package declares or pc adhoc render for a file that belongs to no package. Use for /pc:render or when the…