solvespace

solvespace is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 79 tokens per session (5,888 once invoked), scanned B, original, MIT.

A small parametric CAD program for drawing constrained 2D sketches and turning them into 3D models. Constraints such as distances, angles, parallel lines, and symmetry keep designs adjustable.

In plain words
What is it for?
Designing mechanical parts and simple assemblies, checking basic mechanisms, and exporting models or drawings as STL, STEP, IGES, DXF, SVG, PDF, or Gerber files.
Why use it?
It makes dimensions and relationships update together, so you can change a design without redrawing everything.

Skill for Claude CodeCodex

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

Good fit Designing mechanical parts and simple assemblies, checking basic mechanisms, and exporting models or drawings as STL, STEP, IGES, DXF, SVG, PDF, or Gerber files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-skills/solvespace
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 znlgis/opengis-skills --skill solvespace
Clone the repo
git clone --depth 1 https://github.com/znlgis/opengis-skills

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 solvespace

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/solvespace"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/solvespace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,888 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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: 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 39
    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.
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.00079 $0.05888
Opus 5.5 $0.00032 $0.02355
Sonnet 5.5 $0.00016 $0.01178
Haiku 4.5 $0.00008 $0.00589

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

Security

Grade B, and why

solvespace 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 13d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt install solvespace
cad/solvespace/SKILL.md · 337 lines

How it starts

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

项目地址: https://github.com/solvespace/solvespace

官网: https://solvespace.com/

文档: https://solvespace.com/help.pl

许可证: GPL-3.0+

最新稳定版: 3.2(2026-03-27 发布,见 GitHub Releases);CHANGELOG 顶部已有 3.3(release date TBD),主要是 NURBS 内核与求解器修复

参考手册: https://solvespace.com/ref.pl ・ 教程: https://solvespace.com/tutorial.pl ・ 网页版: https://solvespace.com/(同一版本线的 Emscripten 构建)

概述

SolveSpace 特性:

  • 基于约束求解:草图通过几何约束(距离、平行、相切、对称…)实时求解
  • 参数化 3D:草图 → 拉伸 / 旋转 / 扫掠 / 螺旋扫掠 / 阵列
  • 装配:导入零件文件(.slvs)+ 3D 约束装配
  • 机构分析:Analyze 菜单的干涉检查、轨迹跟踪(Trace Point)
  • 导出:二维矢量 SVG / PDF / EPS / PS / DXF / HPGL / G 代码(.ngc)/ STEP;网格 STL / OBJ / VRML / Three.js(.js/.html);精确三维曲面 STEP
  • 脚本求解:Cython 封装的求解器内核发布为 PyPI 包 slvs(3.2 同版号),可只做约束求解不建模
  • 占用极小:单个可执行文件、无外部几何库依赖,桌面与网页版都能秒开

安装

# Linux:官方发行包 / Flatpak / Snap
sudo apt install solvespace
flatpak install flathub com.solvespace.SolveSpace
sudo snap install solvespace

# macOS
brew install --cask solvespace

# Windows:从 GitHub Releases 下载官方安装包(64 位)

只用约束求解器(无 GUI,CI 友好):

pip install slvs          # 与 SolveSpace 同版号(当前 3.2),预编译 wheel

自源码构建要求 CMake ≥ 3.31(见仓库 CMakeLists.txt),同时产出 solvespace(GUI)与 solvespace-cli(无头):

cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build

工作流

新建文件 (.slvs)
  │
  ├── 1. 选定工作平面(Workplane: XY / YZ / XZ,或 Sketch in New Workplane)
  │       ├─ Sketch 菜单:Line Segment / Rectange / Circle / Arc / Cubic 等
  │       └─ Constraint 菜单:Distance / Angle / Parallel / Symmetric /
  │                           Equal Length / Coincident / Tangent …
  │
  ├── 2. 求解(自动):黑色 = 完全约束;红色 = 过约束;蓝色 = 欠约束
  │
  ├── 3. Group → New Group 生成实体
  │       ├─ Extrude(拉伸,可勾选 skew 让方向有 3 自由度)
  │       ├─ Lathe / Revolve(旋转体)
  │       └─ Sweep / Helical(扫掠 / 螺旋)
  │
  ├── 4. 在新生成的面上继续草图
  │
  └── 5. File → Export 2d View / 3d Model / Mesh(SVG・DXF・STEP・STL …)

Read the full file on GitHub · 337 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. 13d ago Changed · +108 lines · +27 tokens per session a36e983cae83
  2. 1mo ago Changed · +4 lines 77b72617029a
  3. 1mo ago Changed 947d525742b3
  4. 1mo ago Changed accbbff89e67
  5. 1mo ago First seen · 225 lines · 52 tokens per session scan B 3e86079e6683

Subscribe to this mod's changes

solvespace is a skill published in the GitHub repository znlgis/opengis-skills (75 stars, last pushed 7d ago), licensed MIT. It adds 79 tokens to every session and 5,888 once invoked, about $0.0003 per session on Opus 5.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.

Related

Other skills, from other repositories

solidworks-vibecad

A planning guide for turning natural-language mechanical design requests into structured, parameterized SolidWorks plans that can be reviewed before execution.

wzyn20051216/solidworks-automation-skill · 96 tokens

fluidcad-assembly

Building multi-part models in FluidCAD: assemblies, part files, inserting and mating parts, connectors, exposed geometry, part parameters, sub-assemblies, replicated instances, STEP parts, project units, and assembly export. Use this skill whenever the user wants an assembly, a mechanism, a hinge, a slider, several…

Fluid-CAD/FluidCAD · 154 tokens

step-parts

Find, evaluate, and download low-level common standard CAD parts from step.parts, such as screws, bolts, nuts, washers, bearings, standoffs, electronics parts, motors, connectors, and other off-the-shelf components. Use when Codex needs to search the hosted step.parts catalog, resolve fuzzy part names, standards…

earthtojake/step.parts · 107 tokens

fusion-360

Automate Autodesk Fusion parametric models with the Python API, inspect timeline features, and prepare CAM workflows for review.

alivirgo/Major-AI-Skills · 27 tokens

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…

pascalorg/editor · 80 tokens

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…

pascalorg/editor · 92 tokens