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 freecadgit 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/freecad)<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.
<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>- 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 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.
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.00092 | $0.03263 |
| Opus 5.5 | $0.00037 | $0.01305 |
| Sonnet 5.5 | $0.00018 | $0.00653 |
| Haiku 4.5 | $0.00009 | $0.00326 |
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 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://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)
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.
- today Changed · -9 lines 35ec7df51297
- 13d ago Changed · +43 lines · +25 tokens per session 49d5f6348b13
- 26d ago Changed · +2 lines b6c5644212ef
- 1mo ago Changed 110f43844951
- 1mo ago Changed dc3b08601ea8
- 2mo ago Changed 4f9f68f4b178
- 2mo ago Changed c4a6b5398c36
- 2mo ago First seen · 237 lines · 67 tokens per session scan B a52e274a06c7
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.
freecad compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| freecadznlgis/opengis-skills | Skill | 81 | today | MIT | B | 92 | Claude Code, Codex |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 57k | yesterday | MIT | A | 44 | Claude Code |
| pennylaneK-Dense-AI/scientific-agent-skills | Skill | 57k | yesterday | MIT | A | 74 | Claude Code |
| holoscan-install-wheelNVIDIA/skills | Skill | 3.9k | today | Apache-2.0 | A | 34 | Claude Code, Codex |
| python-engineering-guidelinesanywhere-labs/Agents-Anywhere | Skill | 3.2k | yesterday | Apache-2.0 | A | 75 | Codex |
| future-self-liteTHU-MAIC/OpenMAIC | Skill | 43k | today | MIT | A | 20 | Claude Code, Codex |
| rocm-kernelshuggingface/kernels | Skill | 783 | today | Apache-2.0 | A | 93 | Claude Code |