Orchestrates deterministic 8-stage Layered Procedural 3D Scene Synthesis in Blender via Blender MCP with zero external assets, strict domain isolation, spatial blockout manifests, and visual gatekeeping. Use when building a 3D scene or environment in Blender, starting a procedural 3D workflow, locking a spatial blockout, or routing across geometry, materials, lighting, fog, particles, and compositing. Triggers on: strata, Blender MCP, sintesis scene 3D, procedural 3D scene, layered 3D synthes...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Strata?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/naddrzz-strata)
---
name: strata
description: "Orchestrates deterministic 8-stage Layered Procedural 3D Scene Synthesis in Blender via Blender MCP with zero external assets, strict domain isolation, spatial blockout manifests, and visual gatekeeping. Use when building a 3D scene or environment in Blender, starting a procedural 3D workflow, locking a spatial blockout, or routing across geometry, materials, lighting, fog, particles, and compositing. Triggers on: strata, Blender MCP, sintesis scene 3D, procedural 3D scene, layered 3D synthesis, 3D environment, spatial blockout, scene manifest, photorealistic procedural Blender."
---
# Strata: Layered procedural 3D scene synthesis
One-shot 3D scene scripts fail because errors compound invisibly. Unapplied object scales stretch procedural noise, specular glare hides broken albedo ratios, and flat grey world shaders erase normal relief. Strata replaces one-shot generation with **Stage 0 plus 8 isolated passes**. Each pass mutates one rendering domain, leaves earlier passes untouched, and clears a data and render gate before the next pass runs.
## Blender MCP execution discipline
1. **Inspect before mutating, every time.** Run `get_blendfile_summary_datablocks` and `get_objects_summary` before calling `execute_blender_code`. Never guess object names, scene units, or active render engines. Blender auto-appends `.001` on name collisions and defaults to meters (`scale_length == 1.0`).
2. **Verify API signatures on Blender 4.2+ and 5.x before writing node code.** Call `get_python_api_docs` or `search_api_docs` whenever touching shader, light, or compositor sockets. Legacy Blender 3.x calls crash in Blender 5.x: `ShaderNodeTexMusgrave` no longer exists, and `scene.node_tree` plus `CompositorNodeComposite` are replaced by `scene.compositor_effects` (`CompositorNodeTree` + `NodeGroupOutput`).
3. **Never overwrite user work without confirmation.** If `get_objects_summary` shows existing scene objects beyond the startup cube, ask before clearing or overriding collections. Organize generated objects inside numbered collections: `00_Blockout`, `01_Architecture`, `02_Props`, `05_Lighting`, `06_Atmosphere`, and `07_FX`.
4. **Return structured `result` dicts, not `print()`.** `execute_blender_code` reads only JSON-serializable values assigned to `result`. Call `bpy.context.evaluated_depsgraph_get().update()` before reading world matrices or `bound_box`.
## Stage routing decision tree
Inspect the scene first, then load **only** the skill that owns the active stage:
```text
Does scene["scene_manifest"] exist with a locked camera and proxy AABBs?
├── No -> Run Stage 0 (Blockout and Manifest) in `strata` first
└── Yes -> Read scene["synthesis_stage"] (0..8):
├── Stage 0 done -> Load `strata-geometry` (Stage 1: Model)
├── Stage 1 done -> Load `strata-materials` (Stage 2: Base Colour -> Stage 3: Texture -> Stage 4: Shading)
├── Stage 4 done -> Load `strata-atmosphere` (Stage 5: Lighting -> Stage 6: Fog)
├── Stage 6 done -> Load `strata-compositing` (Stage 7: Dynamic FX -> Stage 8: Post-FX)
└── Fixing a defect in an existing scene?
├── Weak silhouette, bad bevels, mesh overlap -> Re-enter `strata-geometry`
├── Chalky albedo, uniform CG noise, dry puddles -> Re-enter `strata-materials`
├── Flat contrast, dead reflections, milky haze -> Re-enter `strata-atmosphere`
└── Static weather, fireflies, harsh digital pixels -> Re-enter `strata-compositing`
```
Never combine two stages inside one `execute_blender_code` call. Mixing geometry edits with shader or lighting changes makes it impossible to tell whether a broken frame came from bad normals, bad albedo, or bad exposure.
## Pre-condition (Stage 0): spatial blockout and scene manifest
Before building a single bevel or shader node, lock global coordinates `(X, Y, Z)`, scale proportions, and camera framing with low-poly bounding boxes:
1. **Create semantic proxy primitives** inside collection `00_Blockout` using real-world meter dimensions. Tag each proxy `obj["semantic_role"]` with one of six values:
- `structural_architecture`: walls, facades, columns, roofs, roadbeds, curbs.
- `ground_plane`: primary terrain or street surface receiving contact shadows and puddles.
- `hero_prop`: focal foreground or midground object anchoring human scale.
- `scatter_prop`: repeated secondary dressing (debris, foliage, bollards, cables).
- `liquid_mask_zone`: planar bounds marking standing water regions.
- `emitter_proxy`: overhead volume marking Stage 7 particle emission bounds.
2. **Lock the camera immediately.** Set `camera.data.lens` (`24-35 mm` wide architectural, `50-85 mm` compressed street or hero), `clip_start = 0.1`, `clip_end` covering `1.5x` the farthest proxy, and lock `lock_location = [True, True, True]` plus `lock_rotation = [True, True, True]`. Locking the camera at Stage 0 stops framing drift across stages and avoids modeling detail outside the frustum.
3. **Store `scene["scene_manifest"]` as JSON.** Record each proxy's `name`, `target_object`, `semantic_role`, world `center` `[x, y, z]`, and world `dimensions` `[w, d, h]`. Once Stage 1 replaces the proxies, set `00_Blockout` objects to `hide_render = True` and `display_type = 'WIRE'` rather than deleting them so the spatial contract stays inspectable.
## 8-stage dependency and invariant matrix
Every stage transition must obey this contract:
| Stage | Required input state | Allowed mutations | Frozen invariants (never mutate) | Mandatory gate check |
| --- | --- | --- | --- | --- |
| **0. Blockout** | Scene brief, metric scale | Proxy boxes, `scene_manifest`, locked camera | Unit scale (`1.0 m`) | Viewport render checking composition, horizon, silhouette hierarchy |
| **1. Model** | `scene_manifest`, locked camera | Mesh topology, modifiers, curves, `scale=(1,1,1)` | Global anchor `(X,Y,Z)`, AABB bounds (`<= +2%`), camera | Clay override render (`0.18` grey, `Roughness=0.85`) + `stage_gate_audit.py` stage `1` |
| **2. Base Colour** | Normalized meshes (`scale==1`) | Material slots, linear RGB albedo (`0.02-0.82`), `Roughness=1.0` | Mesh topology, object transforms | Flat diffuse render checking material separation and value ratios |
| **3. Texture** | Slotted flat materials | Multi-scale `Object`-space noise, Voronoi, AO cavity, `Bump` (`<= 8 mm`) | Geometry, transforms, Stage 2 base palette ratios | Render checking zero uniform CG patches and clean shadow terminators |
| **4. Shading** | Textured node graphs | `Roughness`, `Metallic`, `IOR`, `Coat`, wetness darkening, `[0,0,1]` puddle normals | Geometry, object transforms, camera | Grazing check confirming contrast across matte, damp, metal, and mirror puddles |
| **5. Lighting** | Calibrated PBR materials | Physical light emitters, Kelvin `2700-3200K` vs `6500-8500K`, world `<= 0.05` | All BSDF material nodes (except emissive bulb filaments) | Render confirming warm-cool separation and bright puddle reflections |
| **6. Fog** | Active radiometric lights | Bounded `Principled Volume` box, Beer-Lambert `Density`, `Anisotropy` `0.45-0.70` | Light transforms, light energies, primary exposure | Render confirming directional light shafts and depth contrast rolloff |
| **7. Dynamic FX** | Collision meshes, `OUT_PuddleMask` | Rain/debris streaks, motion blur, upward-normal splashes, masked puddle ripples | Architecture meshes, primary lighting, volume density | Render confirming angled backlit streaks, sky-exposed splashes, puddle-only ripples |
| **8. Post-FX** | Linear HDR render output | `AgX` view transform, `scene.compositor_effects` (`Fog Glow`, `S-curve`, `Lensdist`, luminance grain) | **Every** 3D object, mesh, material, volume, particle, and light | Final render audit: zero clipped patches, zero black borders, zero RGB chroma noise |
## Incremental gatekeeping protocol
Never increment `scene["synthesis_stage"]` from `N` to `N + 1` until both checks pass:
1. **Deterministic data audit:** Run [stage_gate_audit.py](scripts/stage_gate_audit.py) inside `execute_blender_code` with `TARGET_STAGE = N`. Fix every entry in `result["violations"]` before rendering. Rendering a scene with unapplied object scales or `1.0 m` bump distances wastes render time on broken inputs.
2. **Visual render inspection:** Render the locked camera via `render_viewport_to_path` to `stage_0N_<name>.png` and inspect the image. State in one sentence what passed and what failed before advancing.