Agent skills

Teach any agent to convert floor plans into the Archibase format.

A skill is a folder of instructions and tools that an agent loads when it needs them. This one turns a scan, drawing or description into a metric room graph plus geometry, and checks it against the same rules the corpus enforces. Free, MIT licensed, no dependencies beyond Node.

archibase-plan-converter

Convert a floor plan (scan, photo, PDF, drawing, CAD/IFC export, or a written description) into Archibase's format: a metric room graph plus room/door/window geometry, checked by a validator. Use when asked to digitise, trace, vectorise or convert a floor plan, to produce Archibase plan records, or to check Archibase plan JSON.

Download .zip

Install

Any agent that can read files and run Node can use it. It works the same everywhere: the agent reads SKILL.md, traces the plan, and runs one script.

Claude Code

mkdir -p ~/.claude/skills && cd ~/.claude/skills
curl -LO https://api.archibase.dev/skills/archibase-plan-converter.zip && unzip archibase-plan-converter.zip

Use .claude/skills/ inside a project to share it with a team. Then ask Claude to convert a floor plan.

Claude apps and other skill-aware agents

Upload the zip in your app's skills settings. The folder inside is already named correctly.

Any other agent (Cursor, Codex, your own)

Unzip it into your project and tell the agent: "Follow archibase-plan-converter/SKILL.md to convert this plan." Agents can also read everything directly: /skills/index.json lists every file.

How it works

  • The agent does the looking. It reads the drawing, fixes the scale, and writes room outlines, doors and windows in metres.
  • The script does the careful part. Areas, which rooms connect, window counts, bedroom and bathroom totals, licence rules.
  • Mistakes are caught. Overlapping rooms, a wrong scale, a door between nothing, or a licence that can't be sold are errors, not silent bad data.
  • Checked against real data. Fed the shapes of real plans from the corpus, it reproduces their door links and window counts.

Converted a plan with clear rights (public domain, CC0, CC BY, or your own)? Send it to kaizim@archibase.dev and we'll consider adding it to the corpus.