threejs
Skill by asgeirtj
threejs is a hub skill for Three.js, the 3D library. It points the assistant to ten topic reference files covering patterns and API guidance. It is for developers building 3D scenes with Three.js.
Install threejs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.claude/skills && cp -r /tmp/system_prompts_leaks/Meta/muse-code/plugins/threejs/skills/threejs ~/.claude/skills/threejsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/system_prompts_leaks/Meta/muse-code/plugins/threejs/skills/threejs ~/.gemini/antigravity-cli/skills/threejsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
threejs is a hub skill for Three.js, the JavaScript 3D library. Its body is a catalog with one row for each of ten topics: fundamentals, geometry, materials, lighting, textures, animation, loaders, shaders, postprocessing and interaction. Each topic has its own file under references/, named threejs-<topic>.md.
When a task touches one of these topics, the skill tells the assistant to read that topic's file in one hop. The path is joined against the skill-dir value in the wrapper header and passed to read_file. The source is marked MIT licensed and links to the CloudAI-X threejs-skills repository. It is aimed at developers who want pattern and API guidance while working with Three.js.
Written from the project's SKILL.md and checked against it.
What it can do
- Scene setup referenceCovers scene setup, cameras, renderer, Object3D hierarchy and coordinate systems.
- Geometry referenceCovers built-in shapes, BufferGeometry, custom geometry and instancing.
- Materials referenceCovers PBR, basic, phong and shader materials, and material properties.
- Lighting referenceCovers light types, shadows and environment lighting.
- Textures referenceCovers texture types, UV mapping, environment maps and texture settings.
- Animation referenceCovers keyframe and skeletal animation, morph targets and animation mixing.
- Loaders referenceCovers GLTF, textures, images, models and async loading patterns.
- Shaders referenceCovers GLSL, ShaderMaterial, uniforms and custom effects.
- Postprocessing referenceCovers EffectComposer, bloom, depth of field and screen effects.
- Interaction referenceCovers raycasting, controls, mouse and touch input, and object selection.
Try asking
- Use threejs to set up a basic scene with a camera and renderer
- Show me how to add bloom with Three.js postprocessing
- How do I raycast a click to select an object in Three.js?
Good to know
- The topic files are not included in the source text shown here.
- The skill is a hub and relies on a read_file tool and the skill-dir value to open its topic files.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: Meta/muse-code/plugins/threejs/skills/threejs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md1 KB -
references/threejs-animation.md12 KB -
references/threejs-fundamentals.md11 KB -
references/threejs-geometry.md14 KB -
references/threejs-interaction.md16 KB
Show all 11 files
-
references/threejs-lighting.md12 KB -
references/threejs-loaders.md14 KB -
references/threejs-materials.md13 KB -
references/threejs-postprocessing.md14 KB -
references/threejs-shaders.md14 KB -
references/threejs-textures.md13 KB
Alternatives to threejs
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
threejs: common questions
What topics does the threejs skill cover?
The source lists ten topics: fundamentals, geometry, materials, lighting, textures, animation, loaders, shaders, postprocessing and interaction. Each has its own reference file.
How does the assistant use the threejs skill?
When a task touches a topic, the assistant reads that topic's file. It joins the reference path against the skill-dir value and passes the absolute path to read_file.
What license is the threejs skill under?
The source states the license is MIT. It links to the CloudAI-X threejs-skills repository.
How do I install threejs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is threejs free?
The code is published under the CC0-1.0 licence. The service it connects to may have its own pricing.
Is threejs safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, 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?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
