elliottshort/mosby/interior-fit

Claude Code and agent skill by elliottshort/mosby

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Runs Mosby phase P4 (Interior) on a plans-to-Blender job. Use it whenever the work involves furniture, fixtures, appliances, kitchen or bathroom casework, millwork, lighting, cameras for rooms, the furnishing programme, layout, clearance, door swings, walkability or room connectivity, after the P3 finishes gate has passed. It derives programme.json from the drawings first, then builds and places interior objects against evaluated geometry, mounts fixtures on evaluated hosts, lights every room,…

Install

npx vskill@latest install elliottshort/mosby/interior-fit

SKILL.md

The same SKILL.md was published earlier as elliottshort/mosby/interior-fit.

Interior fit (P4)

P4 turns a verified shell with finishes into a furnished, lit, camera-ready model. In the house run this phase cost roughly 30 of 119 iterations: 16 of 124 first-pass placements were outside their room and 12 overlapped; a fridge left 81 mm of a 940 mm bypass after "walkable" had been declared on door-throat rays; 104 of 105 wall plates floated 17-26 mm off the plaster; an HVAC register stood 365.8 mm through the roof; two rooms rendered black; cameras needed 7 repair rounds. Every rule below removes one of those. Numbers, tables and field lists are in reference.md next to this file.

Hooks already do the mechanical part: scene-identity preamble and auto-checkpoint on every execute_blender_code (including scripts it runs indirectly), a block on hand edits of plan/entities/reports/status, act and observation counters, and the Stop gate that refuses unbacked "done"/"walkable" claims. This skill does not repeat them.

Inputs: plan_<level>.json (rooms, openings, fixtures, ceiling_regions, voids, levels), entities/<level>/ (raw in-room linework with handles or PDF path ids), decisions.md, brief.md, job.json (acceptance, camera_preferences, lighting mode), the P3-passed model.blend.

Outputs: programme.json; interior objects in model.blend under Mosby/<Level>/<Role> with roles furniture, fixture, appliance, light, camera; scripts/p4_*.py; the seven reports in reports/ plus reports/p4_interior.json; ledger entries for design direction and waivers. Nothing here edits plan, entities, sources or status by hand. <!-- FC-G15 -->

0. Preconditions and working rules

  1. mosby status must show p3_finishes: pass and not stale. Why: the iter-116 plaster build-up un-seated 105 outlets that had been seated earlier; seats made before finishes are final are wasted work. <!-- FC-E04 -->
  2. Read before acting: plan_<level>.json (rooms with label_point, floor_elevation, ceiling_regions, voids; openings with hinge_end, swing_dir, clear_width, floor_elevation; fixtures[]; levels[]), decisions.md, brief.md (deliverable, hero views, style) and the acceptance block of job.json. Work from plan ids, never from remembered room names. <!-- FC-E01 -->
  3. Every act is a script scripts/p4_<subgoal>_<n>.py run with mosby blender headless <script> (preferred) or mosby blender run <script> in the live session. Coordinates live in programme.json or the script, never typed into the console. Why: the house model became an un-regenerable live scene after ~100 staged corrections. <!-- FC-G15 -->
  4. Use evaluated geometry (depsgraph, bpy.context.view_layer.update() first) for every host, obstacle, footprint and clearance. plan.json polygons are semantic: in the house job the evaluated finished wall face sat 32-40 mm inside the plan room boundary (outlet116/fixture118 audits), so anything anchored to a plan polygon embeds or floats by that much. If you must screen offline, measure the offset once and record it in decisions.md. <!-- FC-EM02 -->
  5. Sub-goal order, each closed by its audit: programme -> assets -> placement (containment, door_sweeps) -> fixture seating -> lighting -> connectivity -> cameras -> mosby audit gate p4_interior. Why: fixing downstream before upstream re-rendered 39 rooms four times in the house run. <!-- FC-E02 -->
  6. Observation in P4 means llm.capture_viewport(shading="SOLID") or one headless test frame checked with mosby render inspect; the full render batch is P5 and runs once, after the p4 gate passes. <!-- FC-F02 -->

1. Programme from the drawings (before the first object)

