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 ifoxcadgit 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/ifoxcad)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/ifoxcad"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/ifoxcad/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/ifoxcad"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/ifoxcad.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.00044 | $0.04351 |
| Opus 5.5 | $0.00018 | $0.01740 |
| Sonnet 5.5 | $0.00009 | $0.00870 |
| Haiku 4.5 | $0.00004 | $0.00435 |
Grade A, and why
ifoxcad 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 — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://gitee.com/inspirefunction/ifoxcad
GitHub 镜像: https://github.com/inspirefunction/ifoxcad
NuGet:
IFox.CAD.ACAD(AutoCAD)|IFox.CAD.ZCAD(中望)|IFox.CAD.GCAD(浩辰)许可证: MIT
版本: 仓库默认分支为
v0.9(src/Directory.Build.props中<Version>0.9.9.1</Version>),NuGet 上IFox.CAD.ACAD/IFox.CAD.ZCAD已发到 0.9.12;旧包IFoxCAD.Cad停在 0.4.0,GitHub tag 只到v0.7.3-beta8——tag 不是 v0.9 线的发布信号,以默认分支与 NuGet 版本为准
概述
IFoxCAD 通过统一的事务封装和大量扩展方法,让 AutoCAD .NET API 的开发体验大幅提升:
- 统一事务:
using var tr = new DBTrans(); - 链式扩展:
tr.CurrentSpace.AddEntity(line, circle, ...)一次加入多个实体 - 多 CAD 兼容:
src/下按平台分工程(IFoxCAD.AutoCad/IFoxCAD.ZwCad/IFoxCAD.GstarCad),共享代码在CADShared,平台差异靠各自工程的GlobalUsings.cs与少量条件编译消化 - 常用工具:选择集、用户交互、图层、块与属性、文字、标注、坐标变换、几何
- 符号表泛型封装:
tr.LayerTable.AddOrChange("name", l => ...) - 菜单与命令:
[CommandMethod]声明式注册
安装
NuGet(推荐)
dotnet add package IFox.CAD.ACAD # AutoCAD
dotnet add package IFox.CAD.ZCAD # 中望CAD
dotnet add package IFox.CAD.GCAD # 浩辰CAD
旧包名 IFoxCAD.Cad 对应 0.7 及更早版本,0.9 线已按平台拆包。
CAD 依赖 DLL 推荐用官方 NuGet 包,带 ExcludeAssets="runtime"(等价于「Copy Local=false」,不把 CAD 程序集拷进输出目录):
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-windows'">
<PackageReference Include="AutoCAD.NET" Version="25.0.1" ExcludeAssets="runtime" />
</ItemGroup>
仓库自身的组合:AutoCAD 目标 net8.0-windows(AutoCAD.NET 25.0.1,条件编译符号 acad;a2025)与 net48(AutoCAD.NET 20.0.0,符号 acad;a2024);中望目标 net48;net472(符号 zcad;z2025)。
项目模板
参考官方仓库工程结构:https://gitee.com/inspirefunction/ifoxcad
项目骨架
using IFoxCAD.Cad;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Geometry;
using Autodesk.AutoCAD.Runtime;
[assembly: ExtensionApplication(typeof(MyApp))]
[assembly: CommandClass(typeof(MyCommands))]
public class MyApp : IExtensionApplication
{
public void Initialize() { /* 加载时执行 */ }
public void Terminate() { /* 卸载时执行 */ }
}
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 · +41 lines c41066f7637e
- 1mo ago Changed e1e7f18f397a
- 1mo ago Changed e1c25ca813f3
- 1mo ago Changed bddcb33f5d19
- 1mo ago First seen · 306 lines · 44 tokens per session scan A f58a504b9ab7
ifoxcad is a skill published in the GitHub repository znlgis/opengis-skills (75 stars, last pushed 7d ago), licensed MIT. It adds 44 tokens to every session and 4,351 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
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.
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.