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.
npx skills add pledgeandgrow/pledge-skills --skill threejsgit clone --depth 1 https://github.com/pledgeandgrow/pledge-skillsWrote 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.
[](https://agentmods.dev/skills/pledgeandgrow/pledge-skills/threejs)<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/threejs"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/threejs.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00112 | $0.01632 |
| Opus 5 | $0.00056 | $0.00816 |
| Sonnet 5 | $0.00022 | $0.00326 |
| Haiku 4.5 | $0.00011 | $0.00163 |
Grade A, and why
threejs-docs 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Three.js Expert (r168+)
Official Documentation: https://threejs.org/docs/
Quick Reference
| Topic | File |
|---|---|
Animation & Audio: AnimationClip, AnimationMixer, Audio, AudioListener |
core-animation-audio.md |
Cameras: Camera, PerspectiveCamera, OrthographicCamera, StereoCamera |
core-cameras.md |
Core classes: BufferAttribute, Clock, EventDispatcher, Raycaster, UniformsGroup |
core-classes.md |
Geometries: BufferGeometry, BoxGeometry, SphereGeometry, PlaneGeometry, etc. |
core-geometries.md |
Helpers: AxesHelper, GridHelper, BoxHelper, CameraHelper, etc. |
core-helpers.md |
Lights: Light, AmbientLight, DirectionalLight, PointLight, SpotLight, etc. |
core-lights.md |
Loaders: Loader, FileLoader, TextureLoader, GLTFLoader, etc. |
core-loaders.md |
Materials: Material, MeshBasicMaterial, MeshStandardMaterial, ShaderMaterial, etc. |
core-materials.md |
Math: Vector2/3/4, Color, Matrix3/4, Quaternion, Euler, Plane, Box3, etc. |
core-math.md |
| Nodes: Node system for shader graph programming | core-nodes.md |
Objects: Object3D, Mesh, Group, Points, Line, Sprite, Bone, etc. |
core-objects.md |
Renderers, Scenes & Textures: WebGLRenderer, Scene, Texture, WebGLRenderTarget |
core-renderers.md |
| Addons: Controls, Postprocessing, Exporters, Loaders, Shaders, WebXR, etc. | addons.md |
| TSL: Three.js Shading Language functions and variables | tsl.md |
| Global constants & functions: Blending modes, constants, utilities | global.md |
Core Philosophy
Three.js is a 3D JavaScript library that wraps WebGL (and now WebGPU) to provide:
- Scene Graph — Hierarchical object system via
Object3Dwith parent-child transforms - Renderer —
WebGLRenderer(orWebGPURenderer) draws scenes to a canvas - Resources — Geometries (shape), Materials (appearance), Textures (images)
- Lighting — Physically-based lighting with shadows, environment maps
- Animation — Keyframe animation, skinning, morph targets
- Shaders — Custom GLSL shaders or TSL node-based shader graphs
What ships with it
15 files 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.
- addons.md 25 KB
- core-animation-audio.md 12 KB
- core-cameras.md 5.2 KB
- core-classes.md 11 KB
- core-geometries.md 14 KB
- core-helpers.md 2.2 KB
- core-lights.md 7.9 KB
- core-loaders.md 3.0 KB
- core-materials.md 14 KB
- core-math.md 18 KB
- core-nodes.md 7.0 KB
- core-objects.md 13 KB
- core-renderers.md 13 KB
- global.md 9.2 KB
- tsl.md 9.3 KB
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.
- 5d ago First seen · 156 lines · 112 tokens per session scan A dced16aa3746
threejs-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 112 tokens to every session and 1,632 once invoked, about $0.0006 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.
Other skills, from other repositories
threejs-engineer
!cat skills/shared/protocols/3d-spatial-foundations.md 2>/dev/null || true !cat skills/shared/game-visual-foundations.md 2>/dev/null || echo "=== Visual Foundations not loaded ===" !cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat…
3d-website-architect
Expert skill for designing, building, and deploying modern premium websites with advanced animations and 3D interactive experiences using Three.js, React Three Fiber, GSAP, and Framer Motion. Use this skill whenever the user wants to build a website with 3D elements, create an immersive web experience, add interactive…
photo-sphere-viewer
Use when displaying 360-degree panoramic images (equirectangular/cubemap/dual-fisheye) in web applications, building virtual tours with markers and transitions, embedding interactive panoramas in Vue/React/vanilla JS, or creating 360-degree video players with gyroscope VR support. Photo-Sphere-Viewer v5: JavaScript…
p5js
Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.
webgl-shader-constraints
WebGL 1.0/2.0 shader restrictions, variant stripping, loop/indexing rules, and browser deployment workarounds for Unity.
sceneview-web
Build 3D and WebXR (AR/VR) experiences in the browser with SceneView for Web — Filament.js (WebGL2/WASM) wrapped in a Kotlin/JS DSL and a plain-JavaScript API on window.sceneview. Use whenever the user asks for "3D in the browser", "a web model viewer", "WebXR AR/VR", or any browser 3D/AR app where the dependency is…