optimize-threejs-games

optimize-threejs-games is a skill for Codex from 2233admin/design-pipeline. It costs 57 tokens per session (313 once invoked), scanned A, a copy of optimize-threejs-games, MIT.

A guide for measuring and improving the speed of Three.js and WebGL games in the browser. Three.js is a JavaScript tool for displaying 3D scenes, while WebGL lets the browser draw them.

In plain words
What is it for?
Use it to investigate frame-time drops, draw calls, textures, geometry, particles, animation, mobile performance, and adaptive quality settings.
Why use it?
It helps find whether slowdowns come from the processor, graphics hardware, memory use, or too much work per frame. It also checks that performance changes do not break gameplay or visual quality.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to investigate frame-time drops, draw calls, textures, geometry, particles, animation, mobile performance, and adaptive quality settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/2233admin/design-pipeline/optimize-threejs-games
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 2233admin/design-pipeline --skill optimize-threejs-games
Clone the repo
git clone --depth 1 https://github.com/2233admin/design-pipeline

Made for: 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 optimize-threejs-games

README.md
[![agentmods](https://agentmods.dev/badge/skills/2233admin/design-pipeline/optimize-threejs-games/github.svg)](https://agentmods.dev/skills/2233admin/design-pipeline/optimize-threejs-games)
Your own site
<a href="https://agentmods.dev/skills/2233admin/design-pipeline/optimize-threejs-games"><img src="https://agentmods.dev/badge/skills/2233admin/design-pipeline/optimize-threejs-games/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 optimize-threejs-games

Your own site · 80×15
<a href="https://agentmods.dev/skills/2233admin/design-pipeline/optimize-threejs-games"><img src="https://agentmods.dev/badge/skills/2233admin/design-pipeline/optimize-threejs-games.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 313 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.
Origin 100% copy Near-identical to another mod 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.00057 $0.00313
Opus 5 $0.00028 $0.00156
Sonnet 5 $0.00011 $0.00063
Haiku 4.5 $0.00006 $0.00031

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

Security

Grade A, and why

optimize-threejs-games 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 6d 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.

Origin

This is a copy

100% identical to optimize-threejs-games — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skill/references/mengto-skills/upstream/agent-skills/game-development/optimize-threejs-games/SKILL.md · 27 lines

What it actually says

Optimize Three.js Games

Measure before changing behavior, then validate the same gameplay path after every optimization.

Establish a repeatable scene

Choose a deterministic representative encounter and record device, viewport, quality level, player position, enemies, active effects, frame-time sample, draw calls, triangles, texture count, and warnings. Compare like with like.

Diagnose the limiting side

  • Suspect CPU when simulation, allocations, React work, pathfinding, or per-frame scans grow with actors.
  • Suspect GPU when resolution, overdraw, shadows, transparent particles, post-processing, draw calls, geometry, or texture bandwidth dominate.
  • Inspect before optimizing; do not lower quality blindly.

Apply low-risk fixes first

Reuse geometry/materials, pool transient effects, cull inactive/offscreen work, throttle noncritical UI updates, cap particle counts, avoid per-frame allocation, and update only changed transforms. Keep render quality settings explicit and reversible. Degrade decorative effects before combat readability or controls.

Guard the result

Re-run the original encounter and verify frame time, visual correctness, collision/contact behavior, memory stability, mobile controls, reduced motion, and console health. Close temporary servers, benchmarks, and browser tabs once they are no longer needed.

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. 6d ago First seen · 27 lines · 57 tokens per session scan A d50e8c26ae81

Subscribe to this mod's changes

optimize-threejs-games is a skill published in the GitHub repository 2233admin/design-pipeline (9 stars, last pushed 7d ago), licensed MIT. It adds 57 tokens to every session and 313 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to optimize-threejs-games, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

cpp-server-crash-triage

Use when triaging a C++ game server crash, dump, access violation, segmentation fault, stack trace, symbols, or build identity into a stable signature and ranked root-cause plan.

hoatv2211/GameStudio-CodexKIT · 46 tokens

multi-service-local-environment-doctor

Use when diagnosing a multi-service local game environment with port conflicts, process listeners, configured ports, service names, startup dependencies, and cross-project isolation concerns.

hoatv2211/GameStudio-CodexKIT · 39 tokens

unity-asset-guid-meta-audit

Use when auditing Unity asset GUID and meta consistency, duplicate GUIDs, missing meta files, stale references, or import and prefab reference failures without editing assets.

hoatv2211/GameStudio-CodexKIT · 39 tokens

unity-client-offline-debugging

Use when a Unity client cannot enter offline gameplay because login, bootstrap, disconnected server handling, local mock data, network fallback, or scene startup paths fail.

hoatv2211/GameStudio-CodexKIT · 38 tokens

unity-ui-rendering-debugging

Use when a Unity UI, HUD, screen item, or NGUI widget is missing, clipped, behind another canvas, wrongly sorted, disconnected from a prefab or atlas, misanchored, or invisible despite correct gameplay state.

hoatv2211/GameStudio-CodexKIT · 52 tokens

ss-studio

Turn a product brief and optional references into three distinct creative directions, a human-selected StyleSeed interaction plan, generated image/video asset jobs, a working UI prototype, and a verified prototype-first showcase reel. Use for client concepts, app interaction exploration, trendy but coherent UI…

bitjaru/styleseed · 75 tokens