by Haruhi764
Evidence-driven 2D CAD drafting and QA for editable DXF, AutoCAD DWG, and PDF
# Add to your Claude Code skills
git clone https://github.com/Haruhi764/OmniCAD-SkillGuides for using ai agents skills like OmniCAD-Skill.
Last scanned: 11/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-11-30T15:14:06.710Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}OmniCAD-Skill is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Haruhi764. Evidence-driven 2D CAD drafting and QA for editable DXF, AutoCAD DWG, and PDF. It has 298 GitHub stars.
Yes. OmniCAD-Skill passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/Haruhi764/OmniCAD-Skill" and add it to your Claude Code skills directory (see the Installation section above). OmniCAD-Skill ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
OmniCAD-Skill is primarily written in Python. It is open-source under Haruhi764 on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh OmniCAD-Skill against similar tools.
No comments yet. Be the first to share your thoughts!
Use for editable 2D CAD deliverables and supported verification workflows. Do not use for general 3D, BIM, CNC programming, automatic image vectorization or engineering certification. Confirm missing dimensions rather than inventing them. Choose the least expensive review mode that meets the required evidence.
Classify briefly from the supplied requirements; do not add a mandatory planning report, extra screenshots or repeated intake. Levels describe task scale, not tested entity limits.
Check critical dimensions, units, reference clarity, editable target and required output format. Ask only for missing details that prevent correct execution; never invent critical design parameters. Distinguish model/host limitations from in-scope skill defects. Do not promise unsupported compatibility, fixed runtime, token cost or success rates. Preserve all required hard gates and professional review; lower complexity is not permission to bypass evidence requirements.
omnicad intent when those roles are unclear. An ambiguous layout swap needs the identified features and the intended exchange.omnicad intake. Reuse the local hash cache. Confirm dimensions, view directions and extension-line anchors. Enter reviewed data in a manifest, or compile an explicit shaft/flange recipe with omnicad mechanical.build and audit for new work. For a requested original-DWG revision, preserve a trusted native copy and run diff on same-lineage readbacks against the approved scope. Use revise for the supported bounded edits to OmniCAD-owned DXF files.accept with an explicit discipline and reviewed contract when hard gates are required. See V1.2 acceptance.publish for authorized drawing jobs with licensed full Windows AutoCAD. Inspect whole-sheet and targeted previews, bind reviews to artifact hashes, and keep unresolved items outside formal drawings. On a native fault, preserve the checkpoint and inspect the session before resetting the circuit. See installation and compatibility.OmniCAD 是我为 Codex 开发的开源 AI CAD 自动绘图 Skill,结合可编辑二维 DXF 制图、限定范围的图纸修改和证据驱动工程验收(OQA)。纯 Python DXF 工作流不依赖 AutoCAD;Windows 完整版 AutoCAD 可用于原生 DWG、PDF 出图。
快速安装 · 工程案例 · 证据驱动 · 适用范围 · 技术证据索引
V1.2.0 增加原生任务超时与检查点、五类专业图纸验收、逐页打印对照。适用范围和升级方法见安装与兼容性。
以下为 AutoCAD 2023 原生出图,使用仓库公开的合成参数复现。点击图纸可查看原图。
| 01 / 阶梯传动轴 | 02 / 带凸台法兰 |
|---|---|
![]() |
![]() |
| 总长 240 mm · 五段轴径 · 键槽与剖视 | 外径 160 mm · 孔径 50 mm · 6 × Ø12 / PCD 120 |
| 原始参数 · 验证记录 | 原始参数 · 验证记录 |
其他实践方向包括工业车间布置、工艺流程图及建筑屋面排水图。客户图纸不公开。
图纸看起来正确,尺寸却可能存在错误。OmniCAD 将经过确认的工程要求与实际测量结果进行比对,而不是依赖图纸的外观或 AI 的自我评价。
| 证据层 | 验证内容 |
|---|---|
| 01 / 几何与尺寸 | 实体结构、坐标、长度、半径、闭合及尺寸实测值与标注显示值的一致性。 |
| 02 / 原生 CAD 与出图 | DWG 重开、可逆编辑、DXF 回读、PDF 结构、纸张与独立双次打印对照。 |
| 03 / 追溯与复核 | 成果哈希、视觉证据及尚未解决的工程要求。 |
硬性错误不能靠高分抵消,缺少必要证据则保持待验收状态。 自动检查不替代人工专业复核。
| 常见失效场景 | OmniCAD 如何检查 |
|---|---|
| 标注数字正确,实际几何却不一致 | 将原生尺寸实测值与已确认的约束比对。 |
| 局部修改误伤其他图元 | 对同源图纸执行差异检查,核对允许修改的范围。 |
| 已审查的图纸又被修改 | 将复核证据与成果哈希绑定,旧证据不能授权新图纸交付。 |
| AutoCAD 卡死或返回无效成果 | 限定原生任务执行时间,保留检查点,复核环境后再重置保护机制。 |
以上是已有回归测试场景,不是新增的性能宣传数据。技术证据索引 汇总公开参数、测试源码和验证边界。
| 43 项离线测试 | AutoCAD 2023 | 5 类专业验收 |
|---|---|---|
| 正式版历史记录 · Windows / Python 3.12 | 原生支架样例实测 | 机械 · 土木 · 建筑 · 食品工艺 · 车间布置 |
重要 | 使用前请阅读
OmniCAD 是 AI Agent 的二维 CAD 绘图辅助技能包,不是独立的全自动工程设计系统。已知要画什么、尺寸是多少、交付什么格式时,通常更适合使用;只有模糊想法、需要 AI 自行完成专业设计时,应先补充设计方案及专业参数。
| 难度 | 典型任务(数量仅为示例) | 当前定位 |
|---|---|---|
| L1 · 基础 | 1 个简单零件、单视图、基础标注 | 🟢 重点保障 |
| L2 · 常规 | 1–3 个常规视图、明确尺寸的复绘、图层整理、简单平面图 | 🟢 推荐使用 |
| L3 · 综合 | 多视图、多设备布置(如 10–30 台设备)、工艺流程图 | 🟡 有条件适用,必要时分段执行 |
| L4 · 复杂 | 多张相互关联的施工图、大型场布、专业构件库匹配 | 🟠 探索阶段,不承诺可靠交付 |
| L5 · 专业设计 | 从零独立完成工程方案、结构计算、专业仿真、全面规范审查 | 🔴 非当前适用范围 |
以上数字仅帮助理解任务规模,不是实测容量上限、成功率或交付承诺。实际等级取决于几何复杂度、资料完整度、专业约束和人工参与程度;验收规则覆盖某类图纸,不等于能够自动完成该领域的全部设计。
Codex 用户从这里开始。
下载正式版 · 安装 / 升级 / 回滚 · LT 实验性方案
以下为 Windows 示例,使用 Python 3.10+ 独立环境:
git clone --branch v1.2.0 --depth 1 https://github.com/Haruhi764/OmniCAD-Skill.git
cd OmniCAD-Skill
py -3 -m venv .venv-v120
.venv-v120/Scripts/python.exe -m pip install ".[intake,autocad]"
.venv-v120/Scripts/python.exe -m omnicad mechanical examples/shaft-c.json work-c.json
.venv-v120/Scripts/python.exe -m omnicad build work-c.json work-c.dxf
.venv-v120/Scripts/python.exe -m omnicad oqa work-c.dxf --job work-c.json --domain mechanical --mode standard
.venv-v120/Scripts/python.exe -m omnicad publish work-c.json work-c.dxf native-c --verify-native
纯 DXF 不依赖 AutoCAD;PDF 与图片预检使用 intake 附加依赖。原生 DWG/PDF 需要已授权的 Windows 完整版 AutoCAD 及可用出图配置。Poppler 用于渲染对照,正式交付仍需要视觉与专业复核。
| 环境 | 状态 |
|---|---|
| Python / DXF | 已实现,不要求安装 AutoCAD |
| Windows 完整版 AutoCAD 2023 | 原生出图已实测 |
| AutoCAD 2021 / 其他版本 | 原生验收待验证 |
| AutoCAD LT | 实验性 DXF 交换,LT 2027 实机验收待完成 |
| macOS | 不支持 Windows COM 原生路径,纯 DXF 流程尚未独立验证 |
可以使用基于 Python 的可编辑 DXF 工作流。原生 DWG/PDF 出图是独立流程,需要受支持的 Windows AutoCAD 环境。
支持限定范围的 DXF 图元修改及同源图纸差异检查,不保证任意历史 DWG 的完整编辑和专有对象保留。
这些不是当前正式版已确认的能力。OmniCAD 目前专注于可编辑二维工程制图与验收。
后续功能尚未集成,具体支持范围见 验证记录。
欢迎提交 Issue,附软件版本及脱敏复现。现有绘图工作流见 V1.1 文档,类型验收见 V1.2 验收说明,LT 用户可选用 Experimental 测试包。贡献方式见 CONTRIBUTING.md。二维工程图仍需人工专业复核。
项目采用 MIT 许可证,第三方许可见 来源说明。如果这个项目对你有帮助,欢迎 Star。
OmniCAD 官方技术交流群 · QQ 群号:313181842
欢迎加入交流群,讨论安装使用、问题反馈、软件兼容性测试及新功能建议。可复现的问题也欢迎提交至 GitHub Issues,附上 CAD 版本、操作系统及脱敏示例。请勿上传涉密图纸或许可证信息。
| OmniCAD | OmniSolidWorks |
| 二维工程制图 · Draft / Verify / Deliver | 三维机械建模 · Model / Assemble / Verify |