freecad

freecad is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 92 tokens per session (3,263 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 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,263 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.00092 $0.03263
Opus 5.5 $0.00037 $0.01305
Sonnet 5.5 $0.00018 $0.00653
Haiku 4.5 $0.00009 $0.00326

Measured today against content hash 35ec7df51297, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 · 273 lines

How it starts

The opening of the file, as written. The whole thing — 273 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.1-or-later

最新版本: 1.1.4(2026-09-28,1.1.x 系列最后一个维护版本;26.3 系列仍为 RC,截至 2026-11,见 GitHub Releases)

包管理器: freecad(conda-forge)/ 各发行版仓库 / 官网安装包与 AppImage

概述

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 修复)。当前稳定版 1.1.4(2026-09-28 发布,官方说明这是 1.1.x 系列最后一个维护版本;该版包含两处「打开恶意构造的 FCStd 文件」相关的文件处理安全修复,旧版均受影响,建议升级,参见 FreeCAD Releases)。


核心 API

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 · 273 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 · -9 lines 35ec7df51297
  2. 13d ago Changed · +43 lines · +25 tokens per session 49d5f6348b13
  3. 26d ago Changed · +2 lines b6c5644212ef
  4. 1mo ago Changed 110f43844951
  5. 1mo ago Changed dc3b08601ea8
  6. 2mo ago Changed 4f9f68f4b178
  7. 2mo ago Changed c4a6b5398c36
  8. 2mo 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 (81 stars, last pushed today), licensed MIT. It adds 92 tokens to every session and 3,263 once invoked, about $0.0004 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

freecad compared with skills from other repositories

freecad next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
freecadznlgis/opengis-skillsSkill81todayMITB92Claude Code, Codex
matlabK-Dense-AI/scientific-agent-skillsSkill57kyesterdayMITA44Claude Code
pennylaneK-Dense-AI/scientific-agent-skillsSkill57kyesterdayMITA74Claude Code
holoscan-install-wheelNVIDIA/skillsSkill3.9ktodayApache-2.0A34Claude Code, Codex
python-engineering-guidelinesanywhere-labs/Agents-AnywhereSkill3.2kyesterdayApache-2.0A75Codex
future-self-liteTHU-MAIC/OpenMAICSkill43ktodayMITA20Claude Code, Codex
rocm-kernelshuggingface/kernelsSkill783todayApache-2.0A93Claude Code