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 occtgit 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/occt)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/occt"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/occt/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/occt"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/occt.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 43 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.00134 | $0.03666 |
| Opus 5.5 | $0.00054 | $0.01466 |
| Sonnet 5.5 | $0.00027 | $0.00733 |
| Haiku 4.5 | $0.00013 | $0.00367 |
Grade B, and why
occt 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 19d 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 libocct-foundation-dev libocct-modeling-data-dev \ How it starts
The opening of the file, as written. The whole thing — 285 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/Open-Cascade-SAS/OCCT
官网: https://dev.opencascade.org/
官方文档: https://dev.opencascade.org/doc/refman/html/
教程: https://dev.opencascade.org/doc/overview/html/
许可证: LGPL-2.1(带例外条款)
最新版本: 8.0.1(2026-07-30 发布,截至 2026-11,见 OCCT Releases)
概述
OCCT 提供:
- 几何与拓扑:
gp_*几何基元、Geom_*解析曲线/曲面、TopoDS_Shape(Vertex/Edge/Wire/Face/Shell/Solid/Compound) - 建模算法:拉伸/旋转/扫掠/放样/圆角/倒角/抽壳/布尔(BOPAlgo)
- STEP / IGES / STL / OBJ / glTF / VRML / BREP 数据交换
- 显示:基于 OpenGL(OCAF + AIS 应用框架)
- 网格:BRepMesh / Triangulation
- OCAF:CAD 数据应用框架(属性、版本、引用)
- 跨语言绑定:OCC.js(WebAssembly)、PythonOCC、occt-rs
安装
# Linux
sudo apt install libocct-foundation-dev libocct-modeling-data-dev \
libocct-modeling-algorithms-dev libocct-data-exchange-dev \
libocct-visualization-dev occt-misc
# macOS
brew install opencascade
# Conda(含 PythonOCC)
conda install -c conda-forge pythonocc-core
# 源码:CMake 构建(CMake ≥ 3.10;C++ 标准缺省 C++17,可用
# -DBUILD_CPP_STANDARD=C++20/C++23/C++26 调高;VTK 默认关闭,需 -DUSE_VTK=ON 开启)
验证安装(头文件与库是否就位):
ls /usr/include/opencascade/Standard_Version.hxx # Linux 发行版包
grep -m1 OCC_VERSION_STRING /usr/include/opencascade/Standard_Version.hxx
brew --prefix opencascade # macOS Homebrew 安装前缀
python -c "import OCC; print(OCC.__file__)" # pythonocc-core 可导入即装好;其内置 OCCT 版本随发行包,见 conda 包说明
pythonocc-core 的版本号与 OCCT 版本号不同步(PyPI 上最新为 0.16),升级前先确认该发行包内置的 OCCT 版本,再决定用哪套 API。
版本提示: OCCT 8.0 起有重大变更:
Standard_Failure改为继承std::exception;Raise()/Throw()/Instance()静态助手被移除(改用throw关键字);Standard_Mutex等退役,改用std::mutex/std::lock_guard。从 7.x 升级需留意这些破坏性变更。最新版本请参见 OCCT Releases。
核心 API:包与命名空间
| 包 | 内容 |
|---|---|
gp_* |
数学几何基元(Pnt、Vec、Dir、Ax2、Trsf) |
Geom_* |
参数曲线/曲面 |
TopoDS_* |
拓扑(Vertex/Edge/Wire/Face/Shell/Solid/Compound) |
BRep* |
拓扑 + 几何接口(BRepBuilderAPI_、BRepPrimAPI_、BRepAlgoAPI_*) |
BOPAlgo_* |
高级布尔运算 |
STEPControl_* / IGESControl_* |
数据交换 |
AIS_* / V3d_* |
显示 |
TDocStd_* / TDF_* |
OCAF 数据框架 |
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.
- 19d ago Changed f73f450daad2
- 21d ago Changed · -8 lines 8551b70c5413
- 1mo ago Changed · +15 lines · +62 tokens per session 8c2f20a3876d
- 1mo ago Changed · +3 lines 1f01a8db87e3
- 2mo ago Changed · +2 lines 88b126c31d34
- 2mo ago Changed e5a7f3e31070
- 2mo ago Changed 122afb1c5b41
- 3mo ago First seen · 273 lines · 72 tokens per session scan B 6864c9fc6222
occt is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 134 tokens to every session and 3,666 once invoked, about $0.0005 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.
occt compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| occtznlgis/opengis-skills | Skill | 87 | 20d ago | MIT | B | 134 | Claude Code, Codex |
| zoom-meeting-sdk-unrealanthropics/knowledge-work-plugins | Skill | 37k | today | Apache-2.0 | A | 41 | Claude Code |
| cudnn-installNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 49 | Claude Code, Codex |
| ccclNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 206 | Claude Code, Codex |
| doca-argpNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 277 | Claude Code |
| cpu-kernelshuggingface/kernels | Skill | 796 | today | Apache-2.0 | A | 89 | Claude Code |
| review-trtmc-prNVIDIA/TensorRT-Model-Connect | Skill | 305 | today | Apache-2.0 | A | 105 | Codex |