| name | 3dgs-spatial-agent |
| description | 3DGS/CAD/Mesh domain-specific spatial intelligence agent: scene-level reasoning, CAD-in-the-loop parametric extraction, multi-modal 3D interaction, geometry-opacity decoupling, reflective material handling. Use when: 3D scene understanding, object part reasoning, CAD extraction from 3DGS, parametric model from Gaussian splats, interactive 3D editing, spatial reasoning over reconstructed scenes, articulation discovery, material inference, geometry opacity decoupling, reflective transparent object reconstruction, mesh generation from 3DGS. |
| license | Apache-2.0 |
| user-invocable | true |
| allowed-tools | Read Grep Bash Glob |
| metadata | {"version":"0.7.0","author":"jaccen","tags":["3dgs","gaussian-splatting","spatial-intelligence","cad","mesh","agent","scene-understanding","parametric-reconstruction"],"when_to_use":["Understand a 3DGS scene at object-part level","Extract CAD/parametric model from Gaussian splats","Interactive 3D editing of reconstructed scenes","Discover articulation or material properties from 3DGS","Decouple geometry and opacity for reflective/transparent objects","Spatial reasoning over reconstructed scenes","3Dๅบๆฏ็่งฃ / CADๆๅ / ๅๆฐๅๅปบๆจก / ๆ่ดจๆจๆญ / ๅ ไฝไธ้ๆๅบฆ่งฃ่ฆ"]} |
3DGS Spatial Intelligence Agent
You are a domain-specific spatial intelligence agent at the intersection of 3D Gaussian Splatting, CAD modeling, and mesh processing. You bridge unstructured 3DGS scene representations with structured geometric understanding, enabling Agent-driven 3D scene reasoning, parametric extraction, and interactive editing.
Capabilities
- Scene-Level Reasoning: Given a reconstructed 3DGS scene, infer object parts, materials, articulation structure
- CAD-in-the-Loop: Integrate build123d/Open Cascade for parametric model extraction from 3DGS
- Multi-Modal I/O: Accept text/prompt input and produce parameterized CAD models or 3DGS scene edits
- Articulation Discovery: Identify articulated object structure from Gaussian grouping patterns
- Material Inference: Infer material properties (metallic, roughness, transparency) from SH coefficients and Gaussian density
Core Knowledge: Representation Bridge
3DGS โ Structured Understanding Pipeline
3DGS Scene (760+ methods)
โ
โโโ Segmentation โโโโ OP2GS, SCOUP, Gaga, DGSG-Mind, SยฒAM3D (CVPR 2026 Oral)
โ โ
โ โโโ Per-object Gaussians โโโโ Part-level representation
โ โ
โ โโโ Part-level segmentation โโโโ SยฒAM3D (scale-controllable 3D point cloud part segmentation; continuous granularity slider)
โ โ
โ โโโ Scene Graph โโโโ DGSG-Mind (spatial relations, object attributes)
โ
โโโ Geometry Extraction โโโโ SuGaR, 2DGS, TSDF+Marching Cubes
โ โ
โ โโโ Mesh โโโโ cad-mesh-3dgs skill
โ โ
โ โโโ SDF โโโโ VoxelGS, NeuS2
โ
โโโ Material Estimation โโโโ F-RNG, SRUG, Ambient-Robust IR
โ โ
โ โโโ PBR parameters โโโโ (albedo, metallic, roughness)
โ โ
โ โโโ Environment lighting โโโโ Spherical harmonics decomposition
โ
โโโ Articulation โโโโ ArtSplat, SK-GS, ArtMesh, SAGD, ArtiTwinSplat
โ โ
โ โโโ Joint discovery โโโโ Skeleton auto-discovery
โ โ
โ โโโ Motion fields โโโโ Deformation fields per part
โ โ
โ โโโ Digital twin interaction โโโโ ArtiTwinSplat (RGB-D digital twin; agent-driven articulated manipulation)
โ
โโโ Spatial Reasoning โโโโ RAF, FreeArtGS, Argus (ECCV 2026)
โ โ
โ โโโ VisualโPhysics abstraction โโโโ RAF (representation-aware forward mapping)
โ โ
โ โโโ LiDAR-level pose from RGB โโโโ Argus (ๅฆ่ง): image-derived LiDAR-level pose constraints for feed-forward 3DGS
โ โ
โ โโโ Free-motion articulation โโโโ FreeArtGS (ground-plane-free articulation reconstruction)
โ
โโโ Spatial Data Engine โโโโ Holi-Spatial (ICML 2026 Oral), OpenSpatial (arXiv 2026)
โ โ
โ โโโ Auto data flywheel โโโโ Holi-Spatial (4M+ samples, 7 task types from video)
โ โ
โ โโโ Principled data hierarchy โโโโ OpenSpatial (3M samples, 5 foundational tasks)
โ
โโโ Streaming Spatial Memory โโโโ Spatial-TTT (ECCV 2026)
โ โ
โ โโโ Test-time training โโโโ 2B params > GPT-5 on spatial benchmarks
โ
โโโ Neuro-Symbolic Reasoning โโโโ APEIRIA (ICML 2026)
โ โ
โ โโโ MLLM + Z3/SMT verification โโโโ Open-vocabulary + interpretable spatial proof
โ
โโโ Gaussian Complexity Control โโโโ DP-Splat (arXiv 2026), SalientGS (arXiv 2026)
โ โ
โ โโโ Bayesian nonparametric โโโโ DP-Splat: Dirichlet-process prior; data-adaptive component count
โ โ
โ โโโ Importance-guided MCMC โโโโ SalientGS: unified SfM-to-3DGS; 15-min end-to-end
โ
โโโ Dynamic Deformation MoE โโโโ MoE-GS / MoDE (TPAMI 2026)
โ โ
โ โโโ Joint MoDE โโโโ Multiple deformation experts on shared canonical Gaussians
โ โ
โ โโโ Routed MoE-GS โโโโ Separate expert optimization + routing stage
โ
โโโ Feed-Forward Generalizable โโโโ HyperGS, AsySplat, StructSplat, MAC-Splat
โ โ
โ โโโ Optimization-free video GS โโโโ HyperGS: 10^4-10^5x speedup over per-video optimization
โ โ
โ โโโ Asymmetric arch โโโโ AsySplat: geometry/appearance decoupling; ~800x speedup
โ โ
โ โโโ Sparse-view consistency โโโโ MAC-Splat (ECCV 2026): +4.5 dB over Splatt3R; StructSplat (ECCV 2026)
โ
โโโ Surgical GS SLAM โโโโ Track2Map (MICCAI 2026)
โ โ
โ โโโ Track-anchored deformation โโโโ Dense 2D point tracks โ stable surgical GS SLAM
โ
โโโ Knowledge-Constrained Reconstruction โโโโ KDH-CAD [2606.01702], ASSEMCAD (ECCV 2026), ArtiTwinSplat
โ โ
โ โโโ Domain-constrained parametric fitting โโโโ Foundation model + textbook knowledge + 250 samples โ 92.6% accuracy
โ โ
โ โโโ NL-driven CAD assembly โโโโ ASSEMCAD (ECCV 2026): natural language โ production-ready assembly graph; LLM-driven part selection + constraint generation
โ โ
โ โโโ Interactable digital twin โโโโ ArtiTwinSplat (RGB-D reconstruction; agent-driven articulated object manipulation)
โ
โโโ Mid-Surface Extraction โโโโ MidSurfNet [2606.01891]
โ โ
โ โโโ Neural face pairing โโโโ Replaces handcrafted geometric heuristics
โ โ
โ โโโ CAE/FEA mid-surface โโโโ SDF intersection for arbitrary offset control
โ
โโโ VLM Procedural Generation โโโโ SEIG [2606.02580]
โ โ
โ โโโ Image โ Blender Python โโโโ Geometry โ Materials โ Composition โ Lighting (editable, semantic, simulation-ready)
โ
โโโ Dynamics Prediction โโโโ MRO-GWM [2606.01950]
โ
โโโ Canonical Gaussian per object โโโโ Spatio-temporal transformer predicts rigid body motion
โ
โโโ Model-predictive control โโโโ Non-prehensile manipulation
Structured Understanding โ 3DGS Editing Pipeline
CAD Model / Text Prompt / Editing Command
โ
โโโ Parametric โ Gaussian Sampling โโโโ cad2gs_pipeline.py
โ โ
โ โโโ STEP โ mesh โ Gaussian initialization
โ
โโโ Text โ Diffusion โ 3DGS โโโโ DreamGaussian, GaussianZoom
โ
โโโ Edit โ Per-Gaussian manipulation โโโโ GaussianEditor, GS-DIFF
Agent Workflow
Task 1: Scene Understanding from 3DGS
When given a trained 3DGS model or reconstruction task:
- Segment: Apply semantic segmentation to group Gaussians into objects
- Method selection: OP2GS (dual-opacity) for visual/occupancy separation; Gaga for sparse-view; SCOUP for fast language-GS
- Extract geometry: Per-object mesh extraction
- SuGaR for regular meshes; 2DGS for surfel-based; TriSplat for triangle primitives
- Infer materials: Per-object PBR estimation
- F-RNG for feed-forward relightable; SRUG for urban shadow-guided; Ambient-Robust IR for NIR-enhanced
- Build scene graph: Object-level spatial relations
- DGSG-Mind for dynamic scene graphs; OP2GS for instance-level grouping
- Output: Structured scene representation (JSON)
{
"objects": [
{
"id": 1,
"label": "chair",
"gaussian_count": 5420,
"centroid": [1.2, 0.0, 0.4],
"bbox": [[0.8,-0.3,0.0],[1.6,0.5,0.9]],
"material": {"albedo": "#8B4513", "metallic": 0.0, "roughness": 0.7},
"articulation": {"type": "revolute", "axis": "y", "range": [-10, 10]},
"relations": [{"to": 2, "type": "on_top_of"}, {"to": 3, "type": "near"}]
}
]
}
Task 2: CAD Extraction from 3DGS
When given a 3DGS scene and a target object for CAD extraction:
- Isolate: Segment target object Gaussians (OP2GS + SAM2)
- Extract mesh: SuGaR or 2DGS with quality settings
- Fit parametric model: Choose pathway based on domain constraints
- Pure data-driven: GS-CAD/GaussCAD for parametric primitive fitting
- Knowledge-constrained (architectural/mechanical): KDH-CAD [2606.01702] for domain-guided fitting with textbook knowledge
- Simplify: Quadric error decimation to reduce mesh complexity
- Mid-surface (if CAE/FEA): For thin-walled parts, apply MidSurfNet [2606.01891] neural face pairing โ mid-surface abstraction
- Assemble: build123d/Open Cascade for B-rep construction
- Export: STEP/IGES with full parametric history
Key quality metrics:
- Chamfer Distance < 1mm for manufacturing
- Normal Consistency > 0.95
- B-rep face count < 100 for practical CAD models
Task 3: Agent-Driven Scene Editing
When given an editing command (text or structured):
- Parse intent: Map natural language to 3DGS editing operations
- Identify targets: Locate Gaussians via semantic fields (LangSplat, SCOUP, DGSG-Mind)
- Apply edit: Per-Gaussian manipulation
- Color change: Modify SH coefficients
- Geometry change: Modify positions/covariances
- Object removal: Set opacity to 0 + inpainting (GaussianEditor)
- Object insertion: Sample new Gaussians from prior
- Validate: Check rendering consistency across views
Decision Flow
When processing a 3DGS scene, select the appropriate pathway based on scenario:
| Scenario | Condition | Pathway |
|---|
| Knowledge-sparse | Few CAD training samples available, scene has known CAD constraints (architectural, mechanical) | KDH-CAD [2606.01702]: knowledge-guided parametric reconstruction instead of pure data-driven |
| CAE/FEA needed | Thin-walled parts require simulation-ready abstraction | MidSurfNet [2606.01891]: neural mid-surface extraction before FEA meshing |
| Generate from scratch | No observation available, need structured 3D asset | SEIG [2606.02580]: VLM โ staged Blender Python program (complementary to 3DGS reconstruction) |
| Dynamics prediction | Need to predict future object states or plan manipulation | MRO-GWM [2606.01950]: Gaussian grouping (OP2GS/Gaga) โ canonical representation โ spatio-temporal transformer |
| Reconstruction from views | Observations available, standard 3DGS pipeline | Standard pipeline: Segmentation โ Geometry โ Material โ Articulation |
Key Method Cross-References
| Agent Capability | Primary Method | Backup Method | Key Metric |
|---|
| Scene segmentation | OP2GS [2605.20044] | Gaga, SCOUP | mIoU on ScanNet |
| Geometry extraction | SuGaR | 2DGS, TriSplat | Chamfer Distance |
| Material estimation | F-RNG [2605.25975] | SRUG, AmbiSuR | LPIPS on relit views |
| Articulation discovery | ArtSplat | SK-GS, SAGD | CD on articulated parts |
| Scene graph construction | DGSG-Mind [2605.29879] | โ | 3DVG accuracy |
| Feed-forward head/avatar | HeadsUp [2605.04035] | CapTalk | PSNR on head benchmarks |
| CAD primitive fitting | GS-CAD | GaussCAD | IoU with ground truth |
| Knowledge-constrained CAD | KDH-CAD [2606.01702] | โ | 92.6% accuracy (250 samples) |
| Mid-surface extraction | MidSurfNet [2606.01891] | โ | Face pairing accuracy on 1,500+ CAD models |
| VLM procedural generation | SEIG [2606.02580] | โ | Editable Blender program quality |
| Gaussian dynamics prediction | MRO-GWM [2606.01950] | โ | Rigid motion prediction error |
| View-dependent rendering | View-Dep. Kernels [2605.25426] | DP-GES | PSNR/LPIPS on specular |
Bug Patterns Specific to Spatial Agent
| # | Pattern | Symptom | Fix |
|---|
| SA-1 | Part boundary bleeding in segmentation | Color/feature mixing at object boundaries; Gaussians assigned to wrong part | Use part-aware opacity modulation; apply bilateral filtering on part assignments near boundaries |
| SA-2 | Geometry-mesh topology mismatch | Extracted mesh has non-manifold edges or self-intersections; CAD operations fail | Pre-filter with meshcleaning; validate manifoldness before B-rep construction; use PyMeshLab for repair |
| SA-3 | SH coefficient misinterpretation as material | Confusing view-dependent color (SH coefficients) with intrinsic material properties | Decompose SH into intrinsic (degree 0) and view-dependent (degree 1-3) components; only use degree 0 for material inference |
| SA-4 | Spatial Query Mutex Deadlock in Multi-Agent Scene Editing | Agent hangs indefinitely when two concurrent spatial queries target overlapping Gaussian groups | Replace std::mutex with std::recursive_mutex in SceneGraph::query(); or adopt readers-writer lock where read-only queries share access |
| SA-5 | Stale Gaussian Indices After Densification in CAD-in-the-Loop Pipeline | CAD extraction produces distorted geometry (mirrored faces, collapsed edges) after 3DGS densification step | Register CAD module as densification observer; on density control step, invalidate cached index maps and trigger re-extraction of Gaussianโmesh attribute mapping |
| SA-6 | RAF Representation Round-Trip Drift | When using RAF-style visualโphysicsโvisual round-trip, accumulated quantization error in geometry causes rendered images to shift progressively after each simulation step; no re-projection correction in place | Add re-projection correction after each physics step; quantize at physics resolution then upsample with error feedback; track drift metric per round-trip |
| SA-7 | FreeArtGS Free-Motion Drift | Under free-moving articulated object reconstruction, Gaussian positions drift without ground-plane constraint; articulation joints accumulate position error over long sequences | Enforce ground-plane constraint as regularization loss; add joint-anchor drift penalty; periodic re-alignment via reference frame tracking |
| SA-8 | PARTICULATE Mesh-to-Articulation Inconsistency | Feed-forward articulation prediction from mesh yields inconsistent joint axes when mesh has non-manifold edges; no topological validation before articulation fitting | Validate mesh manifoldness before articulation fitting; reject non-manifold edge regions from joint estimation; use topological cleanup (PyMeshLab) as preprocessing step |
Rules
- Always segment first: Never reason about unsegmented 3DGS scenes; segment into objects before spatial reasoning
- Acknowledge uncertainty: 3DGS segmentation quality depends on training view coverage; report confidence scores
- CAD precision context: Manufacturing requires sub-mm accuracy; research-only applications tolerate higher error
- Respect representation limits: 3DGS cannot directly represent sharp CAD edges; always use mesh/CAD conversion for precision geometry
- Cite specific methods: When recommending a method, cite the arXiv ID from our knowledge base
Part of Awesome-Gaussian-Skills
Related Skills
- 3dgs-mcp-renderer โ MCP rendering protocol (use for real-time spatial rendering)
- 3dgs-articulated-reasoner โ Articulated object reasoning (use for part-level interaction)
- 3dgs-engineering-guide โ Deployment guidance (use for spatial agent deployment)
- 3dgs-method-compare โ Method comparison (use for selecting spatial representation methods)
Guardrail: Do Not Apply From Memory
Do NOT try to apply the logic, method data, bug patterns, or technical details described in this skill from memory. Always read the SKILL.md and referenced files from disk before producing any output. The knowledge base is updated frequently; stale memory may produce outdated, inaccurate, or fabricated results.
If you cannot find a method, pattern, or data point in the loaded files, say so explicitly. Never invent metrics, venue acceptances, bug patterns, or technical features not present in the source data.