freecad

freecad is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 67 tokens per session (2,233 once invoked), scanned B, original, MIT.

A free, open-source desktop application for making editable 3D designs whose dimensions and features can be changed later. It includes tools for parts, buildings, technical drawings, computer-controlled machining, engineering simulation and robot paths.

In plain words
What is it for?
Use it for parametric part design, building information modeling (BIM), assemblies, technical drawings, machining instructions, finite element analysis and robot simulation. Python scripts can automate work through its programming interface.
Why use it?
It brings many engineering design tasks into one application and can update a model when its measurements or design features change. It also reads and writes widely used formats such as STEP, STL, DXF and IFC.

Skill for Claude CodeCodex

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

Good fit Use it for parametric part design, building information modeling (BIM), assemblies, technical drawings, machining instructions, finite element analysis and robot simulation. Python scripts can automate work through its programming interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-skills/freecad
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 freecad
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 freecad

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/freecad"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/freecad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,233 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 55
    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.00067 $0.02233
Opus 5 $0.00034 $0.01117
Sonnet 5 $0.00013 $0.00447
Haiku 4.5 $0.00007 $0.00223

Measured today against content hash dc3b08601ea8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

freecad 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 today.

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 freecad
cad/freecad/SKILL.md · 237 lines

How it starts

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

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

官网: https://www.freecad.org/

官方文档: https://wiki.freecad.org/Main_Page

Python API: https://wiki.freecad.org/FreeCAD_Scripting_Basics

许可证: LGPL-2.0+

概述

FreeCAD 核心模块:

模块 用途
Sketcher 二维参数化草图(约束求解)
Part 显式 BREP 建模(基于 OCCT)
PartDesign 参数化特征建模
Assembly(A2plus / Assembly3 / 自带) 装配
Draft 二维绘图
Arch / BIM 建筑 / IFC
TechDraw 工程图
CAM (Path) 数控编程
FEM 有限元仿真
Spreadsheet 电子表格驱动参数
Mesh / Points 网格与点云
Surface 曲面建模
Robot 机器人路径

支持文件:FCStd、STEP、IGES、BREP、STL、OBJ、PLY、DXF、DWG、SVG、IFC、PDF(导入)、AMF、3MF…


安装

# Linux
sudo apt install freecad
# 或 AppImage:<https://github.com/FreeCAD/FreeCAD/releases>

# macOS
brew install --cask freecad

# Windows:安装包 / Conda
conda install -c conda-forge freecad

FreeCAD 1.x 起合并了大量长期分支(如 PartDesign Toponaming 修复)。最新稳定版请参见 FreeCAD Releases


典型工作流

  1. 新建文档 → 选择「Part Design」工作台
  2. 新建 Body → 进入 Sketcher,绘制带约束的 2D 草图
  3. 特征建模:Pad(拉伸)、Pocket(开槽)、Revolution(旋转)、Loft、Sweep
  4. 修饰:圆角、倒角、抽壳、镜像、阵列
  5. 导出:File → Export → STEP/STL

Python 脚本(FreeCAD 控制台 / 宏)

import FreeCAD as App
import Part

doc = App.newDocument("demo")

# 创建立方体
box = doc.addObject("Part::Box", "MyBox")
box.Length = 100; box.Width = 60; box.Height = 30

# 创建圆柱
cyl = doc.addObject("Part::Cylinder", "MyCyl")
cyl.Radius = 10; cyl.Height = 50
cyl.Placement = App.Placement(App.Vector(50, 30, 0), App.Rotation(0,0,0,1))

# 布尔差集
cut = doc.addObject("Part::Cut", "Cut")
cut.Base = box; cut.Tool = cyl

doc.recompute()
Part.export([cut], "/tmp/out.step")

通过 OCCT/Part 直接构造几何

import Part
from FreeCAD import Vector

# 多边形 → 拉伸
poly = Part.makePolygon([Vector(0,0,0), Vector(50,0,0),
                         Vector(50,30,0), Vector(0,30,0), Vector(0,0,0)])
face = Part.Face(Part.Wire(poly.Edges))
solid = face.extrude(Vector(0, 0, 20))

# 圆角
solid = solid.makeFillet(2, solid.Edges)

Part.show(solid)

Read the full file on GitHub · 237 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. today Changed dc3b08601ea8
  2. 2d ago Changed 4f9f68f4b178
  3. 9d ago Changed c4a6b5398c36
  4. 12d ago First seen · 237 lines · 67 tokens per session scan B a52e274a06c7

Subscribe to this mod's changes

freecad is a skill published in the GitHub repository znlgis/opengis-skills (61 stars, last pushed yesterday), licensed MIT. It adds 67 tokens to every session and 2,233 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.

Related

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…

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

xeepy-python-twitter-guide

Guide to xeepy — a comprehensive Python library for X (Twitter) with 154 files and 44K+ lines of code. Features full API v2 coverage, spaces, communities, lists, polls, Grok integration, and async support. 57 stars. The most complete Python X library.

nirholas/three.ws · 67 tokens

assembly

Build a multi-part assembly from component definitions, create instances, ground a reference frame, apply constraints incrementally, inspect degrees of freedom (DOF) after meaningful steps, detect over-constraint and interference, then export.

halsyourpal422/Battenmark · 0 tokens

enclosure

Design a mechanically credible, FDM-friendly enclosure around measured component dimensions, with clearances, mounting features, connector openings, and verification before export.

halsyourpal422/Battenmark · 0 tokens

backend-diagnostics

Diagnose backend/FreeCAD worker failures using only public Battenmark status, capability, and structured-error surfaces. Never bypass the typed service layer.

halsyourpal422/Battenmark · 0 tokens