Audit report

DXF Audit

Verdict-first forensics on a CAD file: units, scale, origin, layers, blocks, hygiene. The file is evidence and is never modified.

Once installed, Claude loads it on its own when the conversation matches. You can also call it directly with /dxf-audit.

Output
Audit report
Package
3 files · 35.8 KB
Download
15.3 KB zip
Worked example
3 files · 17.1 KB
Tags
DXFCADSurvey
Read first

These skills assist qualified practitioners. They replace neither the architect of record nor the approving authority. Every figure, clause and citation they surface is marked for you to verify — treat an unverified output as a question, not an answer.

Install

Install just this one.

Two routes. Both end with Claude loading the skill by itself when your conversation matches.

A Claude app, Chat or Cowork

  1. Download dxf-audit.skill below.
  2. Open Claude, go to Settings → Capabilities → Skills and upload the file.
  3. Start a conversation and attach your material. The skill loads itself on a match.
dxf-audit.skill · 15.3 KB

B Claude Code, in your project

Unzip the package into your skills folder, then restart Claude Code.

mkdir -p .claude/skills && unzip dxf-audit.skill -d .claude/skills/

Use ~/.claude/skills/ instead to install it for every project.


At a glance

What it takes, what you get.

It takes

A .dxf — survey, architect's background, consultant's drawing, legacy file

You get

A verdict-first audit: safe uses as-is, unsafe uses, the single biggest problem, then provenance, geometry frame, layers, blocks, extractable schedules, a ranked risk table and what was not checked. Every claim tagged [measured], [inferred] or [verify manually].

It will not

Purge, fix, translate or re-save the file; declare compliance; convert units silently; choose between two revisions.

Test drive

Selden Row survey (.dxf), a rescaled sheet with a disputed revision. Run the skill on the example input, then score your output against the defect key — it lists what was planted and what a good run does with it.

Worked example

Quick reference

How to run it.

Forensic health-check of a DXF before anyone scales off it, takes quantities from it, or links it under a model. Measures first, judges second, changes nothing. The file is evidence: it is never modified, purged or re-saved.

Run it

Attach the .dxf and ask:

Audit this DXF. It's a survey we've been sent — can we trust it?
Audit this DXF as a background for our Revit model, and give me the door count.
Why doesn't this drawing scale at 1:50? What units is it in?
Extract the door/window/parking schedule from this DXF and flag anything unsafe.

Best results: say what the drawing is for, who issued it, and whether xrefs came with it. No answers? It still runs, with a purpose-agnostic verdict.

The report

SectionWhat it holds
VerdictWhat the file is, safe uses as-is, unsafe uses, single biggest problem. First, always.
Provenance & identityTitle block contents vs what you were told; revision conflicts.
Geometry frameUnits, the three scale witnesses, origin distance, coordinate frame.
Layer structureReal entity counts, off/frozen layers hiding geometry, content on 0/Defpoints.
Blocks & annotationInsert counts, coincident duplicates, exploded dimensions, overrides.
Extractable dataAttribute schedules (doors, windows…) — as-drawn, duplicates flagged inline.
Cleanup & reuse stepsOrdered instructions for your CAD tool, on a copy — never performed for you.
Ranked risk tableHigh / Medium / Low / Info; each states what it breaks downstream.
What was not checkedAlways present. The verdict is only as good as this list.

Evidence tags — read nothing without checking its tag:

TagMeaning
[measured]Read directly from the file.
[inferred]Deduced; the basis is stated in the same sentence.
[verify manually]Not knowable from this file; names what to check.

The three scale witnesses — annotated scale, viewport ratio, model text height. All agree: the sheet is measurable. Any disagreement: the sheet was rescaled and nothing printed can be scaled off, whatever the title block says.

What it will not do — by design

  • Touch the file. No purge, fix, translate or re-save — cleanup is prescribed, you perform it on a copy.
  • Declare compliance. Door widths are as-drawn measurements; Part M et al. are separate checks, with documents named [to verify], never figures from memory.
  • Let inference pose as measurement. "Probably mm from the 926 door leaf" stays labelled as a deduction forever.
  • Convert units silently. Two surviving unit hypotheses are both reported, with what would settle them.
  • Present block counts as reality. Counts are as-drawn; coincident duplicates are reported beside every number they would inflate.
  • Pick between contradictions. Rev C vs "REV D", current vs hidden old outline — logged for the issuer, not ruled on.
  • Web-search the practice, client or site unless you ask; no client names in filenames.
  • Decide for you. It reports whether the file is sound; whether it is acceptable for your deliverable is your call.

Work the output

  1. Read the verdict; if a High says stop, stop before opening the file in CAD.
  2. Resolve the revision question with the issuer before any downstream work.
  3. Use the deduplicated counts, never raw insert counts, for schedules.
  4. Run the cleanup list on a copy; keep the received file as the evidence copy.
  5. Send the contradiction items (revision, false dimensions, hidden layers) back to the issuer as questions — they are their defects to rule on.
  6. File the "what was not checked" list with the audit; it defines the checks still owed before the drawing carries real weight.

Remember: the audit tests the file's internal honesty, not the building. A clean audit means the drawing agrees with itself — site verification is still site verification. Test drive: run it on the Selden Row sample (example-input.dxf) and score against selden-row-defect-key.md.


Triggering

When Claude reaches for it.

This is the description Claude itself reads to decide whether the skill applies. It is worth knowing, because it tells you exactly how to phrase the ask — and what the skill will decline.

dxf-audit

Forensic audit of a DXF CAD file before anyone trusts it: measures units, scale, origin and coordinate frame, layer discipline, block and attribute integrity, duplicates and geometry hygiene, then reports verdict-first what the drawing can and cannot be used for — every claim tagged [measured], [inferred] or [verify manually]. Use this WHENEVER an architect or technologist supplies a .dxf (survey, architect's background, consultant's drawing, legacy file) and wants it "audited", "checked", "sanity-checked", or asks "can I trust this file", "what units is this in", "why doesn't this drawing scale", "why is everything miles from the origin", "is this the issued revision", "extract the doors/parking from this DXF", "count the blocks", or "is this safe to link into Revit / import into Rhino or QGIS". Also trigger before any take-off derived from a DXF. Do NOT use for checking a design against regulations, to modify, purge or re-save CAD files, or for native .dwg, .rvt or .3dm — ask for a DXF export first.


Package

Files it puts on your disk.

3 files, 35.8 KB unzipped, under .claude/skills/dxf-audit/. Reference material loads only when the skill needs it — references/, scripts/.

Download the package

.claude/skills/dxf-audit/

  • dxf-forensics.mdreferences/6.1 KB
  • audit_dxf.pyscripts/14.8 KB
  • SKILL.md14.9 KB