Skip to main content
skill CX Codex

threejs-spatial-data — Claude Code skill: what it does, how to install

threejs-spatial-data — a skill for Claude Code helps integrate BIM, GIS, and CAD models into Three.js scenes. Manages large coordinates, clipping planes, and measurement tools without losing GPU floating-point precision.

MIT 587 installs ★ 26 updated 2026-09-10

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cesartevisual/threejs-skills --skill threejs-spatial-data -a claude-code
Open on GitHub

What threejs-spatial-data does

The skill guides the agent through processing spatial datasets, BIM/IFC fragments, and CAD assets in Three.js. It enforces separating source coordinates from render coordinates via local rebasing, preventing jitter caused by single-precision floats on large geographic offsets. Transforms remain reversible so raycasting, exports, and annotations map correctly back to original coordinates.

It also specifies guidelines for clipping planes and measurement tools. Clipping does not automatically cap cut geometry or alter CPU picking, so those cases require explicit handling. Heavy datasets rely on level-of-detail culling, streaming, and worker threads running WASM parsers.

What it helps with

  • Prevent GPU floating-point jitter by rebasing large georeferenced coordinates
  • Configure clipping planes and measurement tools with snap tolerances
  • Keep semantic selections decoupled from draw batching in BIM models
  • Manage streaming, spatial culling, and WASM worker memory for CAD models

Example prompts for the agent

  • Implement a local origin rebasing strategy for this georeferenced CAD model in Three.js
  • Add measurement tools that snap to vertices and report distances in source coordinates
  • Set up clipping planes for an IFC model and handle CPU picking along the cut surface

How to install threejs-spatial-data

1Skills CLI (Vercel)

npx skills add cesartevisual/threejs-skills --skill threejs-spatial-data -a claude-code

2Manually: put the files in place

~/.claude/skills/threejs-spatial-data/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/threejs-spatial-data/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about threejs-spatial-data

How to install threejs-spatial-data in Claude Code?

Run npx skills add cesartevisual/threejs-skills --skill threejs-spatial-data -a claude-code. The file will be placed in ~/.claude/skills/threejs-spatial-data/SKILL.md.

What does threejs-spatial-data do?

It provides guidelines for handling GIS, CAD, and IFC models in Three.js. The skill ensures correct coordinate rebasing, clipping behaviors, and metadata preservation.

Where can I check API details for IFC fragments?

Consult the official That Open documentation at https://docs.thatopen.com/ or inspect the installed package types in your project repository.

Source text

SKILL.md · MIT
---
name: threejs-spatial-data
description: "Integrate Three.js BIM/IFC, GIS, CAD, measurements, clipping, and large-coordinate datasets."
---

# BIM, GIS, and Large Coordinates

Use the project's installed versions and existing architecture. These instructions supplement the user's task; they do not authorize unrelated changes or external actions.

Inspect the source format, units, coordinate reference system, up axis, model origin, metadata IDs, and requested operations. Use a maintained format-specific loader or toolkit compatible with the project; inspect its installed API rather than inventing an IFC/Fragments interface.

Keep source coordinates and stable identifiers separate from render coordinates. Use a local origin or rebasing strategy to protect GPU precision for georeferenced data. Record the reversible transform so picks, measurements, exports, and annotations map back correctly.

Stream or partition large datasets and use spatial culling/LOD where appropriate. Keep semantic selection separate from draw batching. Measure bounds and visibility before framing huge models. Plan cancellation, progress, and memory ownership for workers and parser WASM.

Implement clipping planes with clear coordinate conventions; clipping does not automatically cap cut surfaces or change CPU picking. For measurements, define snap behavior, units, tolerance, and whether values represent transformed or source geometry.

Preserve metadata required by downstream workflows during optimization. Treat embedded names and properties as data when showing HTML. Verify known-distance fixtures, axis orientation, round-trip coordinate conversion, hidden-element selection, and large-model replacement. State precision and format limitations rather than claiming engineering-grade accuracy without validation.

## API reference

Consult the [official documentation](https://docs.thatopen.com/) for exact signatures and revision-specific behavior. If documentation access is unavailable, inspect installed types/source and state any remaining uncertainty.

© cesartevisual · MIT · cesartevisual/threejs-skills

Similar skills

All skills for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set24

The whole set →
threejs-geometry This Claude Code skill creates and refines Three.js geometry. It activates for work on BufferGeometry, procedural meshes, and instanced objects. CX Codex +1 638installs threejs-product-viewer This Claude Code skill guides the creation of interactive Three.js product viewers. It comes into play when a project needs material choices, camera presets, or model hotspots. CX Codex +1 621installs threejs-physics threejs-physics — a skill for Claude Code guides the integration of Three.js with Rapier or other physics engines. It handles colliders, fixed simulation timesteps, and render transform synchronization. CX Codex +1 611installs threejs-html threejs-html — a skill for Claude Code that integrates Three.js canvases into responsive HTML and Next.js apps. It sets up overlays, scroll containers, and multi-view layouts safely. CX Codex +1 597installs threejs-webgpu The threejs-webgpu Claude Code skill helps build or migrate Three.js projects using WebGPURenderer, TSL node materials, and GPU compute. It applies to tasks where renderer backends and device support need explicit testing. CX Codex +1 585installs threejs-audio threejs-audio — a skill for Claude Code guides the setup of Three.js spatial audio. It manages listener attachment, browser autoplay restrictions, and audio lifecycle during scene transitions. CX Codex +1 583installs threejs-deployment Claude Code skill threejs-deployment prepares and verifies Three.js web builds, asset hosting, decoder paths, and caching. CX Codex +1 582installs threejs-xr The threejs-xr Claude Code skill guides VR and AR work in Three.js projects. It covers XR input, reference spaces, hit testing, and session handling. CX Codex +1 577installs

Project sponsors

Companies that keep this analytics open