cad-dxf-agent
БесплатноБез исполняемых скриптовНе проверенAnalyzes DXF drawings deterministically — ADA/IBC code compliance, drawing health and QA, quantity takeoff, plain-English summaries, RFI generation, and…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
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? | 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"
Instructions
- Locate the DXF. If the user named a file, use it; otherwise
Globfor**/*.dxfand, if several match, ask which one withAskUserQuestion. - Pick the capability from the trigger words. If unclear, ask.
- Run the CLI with
--json, e.g.cad-analyze health DRAWING.dxf --json. - Parse the JSON and report in prose. For compliance, pass
--profilewhen the user names a code; defaultada.
See references/capabilities.md for each report's JSON shape.
Output
Report in prose, not raw JSON. Lead with the headline, then cite the drawing's own evidence—entity handles and layers—so a reviewer can act.
- compliance: profile pass/fail, violation count, then each finding.
- health: score (0–100), then issues grouped by severity.
- takeoff: quantities by category, name, quantity, and unit.
- summary: narrative and room list.
- rfi: numbered questions ready to send to a reviewer.
- zones: detected rooms or areas and computed area.
Error Handling
- Exit
0means the command completed. Compliance may exit1when violations are present; parse its JSON and report the findings rather than treating it as a command failure. - Exit
2means the file is missing or unreadable. Confirm the path and that it is a valid DXF before retrying. - If
cad-analyzeis unavailable, install the prerequisite once and rerun the requested command. - An empty findings or issues list is a pass; never invent findings.
Examples
Check a floor plan for ADA compliance
cad-analyze compliance ./plans/level-1.dxf --profile ada --json
Report the violation count and every finding's rule and evidence handles.
Audit drawing quality
cad-analyze health drawing.dxf --json
Report the score, then group issues by severity.
Safety
- Read-only. Analysis never modifies the DXF.
cad-revision apply/bundlewrites a new file; the original is never touched. - Offline. The analysis capabilities make no network calls and use no secrets.
Natural-language editing and agent-mode tool use require a bring-your-own LLM provider and are not exposed here.
Resources
references/capabilities.md— JSON shape of each report and how to read it.- Source + issues: https://github.com/jeremylongshore/cad-ai-agent
Установить cad-dxf-agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobBash(cad-analyze:*)Bash(cad-revision:*)Bash(pip:*)Bash(python:*)Bash(python3:*)AskUserQuestionВложенные файлы
FAQ
Что делает скилл cad-dxf-agent?
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".
Как установить скилл cad-dxf-agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cad-dxf-agent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic