kit-otimizar-3d

kit-otimizar-3d is a skill for Claude Code from harebeats/cannonball. It costs 265 tokens per session (9,398 once invoked), scanned A, a copy of optimize-3d-scene, MIT.

A performance guide for 3D scenes built with Three.js, React Three Fiber, or WebGL. It adapts rendering to the device and reduces work on phones and slower computers.

In plain words
What is it for?
Use it to tune device settings, loading, rendering while visible, screen resolution, particles, bloom, scrolling effects, and compressed textures.
Why use it?
It helps prevent slow scrolling, stuttering, and delays when shaders or assets load. It also limits demanding effects so the scene does not overwhelm the device.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; reads ~/.codex paths; mentions Codex.

Part of the cannonball plugin — 10 skills shipped together

Good fit Use it to tune device settings, loading, rendering while visible, screen resolution, particles, bloom, scrolling effects, and compressed textures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/harebeats/cannonball/kit-otimizar-3d
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 harebeats/cannonball --skill kit-otimizar-3d
Clone the repo
git clone --depth 1 https://github.com/harebeats/cannonball

Made for: Claude Code.

Or install cannonball, the plugin that ships this one along with the rest of its 10 skills.

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 kit-otimizar-3d

README.md
[![agentmods](https://agentmods.dev/badge/skills/harebeats/cannonball/kit-otimizar-3d/github.svg)](https://agentmods.dev/skills/harebeats/cannonball/kit-otimizar-3d)
Your own site
<a href="https://agentmods.dev/skills/harebeats/cannonball/kit-otimizar-3d"><img src="https://agentmods.dev/badge/skills/harebeats/cannonball/kit-otimizar-3d/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 kit-otimizar-3d

Your own site · 80×15
<a href="https://agentmods.dev/skills/harebeats/cannonball/kit-otimizar-3d"><img src="https://agentmods.dev/badge/skills/harebeats/cannonball/kit-otimizar-3d.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 265 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,398 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 86% 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.00265 $0.09398
Opus 5.5 $0.00106 $0.03759
Sonnet 5.5 $0.00053 $0.01880
Haiku 4.5 $0.00026 $0.00940

Measured 2mo ago against content hash 7743d84c95e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kit-otimizar-3d 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 2mo ago.

The scan reads SKILL.md. This mod also ships 27 executable files (scripts/armadilhas.py, scripts/assets.py, scripts/buscar.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

86% identical to optimize-3d-scene — 997 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.

skills/kit-otimizar-3d/SKILL.md · 686 lines

How it starts

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

Otimizar cena 3D

Antes de qualquer comando: resolva o SKILL_DIR

Todo comando abaixo roda um script que viaja junto desta skill, em SKILL_DIR/scripts/. Defina SKILL_DIR como o caminho absoluto da pasta que contém ESTE SKILL.md que você acabou de ler — o seu harness informou esse caminho no resultado da leitura. Funciona em qualquer hospedeiro, sem depender de variável de ambiente de nenhum agente específico:

~/.claude/plugins/cache/cannonball/cannonball/<v>/skills/<nome>/SKILL.md
~/.codex/skills/<nome>/SKILL.md
~/.gemini/skills/<nome>/SKILL.md
~/.agents/skills/<nome>/SKILL.md

Em todos, SKILL_DIR é a pasta do SKILL.md, e SKILL_DIR/scripts/ está ao lado.

Adaptada da optimize-3d-scene de textura-agency/next16-claude-starter, em domínio público. O conteúdo técnico é do autor original; o que mudou aqui foi trocar as referências ao workspace privado dele por references/patterns.md (que já traz o código todo) e ligar o passo final ao ciclo de armadilhas do cannonball.

Toda cena three.js paga o mesmo imposto: o celular renderiza os mesmos fragmentos que uma workstation, o primeiro quadro depois que um shader aparece compila no meio do scroll, e o render loop segue rodando atrás de três seções de texto que ninguém está olhando. Esta skill corrige isso numa ordem fixa — do mais barato e de maior impacto para o resto.

Cada passo vale igual para WebGL cru e para three.js; só as primitivas de medição do §0 mudam (three.js te dá renderer.info; numa cena crua você instrumenta na mão — e precisa fazer isso antes de começar).

O código copiável de tudo que segue está em references/patterns.md — tiering, ticker compartilhado, prewarm, loop com gate de visibilidade, canvas que sobrevive à barra de URL do iOS, suavização de scroll no toque, contagem por tier, composer, e transformação de scroll no vertex shader. Porte de lá em vez de inventar forma nova; os nomes de projeto que aparecem lá (helion, mycelia, stride, clarix) são só atribuição de origem, o código está inteiro no arquivo.

Read the full file on GitHub · 686 lines

Files

What ships with it

53 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.

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. 2mo ago Changed · +171 lines · +64 tokens per session 7743d84c95e4
  2. 2mo ago First seen · 515 lines · 201 tokens per session scan A 864a86d60cd2

Subscribe to this mod's changes

kit-otimizar-3d is a skill published in the GitHub repository harebeats/cannonball (12 stars, last pushed 2mo ago), licensed MIT. It adds 265 tokens to every session and 9,398 once invoked, about $0.0011 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to optimize-3d-scene, differing in 997 lines, and is treated as a copy.

Related

kit-otimizar-3d compared with skills from other repositories

kit-otimizar-3d next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kit-otimizar-3dharebeats/cannonballSkill122mo agoMITA265Claude Code
fast-typescript-checkinternet-development/www-sacredSkill1.6k2d agoMITA84Claude Code, Codex
port-sacred-terminal-ui-to-typescript-cliinternet-development/www-sacredSkill1.6k2d agoMITA0Claude Code, Codex
port-sacred-terminal-ui-to-react-using-same-conventionsinternet-development/www-sacredSkill1.6k2d agoMITA0Claude Code, Codex
designlang-tokensManavarya09/design-extractSkill4.8kyesterdayMITA30Claude Code
itchio-new-game-huntkennyzir/7deer_skillsSkill3361mo agoMITA45Claude Code, Codex
youtube-game-keywordskennyzir/7deer_skillsSkill3361mo agoMITA78Claude Code, Codex