Ask an agent to turn a photo, a clip or a sentence into 3D and you get a default cube, washed-out colour, an 80 MB GLB and a “looks good” nobody checked. 3d measures your references into a spec, builds against an approved brief and shots, and shows versioned previews with captured evidence until you approve. It lands as an interactive model on your page, a live hero, a Blender asset or render, or a web-ready GLB.
runs onClaude CodeCodexCursorAntigravityopencodeGrok BuildHermes
Everything in 3d follows one idea: nothing is built before it is measured, and nothing is called done before it is captured.
Your request and every reference become a measured spec first — numbers a script took and judgements marked as such — then an approved brief and shots. Only then does the agent build, and it builds in versions: each one is previewed with a captured image for every shot, checked against the reference and the version before it, and judged by a fresh critic before you see it.
Your notes go back in as the next version, so the loop ends when you approve, not when the agent
feels finished. The state lives in files — 3D.md and .3d/ — so the work
survives a new session.
One arc, seven steps: prepare, decompose intent and references, write the brief and shots, pick the approach, build, then preview and iterate until you approve, and record. Detection comes first, so the agent asks only for your decisions, each with a recommended answer. Commands here are written short; the real form is <skill>/scripts/<x>, run from your project root so .3d/ lands in the project.
The arc is for a new piece. Debug, add or change one thing, a Blender asset and review and iterate are their own lanes and skip intake and brief unless the change contradicts the approved brief.
3D.md: run scripts/capabilities, fill 3D.md from the template. Never installs. → shared-preflight.mdscripts/ref-extract and vision passes into .3d/reference-spec.json; missing detail is grilled in rounds of ≤ 4 questions, two rounds at most. The turn ends on the restated brief and an explicit yes; with no live user it never blocks: it writes .3d/questions.md and proceeds on the recommended answers, tagged [assumed] in a brief marked needs-confirmation. → intake-grill.md · intake-references.md.3d/brief.md, .3d/shots.json (shots.v1) and the chosen look in .3d/look.json (look.v1), all checked by spec-check. Work then passes five sign-off gates in order — brief, style frames, blockout, lookdev, final — each on your yes; a change that crosses an approved gate re-opens it. → brief-spec.md · brief-lexicon.md3D.md; it names the area files to read next. → brief-approach.mdpreview new-version.preview board contact sheet, map each note to the next version. Stop on the gate’s approval. → shared-preview.mdscripts/glb-report against the recorded budget, a version-log line in 3D.md. → shared-verification.md“Make it look like this” becomes numbers before it becomes code. A mechanical pass measures what a script can; nine vision passes fill the rest; everything lands in one schema, refspec.v1, that the brief and the verification both read.
meta.json frames/ contact.jpg palette.json luma.json; video adds cuts.json motion.jsonrefspec.v1: camera, lighting, colour, materials, form, fx, plus hidden_or_unknown[] and conflicts[]Every leaf says where it came from:
measured by ref-extract — never overwritten, only commented on.
read seen directly in the image or frames.
inferred a judgement, with a range and a confidence.
spec-check validates refspec.v1, shots.v1, look.v1, feasibility.v1 and rounds.v1 files; exit 1 names the bad fields. Honesty limits are in the schema. Focal length is only reliable as a class (ultra-wide to long); EXIF overrides any visual estimate; one vanishing point gives no focal length; palette mixes albedo with light, so material colour comes from an unshaded region. Scale is unknown unless a known object is visible. Several references with a role and weight are reconciled into conflicts[], not averaged. → refspec.md · refspec-mapping.md · intake-references.mdFifty references in eleven packs. The router in SKILL.md reads only the files your lane names; no Blender rows for a code-built scene, no intake for a one-line change.
New request, vague prompt, image or video reference, brief, shots.
intake-grillintake-referencesrefspecrefspec-mappingbrief-specbrief-lexiconbrief-approachPick the web engine; tier each reference feature as live, bake-only or offline-only; the techniques that close real-time gaps; the feasibility gate that stops the loop with a MAX REACHED report.
engine-choicerealism-gaprealism-toolboxrealism-gatePreflight, symptom-first debugging, budgets, previews, claim-scoped verification.
shared-preflightshared-debugshared-performanceshared-previewshared-verificationRenderer, client-only Canvas in Next, look-dev, loaders, post, interaction, a live scene that waits for the page's entrance on every visit.
threejs-rendererthreejs-r3f-nextthreejs-lookdevthreejs-loadingthreejs-postfxthreejs-interactionthreejs-orchestrationGLSL on WebGLRenderer with a mobile fallback; TSL and WebGPURenderer with a verified WebGL2 fallback.
shader-glslshader-tslWorld sentence, scene ledger and critique for “looks flat or CG”; one look preset and one view transform, recorded.
design-art-directiondesign-lookdev-presetsStock, generative or image-to-procedural sourcing with a licence line; explicit GLB passes, master kept, size reported.
asset-acquireasset-pipelineDrive Blender (CLI or MCP); write bpy for 5.x; model, shade, UV and bake, texture, geometry nodes, rig, animate, simulate; lookdev and render; uncompressed GLB export; the 5.x API traps.
blender-channelsblender-scriptingblender-modelingblender-shadingblender-uv-bakeblender-texturingblender-geometry-nodesblender-riggingblender-animationblender-physicsblender-lookdev-renderblender-exportblender-version-trapsOptional placement: one conductor for camera path, chapters and pinned 3D; one adapter for native, Motion, GSAP, Lenis or ScrollControls; pre-rendered scrub video with currentTime from the conductor.
scroll-conductorscroll-adaptersscroll-videoSpline when a designer maintains the scene; splats, WebXR and AR Quick Look; routing for printable or mechanical parts.
splinesplats-xrcad-printWhere each technique came from, and licence questions.
SOURCESBrowse the full set: skills/3d/references/.
preview is how you review: a viewer for each version, a captured PNG for every shot, an A/B split against any other version or the reference, a storyboard contact sheet, and notes pinned to the image that the agent reads back and maps to the next version. All subcommands take --dir (default .3d).
f0001 · note · v003Rim light too hot against the reference.
f0002 · note · v003Shadow under the base reads too soft.
Compare: off · reference overlay · reference split wipe · version A/B split.
| Command | What it does |
|---|---|
preview serve | Serves the viewer over .3d/ on its own loopback port (default 4173). --app DIR also serves a built static page at /app/ for capture. Routes: / viewer, /api/state, POST /feedback, POST /shots (merges the viewer’s camera into shots.json). The viewer reads .3d/look.json so the preview matches the chosen look, and loads three.js from a pinned CDN, so it needs network. |
preview new-version --note | Creates .3d/versions/vNNN/ with a manifest.json. One version per change-set; a shown version is never edited. --technique T1,T8 records the techniques tried (read by rounds); --snapshot PATH… copies outputs in. |
preview capture | For every shot: setShot → step frames → capture → .3d/evidence/vNNN/<shot>.png. Low-resolution drafts (--size 854x480) first, 1600x900 for approval. No WebGL, a blank or constant frame, or a bridge that never becomes ready exits 1: a failed capture, not evidence. --clip SECONDS [--fps N] records a fixed-step frame sequence and an mp4 per shot, so ref-extract measures it like a reference video. --pathtrace [--samples N] adds a WebGPU path-traced twin (<shot>_pt.png); without WebGPU it exits 1 and names the Cycles fallback. Also --end, --shot ID, --force, --headed. |
preview diff A B | Two images or two version ids → side_by_side, blend, difference in .3d/diffs/, plus JSON with ssim and psnr_db; --edges adds an edge comparison. |
preview match --ref | Per shot, a version’s captures against a reference image or folder: ssim, edge_ssim, mask_iou, luma percentile error and delta_e, each PASS/WARN/FAIL against tolerances (overridable in feasibility.json); --json adds a ranking score. |
preview sweep --param | Renders every combination of --param name=a,b,c (max 24) for one shot into .3d/sweeps/vNNN/ with a contact sheet and rank.json; --ref orders them by match score. |
preview compare A B | Stacks two clips, or two versions with --shot, into one synced mp4 in .3d/compare/ (--stack v|h, --loops N). |
preview rounds | Reads feasibility.json, rounds.jsonl and version manifests and prints the deterministic stop verdict first: PASS, STOP (nothing fixable, plateau, diminishing returns, budget) or CONTINUE; then the best version and open fixable items by gain. |
preview board | Builds a storyboard contact sheet of a version’s shot captures with ids and notes into .3d/boards/; shown to you with each version. |
preview feedback | Prints your notes by version and shot from the append-only .3d/feedback.jsonl (kinds note, status, resolved; status approved or changes). |
preview stop | Stops the preview server (reads .3d/preview.pid); run when the session ends. |
Assets under .3d/ in the skill’s own viewer. The default for assets and look-dev, and the one the agent starts itself.
The scene runs in your project at ?3d-preview, driven through a dev-only window.__3d bridge so capture is deterministic. Adding the bridge is a change in your repo: the agent asks first.
3D.md says capture: auto. Capture needs python playwright and your installed Chrome (no browser download), and mode B proves layout and progress, not Safari rendering.Before any 3D work in a project with no 3D.md, a read-only pass settles what exists: capabilities writes .3d/capabilities.md (tools with cost, stack, Blender, MCP hints), the agent reads package.json and the scroll stack, picks defaults, and then asks one batched question about missing tools. It never installs without your yes.
| Cost label | Meaning |
|---|---|
| free | installs without an account |
| free-account | needs a login (you run it) |
| PAID | approval per job; never resubmitted on timeout |
| Tool | Needed for |
|---|---|
node ≥ 20 | gltf-transform, gltfpack, project builds |
blender ≥ 4.2 (5.2.2 tested) | modeling, headless export and render; the official Blender Lab MCP needs ≥ 5.1 |
gltf-transform · gltfpack · ktx | inspect, dedup, prune, meshopt/Draco, KTX2 |
ffmpeg | ref-extract, preview diff, contact sheets |
python playwright + Chrome | preview capture (installed Chrome, no browser download) |
uv · comfy | community Blender MCP via uvx; ComfyUI CLI for the local diffusion lane |
COMFYUI_URL · MESHY_API_KEY · TRIPO_API_KEY | generative-3D lanes; capabilities reports each as set or unset and never reads the value |
| Blender MCP (community or official; run one) · Spline MCP | interactive building — only a tool in the agent’s own list counts, and arbitrary-Python MCPs need your consent |
sudo, logins and system-wide installs stay with you. → shared-preflight.md · asset-acquire.mdEight universal rules from SKILL.md; project rules (CLAUDE.md, a motion doc, decisions already in 3D.md) outrank every default.
3D.md and .3d/capabilities.md; ask only your decisions, each with a recommended answer..3d/ only and preview stop ends it.glb-report or a measurement of that claim.3D.md, never a second copy.scroll-animation, image and video generation to generate-image and generate-video, CAD-to-print to manufacturing-workflow. 3d owns the 3D piece, not the page around it.Five lanes decide what gets read. A symptom always goes to shared-debug before any area file.
| Lane | Read |
|---|---|
| Debug: black, washed, blank, slow, unlike Blender or the reference | shared-debug → the one area file it names → shared-verification |
| Add or change one thing: a light, a shader, compress a GLB | the area row; shared-preview when you must see it |
| Build a new 3D piece end to end | the whole loop: front door → brief-approach → only the packs it names |
| Blender asset: model, texture, rig, animate, simulate, render, export | blender-channels → one Blender file; blender-scripting + blender-version-traps before writing bpy; asset-pipeline after export |
| Review and iterate: notes on a version, a ship check | shared-preview → shared-verification; shared-performance for numbers |
Full table: SKILL.md.
Install once. Invoke as /3d (or $3d in Codex) with a request, a reference file or URL, or a GLB or .blend path; phrases like “recreate this in 3D”, “make it look like this”, “3D hero”, “optimize this GLB”, “export from Blender” or “black R3F scene” route it too. Scripts are run as <skill>/scripts/<x> from your project root and write into its .3d/.
The same install runs on any Agent Skills
host. Codex installs to ${CODEX_HOME:-$HOME/.codex}/skills; agents
remains a separate cross-agent installation target.
Suggest gitignoring .3d/versions and .3d/refs.
| host | install target | command |
|---|---|---|
| Claude Code | ~/.claude/skills | ./install.sh claude |
| Codex | ${CODEX_HOME:-$HOME/.codex}/skills | ./install.sh codex |
| Cross-agent path | ~/.agents/skills | ./install.sh agents |
| Cursor CLI | ~/.cursor/skills | ./install.sh cursor |
| Antigravity (IDE + agy) | ~/.gemini/…/skills | ./install.sh antigravity |
| opencode | ~/.config/opencode/skills | ./install.sh opencode |
| Grok Build | ~/.grok/skills | ./install.sh grok |
| Hermes | ~/.hermes/skills | ./install.sh hermes |
Prefer npx skills add gabros20/3d-skill when you have Node — it maps supported clients itself.
More docs: docs/installation.md · docs/usage.md · docs/recipes.md.