performance-audit

performance-audit is a skill for Claude Code from Simone-Tarantino/godot-superpowers. It costs 48 tokens per session (1,813 once invoked), scanned A, original, MIT.

A performance review for Godot 4.x game projects, looking for code and scene patterns that can reduce frame rate.

In plain words
What is it for?
Finding repeated node lookups, unnecessary per-frame processing, missing object pooling, untyped collections, absent visibility optimisations, and expensive fragment shaders.
Why use it?
It helps identify likely causes of slow gameplay before or after adding many entities or reaching a project milestone.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the godot-superpowers plugin — 33 skills, 15 agents, 4 hooks, 5 MCP servers shipped together

Good fit Finding repeated node lookups, unnecessary per-frame processing, missing object pooling, untyped collections, absent visibility optimisations, and expensive fragment shaders.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/simone-tarantino/godot-superpowers/performance-audit
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 Simone-Tarantino/godot-superpowers --skill performance-audit
Clone the repo
git clone --depth 1 https://github.com/Simone-Tarantino/godot-superpowers

Made for: Claude Code.

Or install godot-superpowers, the plugin that ships this one along with the rest of its 33 skills, 15 agents, 4 hooks, 5 MCP servers.

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 performance-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/simone-tarantino/godot-superpowers/performance-audit/github.svg)](https://agentmods.dev/skills/simone-tarantino/godot-superpowers/performance-audit)
Your own site
<a href="https://agentmods.dev/skills/simone-tarantino/godot-superpowers/performance-audit"><img src="https://agentmods.dev/badge/skills/simone-tarantino/godot-superpowers/performance-audit/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 performance-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/simone-tarantino/godot-superpowers/performance-audit"><img src="https://agentmods.dev/badge/skills/simone-tarantino/godot-superpowers/performance-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,813 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 original No closer match found 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.00048 $0.01813
Opus 5 $0.00024 $0.00907
Sonnet 5 $0.00010 $0.00363
Haiku 4.5 $0.00005 $0.00181

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

Security

Grade A, and why

performance-audit 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 8d 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.

skills/performance-audit/SKILL.md · 198 lines

How it starts

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

Performance Audit

Static-analysis-style scan plus runtime suggestions. Run this when frame rate drops, before a milestone, or when adding many entities at once.

Audit checklist

1. Repeated node lookups in hot paths

grep -rn '\$' --include='*.gd' scripts/ scenes/ | \
    grep -E '_process|_physics_process' | \
    grep -v '@onready'

Any $Path or get_node() inside _process / _physics_process is a candidate for @onready. Severity: HIGH.

2. find_child / find_node calls

grep -rn 'find_child\|find_node' --include='*.gd'

find_child walks the tree. Use unique names (%) or direct @onready references. Severity: HIGH.

3. Untyped collections used for homogeneous data

grep -rn ': Array =\|: Dictionary =' --include='*.gd' scripts/

Replace ArrayArray[T], DictionaryDictionary[K, V] where contents are uniform. Severity: MEDIUM.

4. _process running on idle nodes

Any node with _process but no actual work happening every frame:

grep -B 1 -A 5 'func _process' --include='*.gd' -rn scripts/

Disable with set_process(false) until needed, or use Timer for periodic work. Severity: MEDIUM.

5. instantiate() in hot loops

grep -rn 'instantiate' --include='*.gd' scripts/ | \
    grep -v '_ready\|enter\|setup'

Frequent instantiation = pool candidate. Severity: HIGH if in _process / _physics_process / spawn loops.

6. load() where preload() works

grep -rn 'load(' --include='*.gd' scripts/ | grep -v 'preload\|^.*://\|"user://'

If the path is a string literal, switch to preload. Severity: LOW but free.

7. change_scene_to_file repeated

grep -rn 'change_scene_to_file' --include='*.gd'

Re-parses on every call. Switch to change_scene_to_packed(packed) with a preloaded PackedScene. Severity: MEDIUM.

8. Missing @onready for cached refs

grep -rn '^var .* = \$' --include='*.gd'

Read the full file on GitHub · 198 lines

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. 8d ago First seen · 198 lines · 48 tokens per session scan A 2eb0f39ef160

Subscribe to this mod's changes

performance-audit is a skill published in the GitHub repository Simone-Tarantino/godot-superpowers (2 stars, last pushed 4mo ago), licensed MIT. It adds 48 tokens to every session and 1,813 once invoked, about $0.0002 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-08-31.