threejs-scene-composition

threejs-scene-composition is a skill for Claude Code, Codex from calesthio/generative-media-skills. It costs 85 tokens per session (4,144 once invoked), scanned A, original, MIT.

A production guide for building complete 3D scenes in Three.js, a JavaScript library for displaying 3D graphics in a web browser. It covers scene layout, animation, lighting, materials, effects, rendering, and review.

In plain words
What is it for?
Use it for browser-based 3D product shots, title sequences, procedural worlds, animated cameras and lights, glTF scene assembly, and rendered frame exports.
Why use it?
It helps turn approved 3D assets and a creative idea into a repeatable browser-rendered scene. It also helps catch browser, renderer, and delivery problems before handoff.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for browser-based 3D product shots, title sequences, procedural worlds, animated cameras and lights, glTF scene assembly, and rendered frame exports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/calesthio/generative-media-skills/threejs-scene-composition
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add calesthio/generative-media-skills --skill threejs-scene-composition
Clone the repo
git clone --depth 1 https://github.com/calesthio/generative-media-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for threejs-scene-composition

README.md
[![agentmods](https://agentmods.dev/badge/skills/calesthio/generative-media-skills/threejs-scene-composition/github.svg)](https://agentmods.dev/skills/calesthio/generative-media-skills/threejs-scene-composition)
Your own site
<a href="https://agentmods.dev/skills/calesthio/generative-media-skills/threejs-scene-composition"><img src="https://agentmods.dev/badge/skills/calesthio/generative-media-skills/threejs-scene-composition/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for threejs-scene-composition

Your own site · 80×15
<a href="https://agentmods.dev/skills/calesthio/generative-media-skills/threejs-scene-composition"><img src="https://agentmods.dev/badge/skills/calesthio/generative-media-skills/threejs-scene-composition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,144 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.04144
Opus 5 $0.00043 $0.02072
Sonnet 5 $0.00017 $0.00829
Haiku 4.5 $0.00009 $0.00414

Measured 9d ago against content hash 07e5044adfd3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

threejs-scene-composition scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/production/runtime-assembly/threejs-scene-composition/SKILL.md · 331 lines

How it starts

The opening of the file, as written. The whole thing — 331 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Three.js scene composition

Use Three.js when depth, camera, lighting, material response, geometry, or spatial animation carries the media idea and a browser-rendered scene is an appropriate production surface. This skill begins after asset requirements and creative intent are known and ends with a reproducible rendered scene package.

It does not teach mesh modeling, retopology, rig authoring, physics simulation, WebXR product design, or game logic. It may consume approved glTF assets, animation clips, textures, environment maps, fonts, data, and audio cues produced elsewhere.

Evidence stance

  • Documented fact means behavior specified by official Three.js, Khronos, WebGL, or W3C sources.
  • Production heuristic means a useful starting point that must be tested on the actual scene and delivery hardware.
  • Empirical observation means a result measured from the scene, frame output, browser, GPU, or encoded deliverable.

Three.js releases frequently and examples/addons may change paths or APIs. Facts and links were checked 2026-07-12. Pin and record the installed revision, check migration notes, and test the exact target browser and renderer before delivery. WebGPU support and renderer parity are especially volatile.

Decide whether Three.js is the right renderer

Use Three.js when the deliverable needs:

  • a real 3D camera, parallax, depth, occlusion, or spatial continuity;
  • glTF scene or product assets rendered with browser PBR materials;
  • skeletal, morph-target, keyframe, or procedural 3D animation;
  • custom shaders, particles, instancing, or post-processing;
  • deterministic frame capture from a browser-based composition system;
  • one scene adapted across aspect ratios or camera framings.

Prefer another approach when:

  • a 2D compositor can express the result more clearly and cheaply;
  • the job is to prepare a mesh for downstream engines rather than compose a shot;
  • exact offline path tracing, feature-film simulation, or DCC-native handoff is required;
  • a static product render already exists and no 3D revision value remains;
  • the target depends on browser interactions rather than a rendered media deliverable.

Read the full file on GitHub · 331 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 331 lines · 85 tokens per session scan A 07e5044adfd3

Subscribe to this mod's changes

threejs-scene-composition is a skill published in the GitHub repository calesthio/generative-media-skills (170 stars, last pushed 2mo ago), licensed MIT. It adds 85 tokens to every session and 4,144 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

widgets

Render rich HTML inline via tags with theme-aware styling. Load when emitting an mcwidget so the iframe inherits the dashboard theme instead of clashing with light / dark / custom palettes.

kirodotdev/KiroCrew · 42 tokens

web-verify

Look at your OWN front-end change before claiming it works -- navigate the loopback URL of a dev server or pod you started, screenshot the surface you changed, read the image to judge it, and embed it in chat. Three capture backends: playwright-cli (the session the dashboard Browser panel shows), the agent-browser CLI…

kirodotdev/KiroCrew · 0 tokens

web-design

Penguin visual language for generated web pages and app UIs — GitHub-style simplicity with a single blue accent, light and pure-black dark themes, design tokens, component and chat-interface recipes, plus an opt-in warm paper editorial theme.

Prism-Shadow/penguin-harness · 51 tokens

frontend-design-workflow

Workflow for frontend features, visual changes, and product design changes. Present mockup options before writing code, build against the project's design system, capture the right evidence type (screenshots vs video), and run a new-user usability review before finalizing. Use when building or changing UI, styling…

kirodotdev/KiroCrew · 75 tokens

research-to-website

Build informative websites from research reports. Transforms research output (markdown or typst/pdf) into polished, domain-appropriate websites with professional design, data visualization, and scroll-based animations. Triggers on research-to-website tasks, report visualization, or when converting research into web…

Intelligent-Internet/ii-agent · 62 tokens

building-ui

Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.

Intelligent-Internet/ii-agent · 30 tokens