Borrowing it
Nothing to install: this file belongs to textura-agency/ai-design-vault. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/textura-agency/ai-design-vault/main/.claude/skills/optimize-3d-scene/SKILL.mdgit clone --depth 1 https://github.com/textura-agency/ai-design-vaultWrote 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/textura-agency/ai-design-vault/optimize-3d-scene)<a href="https://agentmods.dev/skills/textura-agency/ai-design-vault/optimize-3d-scene"><img src="https://agentmods.dev/badge/skills/textura-agency/ai-design-vault/optimize-3d-scene/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.
<a href="https://agentmods.dev/skills/textura-agency/ai-design-vault/optimize-3d-scene"><img src="https://agentmods.dev/badge/skills/textura-agency/ai-design-vault/optimize-3d-scene.svg" alt="Reviewed on agentmods" width="80" 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.00135 | $0.06520 |
| Opus 5.5 | $0.00054 | $0.02608 |
| Sonnet 5.5 | $0.00027 | $0.01304 |
| Haiku 4.5 | $0.00014 | $0.00652 |
Grade A, and why
optimize-3d-scene 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 23d 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 — 477 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Optimise a 3D scene
Any project carrying a three.js scene pays the same tax: a phone renders the same fragments as a workstation, the first frame after a shader appears compiles mid-scroll, and the render loop keeps running behind three sections of copy nobody is looking at. This skill fixes those in a fixed order — cheapest and highest-impact first.
Every step applies to a raw WebGL scene as much as a three.js one; only §0's
measurement primitives differ (three.js hands you renderer.info, a raw scene
you instrument yourself — which you must do before you can begin).
None of it is framework-specific: a scene is a canvas, a render loop and a GPU
budget in any stack. Where the fix does touch the framework (code-splitting the
scene chunk, skipping it for bots, mounting it as an island), resolve the
mechanism from .claude/stack.json rather than assuming.
Do not invent new shapes — port the reference implementations. Full,
working code for every pattern below is in references/patterns.md:
| pattern | section in references/patterns.md |
|---|---|
| device tiering, clamped DPR, frame budget | device tiering |
| one shared rAF for the whole page | ticker |
| in-view + hidden-tab render gate | visibility gating |
| visibility-gated loop, plain (non-framework) | vanilla scene loop |
| scroll lerp on touch, snap on jumps | scroll smoothing |
| per-tier particle counts | particles |
| canvas sizing that survives the iOS URL bar | canvas sizing |
| bot detection | bots |
| composer that skips a pass contributing nothing | post-processing |
The unoptimised shape to recognise: a single large vanilla file using raw
devicePixelRatio, an unconditional rAF, no device tiering, mouse tracking
always on, and a debug GUI shipped to production. If the scene you are handed
looks like that, this list is the order to fix it in.
0. Audit before you touch anything
Never optimise blind. Establish the baseline:
# what's actually in the scene
grep -rn "setPixelRatio\|requestAnimationFrame\|new THREE\..*Light\|UnrealBloom\|Points\|InstancedMesh" src/ --include=*.ts --include=*.tsx --include=*.js
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.
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.
- 23d ago First seen · 477 lines · 135 tokens per session scan A a5be98ceb41f
optimize-3d-scene is a skill published in the GitHub repository textura-agency/ai-design-vault (25 stars, last pushed 2mo ago), licensed Unlicense. It adds 135 tokens to every session and 6,520 once invoked, about $0.0005 per session on Opus 5.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-10-14.
optimize-3d-scene compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| optimize-3d-scenetextura-agency/ai-design-vault | Skill | 25 | 2mo ago | Unlicense | A | 135 | Claude Code |
| anti-slop-designsickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 34 | Claude Code |
| chakra-ui-builderchakra-ui/chakra-ui | Skill | 41k | yesterday | MIT | A | 214 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | 3d ago | MIT | A | 52 | Codex |
| open-design-setupcompozy/compozy | Skill | 2.8k | yesterday | MIT | A | 67 | Claude Code, Codex |
| frontend-visual-qadaymade/claude-code-skills | Skill | 1.5k | yesterday | MIT | A | 125 | Claude Code, Codex |
| prototype-webnexu-io/html-anything | Skill | 9.4k | 24d ago | Apache-2.0 | A | 24 | Claude Code, Codex |