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 lightningcadgit 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/lightningcad)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/lightningcad"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/lightningcad/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/lightningcad"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/lightningcad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00052 | $0.02946 |
| Opus 5.5 | $0.00021 | $0.01178 |
| Sonnet 5.5 | $0.00010 | $0.00589 |
| Haiku 4.5 | $0.00005 | $0.00295 |
Grade A, and why
lightningcad scanned grade A with 0 findings 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 12d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.
产品定位: 商业软件(非开源),面向装配式建筑围护结构深化设计的 CAD 插件,支持 AutoCAD、中望 CAD(ZWCAD)、浩辰 CAD(GstarCAD)等平台
项目主页/官网: https://shandianweihu.com/
上游文档: https://znlgis.github.io/cad/LightningCAD/
许可证: 专有商业软件(30 天试用授权,含 SM2 国密加密认证)
运行时: .NET Framework 4.8 | CAD 平台: AutoCAD、中望 CAD、浩辰 CAD 等
概述
LightningCAD 是一套面向装配式建筑围护结构深化设计的 CAD 插件系统,核心解决板材(墙板、屋面板、楼承板)的自动排布、节点线生成、收边下料、图纸校验与 BOM 输出等工程痛点。
七大核心模块:
| 模块 | 功能定位 |
|---|---|
| 板材排布(Panel Layout) | 外墙/内墙/屋面/楼承板板材自动排布、合并、模数归并、碰撞检查、统计表导出 |
| 节点线(Node Lines) | 基于规则映射的自动节点线生成、手动编辑、节点库管理 |
| 收边(Edge Trim / ShouBian) | 块参照实体、均分/定尺分段、批量标注、BOM 导出 |
| 洞口与屋面(Openings & Roof) | 矩形洞口、多边形洞口、屋面坡度定义 |
| 图纸校验与输出(Validation & Output) | 8 项图纸检查 + 3 类出图检查 + 板文调整 |
| CAD 工具包(CAD Kit) | 命令导航、轴网、视口书签、属性面板、快捷键、备份 |
| 桌面客户端(Client) | 注册登录、插件管理、自动更新、系统托盘 |
环境准备
| 项 | 要求 |
|---|---|
| 操作系统 | 64 位 Windows |
| 运行时 | .NET Framework 4.8 |
| CAD 平台 | 支持 AutoCAD、中望 CAD(ZWCAD)、浩辰 CAD(GstarCAD)等平台(具体受支持版本以官网为准) |
| 授权 | 30 天试用,注册登录后由桌面客户端管理(SM2 国密加密认证,5 分钟心跳校验) |
| 安装包 | WixSharp 打包的 MSI,随桌面客户端分发(非开源,无公开仓库与 NuGet 包) |
安装与激活流程:安装并启动桌面客户端 → 邮箱注册 / 登录 → 客户端自动扫描本机 CAD 并注册插件 → 客户端通过 .scr 脚本拉起 CAD 加载插件。插件加载失败时优先检查 CAD 的 TRUSTEDPATHS 信任路径与 .NET Framework 4.8 是否就位。日志在 %AppData%\FsLt\Logs\(Serilog)。
技术架构
技术栈
| 层面 | 技术选型 |
|---|---|
| 运行时 | .NET Framework 4.8 |
| 语言 | C# |
| UI | WPF + MVVM(CommunityToolkit.Mvvm) |
| 依赖注入 | Microsoft.Extensions.DependencyInjection |
| 日志 | Serilog |
| 错误监控 | Sentry |
| HTTP | Flurl(强类型 DTO) |
| 加密 | 国密 SM2 |
| UI 主题 | Syncfusion Windows11 |
| 自动更新 | AutoUpdater.NET(阿里云 OSS) |
| 空间分析 | NetTopologySuite(STR-Tree 空间索引) |
| 表格控件 | ReoGrid |
| 安装包 | WixSharp(MSI) |
双平台构建
使用条件编译符号为 AutoCAD 和 ZWCAD 编译独立 DLL:
AC_2019/ → AutoCAD R23.0 (2019)
AC_2020/ → AutoCAD R23.1 (2020)
ZW_2022/ → ZWCAD 2022+
自定义 CAD 实体
| 实体类 | 用途 |
|---|---|
| AecPanel | 墙板/屋面板/楼承板 |
| AecDivisionLineMgd | 节点/分割线 |
| AecRectOpeningMgd | 矩形洞口 |
| AecPolyOpeningMgd | 多边形洞口 |
| AecLayoutBoundaryMgd | 排布边界 |
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.
- 12d ago Changed · +2 lines · +7 tokens per session 9bdd72ca357f
- 13d ago Changed · +14 lines 2001606d798f
- 1mo ago Changed 344f31c58b76
- 1mo ago Changed c7bc49b78e86
- 1mo ago First seen · 230 lines · 45 tokens per session scan A 87347e6d7cfc
lightningcad is a skill published in the GitHub repository znlgis/opengis-skills (75 stars, last pushed 7d ago), licensed MIT. It adds 52 tokens to every session and 2,946 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
furniture-fit
Assess whether furniture fits in a measured Pascal room or layout. Use this skill for sofa, table, bed, cabinet, appliance, staging, placement, collision, clearance, or rotated-footprint questions. Produce a tool-backed spatial report that distinguishes footprint fit from unsupported height, door-swing, assembly, and…
pascal-3d
Connect to Pascal and use its MCP tools to create, inspect, edit, validate, save, or hand off editable 3D building scenes. Use this skill whenever a user asks an agent to work in Pascal, make a room or building model, inspect a Pascal project, perform spatial edits, connect Pascal MCP, or return a verified Pascal…
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-vibecad
A planning guide for turning natural-language mechanical design requests into structured, parameterized SolidWorks plans that can be reviewed before execution.
solidworks-engineering-drawing
A SolidWorks skill for creating and reviewing engineering drawings, which are manufacturing documents showing views, measurements, holes, parts lists, and title-block information.