cad-dxf-agent plugin
Plugin that screens DXF drawings against ADA and IBC, counts quantities, detects rooms and diffs revisions with no API key.
- 56 ★ on the repository
- Last commit
- Apache-2.0
Extended access
Why this level
- The skill runs the `cad-analyze` and `cad-revision` shell commands and reads drawing files.
- Installing the package downloads and runs Python code, so it is confirmed manually.
Install
- Works in
Manual install
python3 -m pip install "git+https://github.com/jeremylongshore/cad-ai-agent.git@6393e61869187eec7416f7fe54bd2cec861ad39a"Installs the package with the `cad-analyze` and `cad-revision` tools. Requires Python 3.11 or 3.12.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- The skill runs the `cad-analyze` and `cad-revision` shell commands and reads drawing files.
- Installing the package downloads and runs Python code, so it is confirmed manually.
This is third-party code. Review the repository files before installing.
What it does
The plugin adds the `cad-dxf-agent` skill to Claude Code. The skill runs the `cad-analyze` and `cad-revision diff` command-line tools and retells the result in plain language, stating what each conclusion rests on. Seven checks are available: ADA, IBC and residential screening, a drawing health report (overlaps, text, orphan layers), a quantity takeoff, a short summary, RFI questions, closed-room detection with areas, and a comparison of two revisions. It runs without an LLM or network access and leaves the source file untouched.
Who it is for. Engineers and estimators in design offices who need a quick check of a DXF drawing before submission or review.
Good fit when
- You run a floor plan through ADA threshold rules before release and want findings with explanations.
- An estimate needs counts of blocks, lengths and areas by layer from a finished drawing.
- A contractor sent a new revision and you need to see which elements changed against the master file.
- A drawing arrived without notes and you want a short retelling plus a list of closed rooms.
- Before handing a file over you want to find overlaps, orphan layers and empty text.
Not a fit when
- The drawing is DWG and no ODA converter is installed, or it is in another CAD native format.
- You need an official report for a building permit: the skill output remains a preliminary screening.
- The model is three-dimensional with solids and surfaces.
Example request
Check `plan.dxf` against ADA, then show a quantity takeoff and a list of rooms with areas.Limitations
Only two-dimensional DXF and vector PDF files are handled. DWG is read through a separately installed ODA File Converter. Dimensions are not regenerated and external references are unsupported. A code check is screening over the implemented rules, not a professional opinion or a permit. The `cad-dxf-agent` package is not on PyPI; it installs from the repository at a pinned commit, and the skill asks for confirmation before any network install.
How to disable. Delete the `cad-dxf-agent` skill folder from the Claude Code skills directory. Remove the Python package with `pip uninstall cad-dxf-agent`.
FAQ
Which profiles does `cad-analyze compliance` have?
Three built-in profiles: `ada`, `ibc-2021` and `residential`. Pick one with `--profile`, for example `cad-analyze compliance plan.dxf --profile ada`.
Do I need an API key or network access?
No. The tools are deterministic and use no LLM or network. Network access is needed once, to install the Python package.
Will the skill modify my drawing?
No. The skill reads the file and reports in text. Edits come from a separate application in the repository, which saves its result as a new file.
How do I compare two revisions?
Give the skill two paths, master and revision. It calls `cad-revision diff MASTER REVISION` in read-only mode and lists the differences.
Can I feed it DWG?
Yes, if ODA File Converter is installed: `ezdxf` finds it on its own, or you set the path in `CAD_ODA_PATH`. Without the converter, export the drawing to DXF.
Discussion
No questions or reviews yet.
Related
PluginsArchicad GOST Compliance: drawing review skill
Archicad GOST Compliance
A Codex skill that reviews Archicad drawings against GOST, SPDS and ESKD standards and produces a register of issues with an exact clause for every sheet
Archicad Other Regulations Compliance skill
Archicad Other Regulations Compliance
A Codex skill that reviews Archicad drawings against laws, technical regulations, sanitary and municipal rules outside GOST and SP codes
Contract Review Pro reviews a contract in seven steps: .docx opinion, tracked changes with comments, HTML report.
A skill plus the docx program: the agent fills forms, edits tables and reviews Word files with tracked changes
A contract review skill: red flags, key terms, comparison with market practice and ready redline wording that accounts for your side of the deal
Four local skills for Codex: draw.io diagrams, interior plans, presentations and image work on a whiteboard.
README in short
The plugin contains one skill on top of a package of analysis tools. The repository also holds a desktop app and a web UI for drawing edits through an operation plan.