Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

threejs-primitive-reconstructor

Skill by jasonkneen

Generates a single-file Three.js HTML scene from a low-poly, voxel, isometric, or stylized game-art reference image. Built for developers who want browser-runnable primitive reconstructions.

  • Score 82
  • 1.7k stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install threejs-primitive-reconstructor

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jasonkneen/tiny-world-builder /tmp/tiny-world-builder && mkdir -p ~/.claude/skills && cp -r /tmp/tiny-world-builder/.codex/skills/threejs-primitive-reconstructor ~/.claude/skills/threejs-primitive-reconstructor

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install threejs-primitive-reconstructor in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Threejs-primitive-reconstructor is an agent skill that turns static low-poly, voxel, isometric, or stylized game-art reference images into one plain HTML file that renders a Three.js scene. The skill tells the assistant to inspect the image first, write an analysis inventory covering camera, palette, structures, nature, and atmosphere, and then build the scene only from primitive geometry such as boxes, cylinders, cones, spheres, and groups.

The generated file loads Three.js through an import map from unpkg.com and uses MeshStandardMaterial, soft shadows, and a resize listener. The skill also includes a debugging checklist for scenes that do not render, a reusable prompt reference, and an HTML starter template. It is intended for users who want quick, runnable 3D asset drafts in the browser.

Written from the project's SKILL.md and checked against it.

What it can do

  • Image to Three.js sceneTurns a low-poly, voxel, isometric, or game-art image into one self-contained HTML file.
  • Analysis inventoryWrites a short inventory of camera, palette, structures, nature, and atmosphere before coding.
  • Primitive-only geometryBuilds the scene from box, cylinder, cone, sphere, and group primitives with MeshStandardMaterial.
  • Non-rendering debuggingLists steps to fix scenes that do not render, such as removing wrappers and checking the import map.
  • Reusable prompt and templateProvides reconstruction prompt wording and an HTML starter template for reuse.
  • Cottage reference shortcutIncludes a built-in breakdown of elements for a cropped cottage reference image.

What you need

  • A web browser to open the generated HTML file
  • Python 3, for the example local server and the template copy script

Try asking

  • Turn this low-poly cottage image into a single Three.js HTML scene
  • Debug why my Three.js HTML output is not rendering in the browser
  • Give me a reusable prompt for low-poly Three.js reconstruction

Good to know

  • Uses only primitive geometry, with no external assets, textures, GLTF, OBJ, FBX, or SVG.
  • Generated files should stay under roughly 500 lines unless more detail is requested.
  • Loads Three.js only through the unpkg.com import map, not esm.sh or cdn.jsdelivr.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .codex/skills/threejs-primitive-reconstructor/SKILL.md, .codex/skills/threejs-primitive-reconstructor/scripts/write_scene_from_template.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md4 KB
  • agents/openai.yaml206 B
  • assets/threejs-scene-template.html5 KB
  • references/reconstruction-prompt.md5 KB
  • scripts/write_scene_from_template.py687 B

Alternatives to threejs-primitive-reconstructor

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

threejs-primitive-reconstructor: common questions

Does it need external 3D models or textures?

No. The skill says not to use external assets, textures, GLTF, OBJ, FBX, SVG, or postprocessing.

What output does it produce?

It produces one self-contained .html file that loads Three.js through an import map and renders in the browser.

How do I fix a scene that does not render?

The skill says to remove React, JSX, iframe, and srcDoc wrappers, serve the file from a local server, and confirm the renderer canvas is appended to document.body.

How do I install threejs-primitive-reconstructor?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is threejs-primitive-reconstructor free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is threejs-primitive-reconstructor safe to use?

It scores 82 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to threejs-primitive-reconstructor?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

threejs-primitive-reconstructor Install

Add to stack

Loading.