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.00053 | $0.02195 |
| Opus 5 | $0.00026 | $0.01097 |
| Sonnet 5 | $0.00011 | $0.00439 |
| Haiku 4.5 | $0.00005 | $0.00219 |
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 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 librecad How it starts
The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/LibreCAD/LibreCAD
Wiki: https://github.com/LibreCAD/LibreCAD/wiki
许可证: GPL-2.0
概述
LibreCAD 主要特性:
- 2D 矢量绘图:线/圆/弧/椭圆/多段线/样条/标注/文字/图案填充
- 图层、块、属性、坐标输入(绝对/相对/极坐标)
- 文件:DXF(R12/R2007 读写)、PDF/SVG/PNG(导出)、DWG(通过 ODA File Converter 或 LibreDWG 转换)
- 跨平台:Windows、macOS、Linux
- 国际化:含完善的中文界面
读写 DWG 原生支持有限,建议先用 LibreDWG 或 ODA 转 DXF。
安装
# Linux
sudo apt install librecad
# macOS
brew install librecad
# Windows / 其它:从官网下载
界面与基本操作
| 区域 | 用途 |
|---|---|
| 顶部菜单 | 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 |
相对极坐标(长度<角度) |
图层与块
- 图层:右侧面板 → New,可设置颜色/线型/线宽/打印开关
- 块:选中要素 → 右键 → Create Block,或 Drawing → Block → New
- 当前图层在状态栏切换;锁定/隐藏/冻结按钮
标注
- 线性、对齐、半径、直径、角度、引线
- 标注样式:
Options → Drawing Preferences → Dimensions - 全局标注比例 + 字高
图案填充与文字
- Hatch:选中边界 → 选图案(ANSI/ISO/Earth/Solid)+ 比例 + 角度
- 文字:单行 / 多行;支持 SHX 与 TTF 字体;中文使用
Noto Sans CJK SC等
文件交互
# DXF(自带)
File → Open / Save As / Export
# DWG → DXF(需要 ODA File Converter)
ODAFileConverter input.dwg . ACAD2010 DXF 1 0
# 或
dwg2dxf -y input.dwg # LibreDWG
# 导出 PDF
File → Export → Export as PDF
命令行(无界面)
# 启动并运行命令脚本(需自定义脚本插件支持)
librecad --no-startup-window
# 配合 dxf-tools / Python 脚本批处理
LibreCAD 自身脚本能力较弱;批量转换建议结合:
- LibreDWG 转换 DWG ↔ DXF
ezdxf(Python 库)做 DXF 解析与生成inkscape做 DXF → SVG/PDF
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 492090f7c8b5
- 8d ago Changed 13d77657dcca
- 12d ago First seen · 226 lines · 53 tokens per session scan B fafda40909c0
librecad is a skill published in the GitHub repository znlgis/opengis-skills (61 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 2,195 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.
Other skills, from other repositories
qt-cpp-review
Invoke when the user asks to review, check, audit, or look over Qt6 C++ code — or suggest before committing. Runs deterministic linting (60+ rules) then six parallel deep- analysis agents covering model contracts, ownership, threading, API correctness, error handling, and performance. Reports only high-confidence…
qt-cpp-docs
Generates standalone Markdown reference documentation for any Qt/C++ source files — Qt Widgets classes, Qt Quick backends, Qt/C++ modules, plain C++ utilities, structs, free-function headers, and entry points like main.cpp. Use this skill to document any .h or .cpp file: Qt classes, plain C++ code, utility helpers, or…
solidworks-automation
An automation skill for SolidWorks, a computer-aided design program used to create 3D parts, assemblies, and engineering drawings. It covers verified CAD operations and marks less-tested operations for human review.
autocad-automation
An automation skill for AutoCAD, a computer-aided design program commonly used for 2D technical drawings. It works with drawing formats such as DWG and DXF and can use Windows automation or other supported scripting routes.
solidworks-fillet-chamfer-cnc
A SolidWorks skill for creating CNC parts with multiple rounded edges and chamfers, which are angled or softened edges used in manufacturing. It includes parameter checks, edge selection, and evidence after rebuilding the model.
solidworks-threaded-holes
A SolidWorks skill for creating and checking ISO metric internal threaded holes, such as M6, in new parts. It covers supported blind and through holes, chamfers, thread direction, and delivery evidence.