felixkarevo/construction-skills/construction-freecad-bim
Claude Code and agent skill by felixkarevo/construction-skills
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Core modeling skill of the construction-design library: real, structurally verified BIM models in FreeCAD 1.x through a live GUI driven by the neka-nat/freecad-mcp bridge — Site/Building/Storey hierarchy, live parametric openings via Subtractions (never frozen booleans), classified makeStructure members, makeRebar cages, code-gated stairs, MEP risers/shafts, CalculiX FEM verification via run_fem_analysis, IFC import (NativeIFC, locked/unlocked modes) and export proven by parsing, renovation/ret…
Install
npx vskill@latest install felixkarevo/construction-skills/construction-freecad-bimSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as felixkarevo/construction-skills/construction-freecad-bim.
FreeCAD BIM Modeling & Structural Verification — Core Skill
Simple-first gate (governs how this skill is applied). Default every choice here tothe simplest proven solution at the agreed standard tier — see the governing skillsimple-first-building(complexity ladder §1). Escalate to more demanding construction(innovative systems, one-off details, higher comfort tiers) only when the clientexplicitly asks for it, with cost/schedule impact stated; deviate below the usualstandard or the aarRdT only via the documented risk-acceptance machinery(simple-first-building§3) — public permission never cures the private default.
This is the core file of a 33-skill construction-design library. It teaches an MCP-capable agent to produce honest, parametric, solver-checked building models inside a live FreeCAD 1.0.x GUI. Everything geometry-technical here was validated against FreeCAD 1.0.1 through the MCP bridge (CalculiX ccx and gmsh present) and against the object-by-object study of FreeCAD's bundled example building usr/share/examples/BIMExample.FCStd (361 objects: 41 walls, 18 doors, 18 windows, 9 slabs, 7 stairs, 5 storeys). The worked example bundled in this repository (model/) documents the same object discipline on a compact residential building.
Markers: [verified] = executed live on FreeCAD 1.0.1 through this bridge — evidence. [unverified] = knowledge not round-tripped through the solver or the running instance — a lead to confirm, not evidence.
Reality Check — Licensing & Liability
This skill produces design aids, dimensional guidance and modeling workflow for planning and FreeCAD modeling ONLY. It does not produce engineering design.
- Any design for actual construction of a real occupied building MUST be reviewed,
sealed and stamped by a licensed structural engineer — in DACH the Tragwerksplaner who signs the bautechnischer Nachweis, typically countersigned by a Prüfingenieur per the Landesbauordnung — and MUST pass local authority approval (Baugenehmigungsverfahren with B-Plan/BauNVO zoning, setback, coverage, height). See building-regulations-permits.
- A CalculiX/FEM result from this workflow is a screening check, not a design: linear-
elastic, isotropic, homogeneous, small-displacement, single-load-case, mesh-dependent. For concrete it does not model cracking, tension stiffening, creep, shrinkage, long-term deflection, bar bond/anchorage, punching shear, or seismic/wind demand; no buckling, fatigue or connection checks. Passing it does not mean a member is safe.
- Soil bearing capacity used here is an assumed value; real footings need a
geotechnical investigation (geotechnics-foundations). Frost depth, water table, expansive/collapsible soils, fill, site class: not knowable from a model.
- Reinforcement modeled here is geometry, not a detailing design — development
lengths, laps, hooks, curtailment and confinement detailing follow the Eurocode rules owned by concrete-detailing (seismic: seismic-design). Cite and defer; never re-derive here.
The agent must never present FreeCAD output as construction-ready. If the user's language treats it as final — "so I can start building", "send this to the contractor", "is this safe", "final footing size", "can I pour this" — say so unprompted, first, in that reply. See §7.3 for the exact status-block protocol.
How this library fits
This file is the modeling engine. The other 31 skills own the why behind every number. When a question here becomes a design question, switch to the owning skill — never improvise a design value from a modeling recipe.
| Skill | Owns (one line) | |
|---|---|---|
simple-first-building | GOVERNING gate: standard tier + complexity ladder — every model object defaults to the simplest proven solution; escalations and downward deviations only via its documented decision machinery. | |
building-planning-spatial | Room programs, dimensions, circulation, planning grid — the plan this file models. | |
building-typology | Building types, housing forms, massing and typological section patterns. | |
structural-systems | Load-bearing system choice, load-path narrative, preliminary span/depth sizing tables. | |
structural-analysis | Structural action: load combinations, internal forces, deflection and stability checks — the hand calc every FEM run is compared against. | |
concrete-detailing | Eurocode (EN 1992) reinforcement rules: cover by exposure class, min/max steel, anchorage, laps, stirrups, bar schedules. | |
masonry-construction | Masonry build-up, wall types, EN 1996 constraints, confined-masonry practice. | |
timber-steel-design | Timber (EN 1995) and steel (EN 1993) member and connection design. | |
geotechnics-foundations | Soil investigation, bearing capacity, settlement, retaining, foundation type selection. | |
seismic-design | Earthquake action, regularity rules, ductility and confinement detailing (EN 1998). | |
construction-detailing | Physical junction details: DPC/DMP layers, sills, head conditions, movement joints. | |
building-materials | Material properties, unit weights, selection and specification. | |
building-physics-thermal-moisture | Hygrothermal performance: U-values, condensation, airtightness, build-up order. | |
building-acoustics | Sound insulation, room acoustics, flanking, separating-element rules. | |
fire-protection-building | Fire compartments, reaction classes, resistance periods (F30–F120), escape routes. | |
roofing-waterproofing | Roof build-ups, falls, drainage, membrane and tile detailing. | |
openings-windows-doors | Window/door design, lintels, sills, installation joints, glazing. | |
stairs-vertical-circulation | Stair geometry rules and the hard code gates this file's stair checks are parameterized with. | |
accessibility-universal-design | Barrier-free design (DIN 18040): widths, ramps, tolerances beyond minimums. | |
building-services-tga | TGA engineering: risers (Steigstränge), shafts (Installationsschächte), plant rooms, penetration coordination. | |
construction-scheduling-site | Time: schedules, sequence, site logistics, crane and laydown planning. | |
cost-management-din276 | Cost per DIN 276 cost groups, quantities-to-cost mapping, BOQ discipline. | |
building-regulations-permits | Bylaws, setbacks, GRZ/GFZ, permit workflow, submissions. | |
sustainable-construction | Embodied carbon, circularity, material passports, certification systems. | |
existing-structures-retrofit | Building in existing conditions: assessment, Nachrechnung, strengthening, envelope retrofit. | |
building-renovation-refurbishment | Component-level renovation technique: Bestandsaufnahme, repair systems per building element, energetic/ecological retrofit workflow, Abbruch/Rückbau — the source of what §3.10's renovation modeling pattern renders. | |
timber-building-renovation | Historical timber diagnosis and repair: Schadensanalyse/-bewertung, Ertüchtigung technique, Fachwerk/Umgebindebau — the source of §3.10's degraded-material override numbers for timber. | |
bim-management | The BIM process: naming, LOIN/LOI/LOG (DIN EN 17412), MVD, CDE, IFC validation — the deep data discipline touched only lightly here. | |
ifcopenshell-bim-authoring | Sibling modeling skill without FreeCAD: IFC as source of truth via ifcopenshell.api / ifcmcp, one file per discipline — use it when the deliverable is native IFC. | |
construction-drawing-sketching | Drawing and sketch representation of the model: line weights, hatching, sheet craft. |
Reading order
- This file + `building-planning-spatial` — first; you cannot model what is not
planned, and cannot plan what you cannot keep parametric.
building-typology→structural-systems— kind of building, load-bearing system.structural-analysis→concrete-detailing→geotechnics-foundations— the numbers
the model must carry honestly; then the material/hazard track: masonry-construction / timber-steel-design / seismic-design.
openings-windows-doors→stairs-vertical-circulation→roofing-waterproofing→
construction-detailing — whose rules §3's recipes assert by measurement; then building-materials → building-physics-thermal-moisture → building-acoustics → fire-protection-building — performance properties that ride on the IFC export (§4).
building-services-tga→accessibility-universal-design— coordination and
use-quality passes.
building-regulations-permits→sustainable-construction→
construction-scheduling-site → cost-management-din276 — compliance, lifecycle, time and money frame.
bim-management→construction-drawing-sketching— how the model is exchanged,
validated and drawn for humans.
1. Setup — the FreeCAD ⇄ MCP bridge
Source of truth for the bridge: https://github.com/neka-nat/freecad-mcp (the tool — the only external project this file names). The bridge = a FreeCAD addon exposing an RPC server inside the running GUI + an MCP server any MCP-capable agent client registers. Tool names are usually prefixed by the server name (e.g. mcp__freecad__execute_code); bare names are used here.
1.1 Install (one-time, needs a human)
- FreeCAD 1.0+, GUI build. The bridge drives a live GUI — no headless mode: under
Xvfb the GUI thread hangs forever and every RPC call times out with no error.
- Put the addon's
addon/FreeCADMCPfolder into the FreeCAD Mod directory —
Linux ~/.local/share/FreeCAD/Mod; Windows %APPDATA%\FreeCAD\Mod; macOS (1.1) ~/Library/Application Support/FreeCAD/v1-1/Mod.
- Restart FreeCAD → MCP workbench → "Start RPC Server". "Auto-Start Server"
persists the choice in freecad_mcp_settings.json.
- Start the MCP server for the agent side:
uvx freecad-mcp(oruv runfrom a cloned
repo); register it in any MCP-capable agent client's config as an mcpServers entry.
1.2 The tool surface
| Tool | Use it for | |
|---|---|---|
create_document | New/replace target document. | |
create_object / edit_object / delete_object | Single-object CRUD by class/property — fine for boxes, too crude for parametric recipes (use execute_code, G-35). | |
execute_code | Python on the GUI thread; the workhorse for §3. | |
execute_code_async | Long computation off-thread, then commit(fn, timeout=120) applies results on the GUI thread (§1.4, G-23). | |
insert_part_from_library | Pull a prepared solid (e.g. multi-part window/door template) into the document (G-34). | |
get_object / get_objects / list_documents | Read properties/shape metadata; list open docs. | |
get_view | A screenshot of the GUI (§1.3). | |
get_rpc_status | Dispatch queue alive or stuck? (§1.4, §6.1) | |
run_fem_analysis | Runs CalculiX on an already assembled Fem::FemAnalysis; auto-creates SolverCcxTools; returns max/min von Mises, max displacement, node count, working dir, result object. |
1.3 Screenshot control — token economy (G-30)
- Every screenshot-capable call takes
include_screenshotandview_name
(Isometric | Front | Top | Right). include_screenshot=False is the default for anything analytical (face dumps, property reads, assertions, meshing, load arithmetic, FEM numeric runs); True only when a human should see the change, the final view, or the one FEM run whose stress picture is the deliverable. Pick view_name to show it: Front for an elevation, Top for a plan, Isometric for massing.
- Launch the server with
--only-text-feedbackto strip images from all responses —
cheapest mode for long builds; re-enable selectively per call.
1.4 Timeouts, queueing and the GUI thread — the rules that prevent hangs
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/construction-freecad-bim/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/felixkarevo/construction-skills/construction-freecad-bim)