Borrowing it
Nothing to install: this file belongs to jakildev/IrredenEngine. 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/jakildev/IrredenEngine/master/.claude/skills/optimize/SKILL.mdgit clone --depth 1 https://github.com/jakildev/IrredenEngineWrote 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/jakildev/irredenengine/optimize)<a href="https://agentmods.dev/skills/jakildev/irredenengine/optimize"><img src="https://agentmods.dev/badge/skills/jakildev/irredenengine/optimize/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/jakildev/irredenengine/optimize"><img src="https://agentmods.dev/badge/skills/jakildev/irredenengine/optimize.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.00134 | $0.01316 |
| Opus 5.5 | $0.00054 | $0.00526 |
| Sonnet 5.5 | $0.00027 | $0.00263 |
| Haiku 4.5 | $0.00013 | $0.00132 |
Grade A, and why
optimize 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 2d 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 — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
optimize
Every repeatable measurement is a script in scripts/perf/; the skill picks
the script, runs it, reads the data, applies engine-specific fixes, and re-runs
the same script to confirm the win. Engine knowledge that is not a script lives
in reference/. A multi-step shell sequence written in prose is a bug in this
skill — extract it (reference/script_first.md).
When
The diff touches system ticks (engine/system/,
engine/prefabs/irreden/.../systems/, per-entity loops in creations), render
stages (engine/render/, engine/prefabs/irreden/render/, shaders), audio /
video (engine/audio/, engine/video/, ffmpeg, MIDI), math called from
per-entity loops or per-pixel shader code, or anything the author suspects is
slow. Skip for tests, docs, build/CI, and refactors that preserve hot-path
structure.
Flow
-
Triage —
git diff --stat,git diff. Nothing per-frame, per-entity, per-pixel, or per-sample → stop;simplifyruns instead. -
Baseline before any code change:
scripts/perf/perf_grid_matrix.sh --label baselineWrites one cell per
(zoom, sub_mode, sub_base)intosave_files/perf/<sha>-baseline/.--quick(2 cells) for a single helper or tick body; default (12) or--full(30) for broad changes. The script's--helpis the flag reference — never paraphrase its flags in PR bodies. -
Smell scan the diff against
reference/common_bottlenecks.md; flag every match. -
Profile when the scan is inconclusive — CPU:
reference/cpu_profiling.md; GPU:reference/gpu_profiling.md. -
Fix and re-measure:
scripts/perf/perf_grid_matrix.sh --label head scripts/perf/compare_perf_runs.py \ save_files/perf/<baseline-sha>-baseline \ save_files/perf/<head-sha>-headThe comparator prints per-cell frame avg/p99, per-pass GPU breakdown, cull effectiveness, and top CPU systems, flagging regressions ≥ 10% and improvements ≥ 5% (
--regress-pct,--improve-pct). A fix that does not move the needle is reverted. -
Report — paste the comparator output into the PR body; the skill's own report is:
What ships with it
7 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.
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.
- 2d ago First seen · 110 lines · 134 tokens per session scan A a5f3c01ff138
optimize is a skill published in the GitHub repository jakildev/IrredenEngine (10 stars, last pushed today), licensed MIT. It adds 134 tokens to every session and 1,316 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-11-07.
optimize compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| optimizejakildev/IrredenEngine | Skill | 10 | today | MIT | A | 134 | Claude Code |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | yesterday | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | 2d ago | MIT | A | 71 | Claude Code, Codex |
| incident-response-incident-responsermyndharis/antigravity-skills | Skill | 2.0k | 2d ago | MIT | A | 36 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 321 | yesterday | Apache-2.0 | A | 112 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |
| diagnosing-missing-recordingsPostHog/posthog | Skill | 41k | yesterday | none | A | 76 | Claude Code, Codex |