| name | cad-dxf-agent |
| description | Analyzes DXF drawings deterministically — ADA/IBC code compliance, drawing health and QA, quantity takeoff, plain-English summaries, RFI generation, and room/zone detection — with no LLM or API key. Use when a user has a .dxf file and wants to check code compliance, audit drawing quality, pull quantities, summarize a drawing, generate RFIs, or detect rooms and areas. Trigger with "analyze this DXF", "check compliance", "drawing health", "quantity takeoff", "summarize this drawing", "generate RFIs", "detect zones", or "/cad-dxf-agent". |
| allowed-tools | Read, Glob, Bash(cad-analyze:*), Bash(cad-revision:*), Bash(pip:*), Bash(python:*), Bash(python3:*), AskUserQuestion |
| argument-hint | a path to a .dxf file (and optionally which check — compliance, health, takeoff, summary, rfi, zones) |
| version | 0.1.0 |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| license | Apache-2.0 |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
| tags | ["dxf","cad","compliance","takeoff","drawing-analysis"] |
cad-dxf-agent — DXF Drawing Analysis
Overview
CAD reviewers manually scan drawings for code compliance, QA defects, quantities,
and ambiguities — slow and error-prone. This skill automates that for DXF files by
driving the deterministic cad-analyze CLI (no LLM, no API key, no network) and
reporting the findings in prose.
| Capability | What it answers | Command |
|---|
| compliance | Does it meet ADA / IBC / a custom code? | cad-analyze compliance FILE [--profile ada|ibc-2021|residential] |
| health | Is the drawing clean? (overlaps, text, orphan layers) | cad-analyze health FILE |
| takeoff | How much of everything? (counts, lengths, areas) | cad-analyze takeoff FILE |
| summary | What is this drawing, in plain English? | cad-analyze summary FILE |
| rfi | What's ambiguous / needs clarification? | cad-analyze rfi FILE |
| zones | What rooms/areas are enclosed, and how big? | cad-analyze zones FILE |
| compare | What changed between two revisions? | cad-revision diff MASTER REVISION |
Prerequisites
The CLI ships with the cad-dxf-agent Python package. Check, install only if missing:
command -v cad-analyze >/dev/null 2>&1 || \
pip install "git+https://github.com/jeremylongshore/cad-ai-agent.git"
(If the package is on PyPI, pip install cad-dxf-agent also works.)
Instructions
- Locate the DXF. If the user named a file, use it; otherwise
Glob for
**/*.dxf and, if several match, ask which one with AskUserQuestion.
- Pick the capability from the trigger words. If unclear, ask.
- Run the CLI with and capture stdout, e.g. .