Goal: programme.json at the job root listing every item the drawings require, each with its source handles. mosby build interior writes it before creating any object; review it, then let the build continue. Never furnish from room names or taste. Why: the second (south) kitchen run drawn on A2.2 (DWG handles 2739/273A) was never modelled, and nine items (laundry pair, hood, grill, hot tub, bench...) were missing because the first programme was authored from room names. <!-- FC-E03 -->

  1. Items come from four sources, in provenance order: (a) fixture blocks/symbols from plan.fixtures[] (class, insertion, rotation, mirrored, bbox); (b) casework outlines detected geometrically from ALL linework inside or within 0.10 m of a room polygon, with no layer whitelist: a segment >= 0.5 m parallel (<= 2 deg) to a wall face at 0.45-0.70 m offset is a base run, at 0.25-0.40 m an upper run, a closed rectangle >= 0.5 m is a unit, rectangle pairs 0.55-1.10 m deep are islands/peninsulas; (c) in-room labels and notes (TV, GAS LINE, GRILL AREA) from the P1 text transcription; (d) size tags ((\d+)X(\d+) inches; door tags \d{4}) attached to the nearest symbol or opening within 1.5 m. Why: the missing south run's front line sat on layer AN-ELEV18, not a millwork layer; a layer filter would drop it again. <!-- FC-EM01 -->
  2. Each item carries id, level, room_id, kind, source kind, handles or PDF path ids plus layer, anchor {xy, rotation, mirrored}, outline with tier base|upper for casework, size_tag {raw, length_m, width_m, status}, required, status (planned|modelled|waived|missing). See reference.md section B. <!-- FC-E03 -->
  3. Room type drives contents: derive programme_type per room from its label (pantry, wine, mech, laundry, closet, gym, theater, office, kitchen, bath, bed, living, garage, attic/eave, unknown) and add that type's required equipment as items (mech: AHU, water heater, panel; laundry: washer, dryer; gym: treadmill, bench). Unknown type produces a warning row, never a silent default. Why: pantry and wine shelves got books and vases; the mech room got storage. <!-- FC-E17 -->
  4. PDF-only jobs have zero text objects; tags are SHX glyph strokes. Match digit glyphs, or mosby pdf crop a 300 dpi crop around the symbol and read it by vision, then set size_tag.status to confirmed or unreadable. An unreadable tag on a required item blocks P4 sign-off until confirmed or waived. Why: the primary tub was built 1.70 x 0.80 m against a 36X72 tag (1.8288 x 0.9144 m) and caught only when the owner asked for a scale check. <!-- FC-E10 -->
  5. Any drawn item you will not model gets a waiver row in decisions.md (Design choices table) citing the sheet; programme_coverage counts it as waived, not missing. <!-- FC-E03 -->

2. Design direction (short: the design is the user's)

  1. Source-driven items (casework, fixtures, appliances, lights the drawings require) proceed without asking. Loose furniture, textiles, decor and palette wait for a nod: write two directions (3-5 lines each: period, palette, density, one anchor piece per main room) with mosby ledger add, ask, then execute the chosen one. Do not build a placeholder layout while waiting. Why: the house run burned 3 layout iterations and 9 renders on a throw-away layout during a 45 min wait. <!-- FC-G08 -->
  2. Asset silhouette realism (pointed-polygon flames, identical pillows) is a ledger design note, not a geometry finding; it never displaces an audit. <!-- FC-EM07 -->

3. Assets and factories

  1. Every factory returns only after a closed-solid proof on the STORED float32 coordinates: weld at 1e-7 m, nonmanifold edges 0, signed volume > 0 (flip faces if negative), per-face outwardness for convex parts, zero degenerate triangles; world matrix determinant > 0; intentionally open meshes (curtain, rug) tagged open_surface. The proof goes into mosby_proof. Before the first mosby build interior and after any factory change, run every factory once with default arguments in a headless scratch file (mosby blender headless scripts/p4_factory_selftest_<n>.py) and mosby audit mesh_validity on the result; a failing factory is fixed before any object is placed. Why: 4,811 cuboids had inward normals; spa water rendered flat through three critiqued previews and two lighting iterations chased a normals defect that a post-creation mesh check would have caught. <!-- FC-E05 FC-F13 -->
  2. Root scale is (1,1,1) and no child carries non-uniform scale. Fit height by regenerating the asset with a height argument (min 0.45 m), never by root.scale.z. Why: the house height-fitted utility furniture with scale.z and the export preflight counted the distorted objects. <!-- FC-EM03 -->
  3. Soft goods (cushions, pillows, throws, duvets, drapes) are contact-solved against the evaluated support at 4 mm clearance: translate for rigid soft parts, per-vertex drape for textiles; BVH overlaps 0, contained vertices 0, minimum surface distance <= 25 mm (touching, not floating). A factory that fails its contact audit raises instead of emitting. Why: ten pillows sat 82.5 mm inside sofa backs on five sofas, seen only in a 2400x1600 final after 35 previews had passed. <!-- FC-E06 -->
  4. Continuous surfaces (worktop, hearth, landing, shelf) are one prism from the union footprint with real holes (sink, hob), never abutting or overlapping boxes; coplanar top overlap between parts of one assembly > 1e-4 m2 is a defect. Why: the island counter showed stepped seams in the hero kitchen render. <!-- FC-E16 -->
  5. Factory meshes are cached with a GEOMETRY_REVISION in the key and stamped on the datablock; copy any mesh with users > 1 before editing it; before the p4 gate rebuild every object whose revision is below the current factory revision. Why: a corrected duvet factory left the old intersecting mesh on already-built beds. <!-- FC-E15 -->
  6. Appliances carry their real evaluated depth including pulls and handles (house fridge: 611.5 mm evaluated vs 520 mm nominal). Clearance and aisle statements use evaluated bounds, never nominal factory sizes. <!-- FC-EM05 -->
  7. Tagged fixtures get the tag dimensions passed explicitly to the factory; generic defaults are forbidden when a tag exists. mosby audit programme_coverage checks evaluated vessel bounds within 3 mm of the tag (doors: clear width within 2 mm). <!-- FC-E10 -->
  8. Set on every root: mosby_role (furniture|fixture|appliance|light), mosby_level, mosby_room_id, mosby_stage = p4_interior, mosby_id, mosby_source and the programme item id; validators scope by role, never by name prefix alone. <!-- FC-E03 -->

4. Placement (furniture, casework, appliances)

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

Popularity

7-day trend score
0

Not refreshed yet.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/elliottshort/mosby/interior-fit/badge)](https://verified-skill.com/skills/elliottshort/mosby/interior-fit)

Something wrong with this skill or its page? Tell us.