godot-build-optimization

godot-build-optimization is a skill for Claude Code from dcc-mcp/dcc-mcp-godot. It costs 56 tokens per session (708 once invoked), scanned A, original, MIT.

A tool for examining a Godot game project and preparing smaller engine export builds. Godot is a game engine; the tool creates version-aware build settings and a report about the resulting artifact size.

In plain words
What is it for?
Use it to inspect a Godot project, generate SCons and build-profile files, and report which build choices affect package size.
Why use it?
It helps remove unused engine modules and avoid guesswork when reducing the size of exported games. It keeps the scan and generated files separate from the project and engine source.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to inspect a Godot project, generate SCons and build-profile files, and report which build choices affect package size.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dcc-mcp/dcc-mcp-godot/godot-build-optimization
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 dcc-mcp/dcc-mcp-godot --skill godot-build-optimization
Clone the repo
git clone --depth 1 https://github.com/dcc-mcp/dcc-mcp-godot

Made for: Claude Code.

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 godot-build-optimization

README.md
[![agentmods](https://agentmods.dev/badge/skills/dcc-mcp/dcc-mcp-godot/godot-build-optimization/github.svg)](https://agentmods.dev/skills/dcc-mcp/dcc-mcp-godot/godot-build-optimization)
Your own site
<a href="https://agentmods.dev/skills/dcc-mcp/dcc-mcp-godot/godot-build-optimization"><img src="https://agentmods.dev/badge/skills/dcc-mcp/dcc-mcp-godot/godot-build-optimization/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 godot-build-optimization

Your own site · 80×15
<a href="https://agentmods.dev/skills/dcc-mcp/dcc-mcp-godot/godot-build-optimization"><img src="https://agentmods.dev/badge/skills/dcc-mcp/dcc-mcp-godot/godot-build-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 708 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.00056 $0.00708
Opus 5 $0.00028 $0.00354
Sonnet 5 $0.00011 $0.00142
Haiku 4.5 $0.00006 $0.00071

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

Security

Grade A, and why

godot-build-optimization 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/optimize_build.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.

src/dcc_mcp_godot/skills/godot-build-optimization/SKILL.md · 75 lines

What it actually says

Godot Build Optimization

Use the bundled scripts/optimize_build.py helper from the repository or installed package. It performs a bounded static scan and writes only to the explicit output directory; it does not edit project.godot, export presets, or engine source.

  1. Inspect the project and target first. Run plan and review the detected renderer, text scripts, 2D/3D, navigation, XR, archive, and asset evidence:

    python scripts/optimize_build.py plan --project <project> --target windows
    
  2. Generate files only after the plan is appropriate for the target. Pass the exact Godot source version when it is known and keep output in a dedicated staging directory:

    python scripts/optimize_build.py generate \
      --project <project> --target windows --godot-version 4.5 \
      --output <staging>/godot-build-size
    

    This creates custom.py, build_config.gdbuild, and optimization-report.json. Compile matching export templates with the generated files, for example:

    scons platform=windows profile=<staging>/godot-build-size/custom.py \
      build_profile=<staging>/godot-build-size/build_config.gdbuild
    
  3. Use --minimal-modules only when the project has runtime smoke coverage. It sets modules_enabled_by_default=no and enables only modules visible in the scan. Add --force <feature> when a feature is loaded dynamically or otherwise cannot be found statically. Treat every generated disable as a hypothesis until the release artifact launches cleanly.

  4. Export to a clean directory with the matching custom template, then launch that artifact without the editor. Check the first scene, localized text, input, saves, native extensions, and startup logs. Measure the result and preserve the report and digest:

    python scripts/optimize_build.py measure --artifact <exported-file> \
      --output <staging>/artifact-size.json
    

Read Size optimization guidance before choosing fallback text, module allowlisting, UPX, Wasm-opt, or Brotli. These choices can remove runtime features or change memory, antivirus, and hosting behavior.

Files

What ships with it

2 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. 7d ago First seen · 75 lines · 56 tokens per session scan A d7c31e08d870

Subscribe to this mod's changes

godot-build-optimization is a skill published in the GitHub repository dcc-mcp/dcc-mcp-godot (3 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 708 once invoked, about $0.0003 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-09-04.

Related

Other skills, from other repositories

add-mechanic

Add game mechanics with correct GDScript 4.x patterns -- movement, health, inventory, save/load.

n24q02m/better-godot-mcp · 26 tokens

qa-plan

Generate a QA test plan for a sprint or feature. Reads GDDs and story files, classifies stories by test type (Logic/Integration/Visual/UI), and produces a structured test plan covering automated tests required, manual test cases, smoke test scope, and playtest sign-off requirements. Run before sprint begins or when…

striderZA/OpenCodeGameStudios · 73 tokens

art-generate

Generates placeholder .aseprite files from asset specs using the Aseprite MCP. Reads asset specs and art bible, creates sprites with correct dimensions/palette/layers, exports PNGs. Run after /asset-spec has produced specs and /art-bible exists.

striderZA/OpenCodeGameStudios · 57 tokens

help

Analyzes what is done and the users query and offers advice on what to do next. Use if user says what should I do next or what do I do now or I'm stuck or I don't know what to do.

striderZA/OpenCodeGameStudios · 45 tokens

asset-audit

Audits game assets for compliance with naming conventions, file size budgets, format standards, and pipeline requirements. Identifies orphaned assets, missing references, and standard violations.

striderZA/OpenCodeGameStudios · 38 tokens

balance-check

Analyzes game balance data files, formulas, and configuration to identify outliers, broken progressions, degenerate strategies, and economy imbalances. Use after modifying any balance-related data or design. Use when user says 'balance report', 'check game balance', 'run a balance check'.

striderZA/OpenCodeGameStudios · 61 tokens