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 librecadgit 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/librecad)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/librecad"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/librecad/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/librecad"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/librecad.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 40 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.00131 | $0.03925 |
| Opus 5.5 | $0.00052 | $0.01570 |
| Sonnet 5.5 | $0.00026 | $0.00785 |
| Haiku 4.5 | $0.00013 | $0.00392 |
Grade B, and why
librecad 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 librecad How it starts
The opening of the file, as written. The whole thing — 275 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/LibreCAD/LibreCAD
官方文档: https://librecad.readthedocs.io/
Wiki: https://github.com/LibreCAD/LibreCAD/wiki
许可证: GPL-2.0
最新版本: v2.2.1.6(2026-10-17 发布,截至 2026-11,见 GitHub Releases;
2.2.1-latest为更新中的候选线)
概述
LibreCAD 主要特性:
- 2D 矢量绘图:线/圆/弧/椭圆/多段线/样条/标注/文字/图案填充
- 图层、块、属性、坐标输入(绝对/相对/极坐标)
- 文件:DXF 读写(命令行
-V可选 r12/r14/r2000/r2004/r2007(缺省)/r2010/r2013/r2018)、PDF/SVG/PNG 导出、DWG 经 ODA File Converter 或 LibreDWG 转换 - 跨平台:Windows、macOS、Linux
- 国际化:含完善的中文界面
- 底层文件读写:由 libdxfrw 提供——LibreCAD 的 C++ DXF/DWG 读写库,承担 DXF 解析与 DWG 转换
读写 DWG 原生支持有限,建议先用 LibreDWG 或 ODA 转 DXF。
安装
# macOS(Homebrew 只有 cask,没有 formula)
brew install --cask librecad
# Linux:发行版仓库
sudo apt install librecad
# Windows / 其它平台:官方下载页(含 AppImage / DMG / MSI)
# https://librecad.readthedocs.io/ 与 https://librecad.org/ 的下载入口
验证安装与命令行转换器:
librecad # 启动 GUI
librecad dxf2pdf -h # 打印该子命令的完整开关
子命令集合随构建而变:master 分支 README 记录的是
librecad <command> [options] <input files>一组转换器(dxf2pdf/dxf2png/dxf2svg/dxf2dwg与dwg2pdf/dwg2png/dwg2svg/dwg2dxf),其中 DWG 读写要求构建时启用DWGSUPPORT。发出转换命令前一律先用librecad <command> -h确认当前安装包是否带该子命令。
界面与基本操作
| 区域 | 用途 |
|---|---|
| 顶部菜单 | File / Edit / View / Plugins / Tools / Drawing / Dimension / Modify / Info |
| 左侧工具栏 | 绘图(CAD Toolbars)、捕捉、修改 |
| 命令行(按 ":" 唤出) | 类 AutoCAD 命令输入 |
| 图层管理 | 右侧 Layer List |
| 块管理 | 右侧 Block List |
常用命令缩写
| 命令 | 功能 |
|---|---|
li |
line 直线 |
ci |
circle 圆 |
re |
rectangle |
pl |
polyline 多段线 |
tr |
trim 修剪 |
mi |
mirror 镜像 |
co / cp |
copy |
mv |
move |
ro |
rotate |
sc |
scale |
os |
osnap 对象捕捉 |
di |
distance 测距 |
pu |
purge |
坐标输入
| 输入 | 含义 |
|---|---|
100,50 |
绝对笛卡尔 |
@100,50 |
相对笛卡尔(相对上一点) |
@100<30 |
相对极坐标(长度<角度) |
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 · +2 lines cdfc815c933d
- 21d ago Changed · -7 lines 5fb9a30d7c15
- 1mo ago Changed · +53 lines · +78 tokens per session 3a80453cb390
- 1mo ago Changed · +1 lines 66193a16b013
- 2mo ago Changed 7c90e799510b
- 2mo ago Changed 492090f7c8b5
- 2mo ago Changed 13d77657dcca
- 3mo ago First seen · 226 lines · 53 tokens per session scan B fafda40909c0
librecad is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 131 tokens to every session and 3,925 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.
librecad compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| librecadznlgis/opengis-skills | Skill | 87 | 20d ago | MIT | B | 131 | 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 |