Godot Debugging Profiling logo

Godot Debugging Profiling

Community
thedivergentai
godot-debugging-profiling

Expert debugging and profiling for leaks, GPU/Visual Profiler, headless CI QA, orphan nodes, thread-safe logs, and custom Debugger monitors — not print/breakpoint tutorials. Trigger on OBJECT_ORPHAN_NODE_COUNT, ObjectDB growth, Visual Profiler GPU spikes, flaky headless exits, or remote device consoles. Keywords: orphan nodes, Performance.get_monitor, Visual Profiler, Time.get_ticks_usec, EditorDebuggerPlugin, headless QA, push_error, backtrace.

Overview

Publisherthedivergentai
RepositoryGD-Agentic-Skills
Skill namegodot-debugging-profiling
Stars
727
Forks
43
Bundled files
22
LicenseLGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 22 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by thedivergentai on GitHub. Read the source before you install it.

Installation

Install the Godot Debugging Profiling AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/thedivergentai/GD-Agentic-Skills.git /tmp/GD-Agentic-Skills
mkdir -p .claude/skills
cp -r /tmp/GD-Agentic-Skills/skills/godot-debugging-profiling .claude/skills/godot-debugging-profiling
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Godot Debugging Profiling in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Godot Debugging Profiling on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Godot Debugging Profiling is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

NEVER Do

  • NEVER use print() without descriptive contextprint(value) is useless. Use print("Player health:", health) with labels.
  • NEVER leave debug prints in release builds — Wrap in if OS.is_debug_build() or use custom DEBUG const. Prints slow down release.
  • NEVER ignore push_warning() messages — Warnings indicate potential bugs (null refs, deprecated APIs). Fix them before they become errors.
  • NEVER use assert() for runtime validation in release — Asserts are disabled in release builds. Use if not condition: push_error() for runtime checks.
  • NEVER profile in debug mode — Debug builds are 5-10x slower. Always profile with release exports or --release flag.
  • NEVER assume Engine.capture_script_backtraces(true) is cheap — Capturing locals allocates significant memory and can prevent objects from being deallocated, causing artificial leaks [19].
  • NEVER call push_error() or print() inside a custom Logger._log_message override — This causes infinite recursion and crashes as the logger intercepts its own output [20].
  • NEVER leave the Visual Profiler running during gameplay tests — Continuous polling degrades framerates significantly, invalidating actual performance metrics [21].
  • NEVER rely on OS.get_ticks_msec() for microbenchmarking — Milliseconds lack precision for logic timing; ALWAYS use Time.get_ticks_usec() for microsecond precision [22].
  • NEVER assume OBJECT_ORPHAN_NODE_COUNT works in production — This monitor is strictly debug-only; it safely returns 0 in release builds, potentially hiding leaks [23].
  • NEVER benchmark with V-Sync enabled — V-Sync throttles metrics to the monitor refresh rate, masking the true CPU/GPU processing overhead [24].
  • NEVER leave print_stack() or print_debug() in release builds — These are often stripped or useless outside the debugger. Use structured logging for production [25].
  • NEVER strip debugging symbols if using external C++ profilers — Stripping destroys call stack readability for external tools like Perfetto or VerySleepy [26].
  • NEVER forget to unregister an EditorDebuggerPlugin in _exit_tree() — Failing to clean up leaves "ghost" connections in the engine's debugging loop [27].
  • NEVER trust the Visual Profiler on macOS when using the Compatibility renderer — Platform-specific driver limitations severely restrict OpenGL profiling accuracy on macOS [28].

Symptom → Monitor → Script

MANDATORY for the matching row. Do NOT Load every debug script for one bug.

SymptomMonitor / APIScript
Nodes removed but RAM climbsOBJECT_ORPHAN_NODE_COUNT (debug)MANDATORY orphan_node_detector.gd
ObjectDB / instance growthcustom monitors + dumpmemory_usage_threshold_alert.gd, scene_tree_dump.gd
GPU / overdraw mysteryVisual Profiler (briefly)Pair with perf skill; use performance_plotter.gd for trends — do not leave Visual Profiler on
Flaky headless / CI exitexit codes + assertsMANDATORY automated_qa_suite.gd, push_error_safe_exit.gd
Microbenchmark liesTime.get_ticks_usecMANDATORY high_precision_benchmarker.gd
Crash needs localsbacktraces (debug only)advanced_backtrace_recorder.gd, stack_trace_logger.gd
Engine errors to backendLogger interceptengine_error_interceptor.gd — never print inside Logger
Custom Debugger metricsMonitors tabcustom_editor_monitor.gd, debugger_tab_plugin.gd
Mobile/console no stdoutin-game consoleremote_debug_console.gd, debug_overlay.gd (debug builds only)
Thread races / log corruptionmutex logger / assertsthread_safe_logger.gd, thread_safety_assert.gd
Invisible logic (AI/physics)debug draw / gizmoscustom_debug_draw.gd, property_watcher_gizmo.gd
Conditional halthardcoded breakbreak_on_condition.gd
Editor vs runtime pathsEngine.is_editor_hintengine_editor_hint_logic.gd

Available Scripts (full catalog)

Leaks & memory

Timing & QA

Errors, stacks, threads

Editor / remote / viz

Expert Pointers

  • Profile release/--release with V-Sync off; never trust Debug-build timings.
  • Prefer structured logs over print_stack() in anything that might ship.
  • Escalate sustained FPS issues to godot-performance-optimization after the symptom tree identifies the bottleneck class.

MANDATORY for print/breakpoint workflow depth, profiler interpretation, and expert CI/GPU/thread patterns: debug-workflows.md. Do NOT Load when the symptom → script table above already routes you.

Reference

Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.

Official Documentation

  • Overview of debugging tools — Map of remote scene tree, breakpoints, Output, and profiler entry points before picking a deeper page.
  • Debugger panel — Stack, variables, breakpoints, errors, and monitors used for live remote debug sessions.
  • The profiler — Time and visual profilers: why you profile release-like builds and how frame charts isolate CPU/GPU spikes.
  • Output panel — How print / push_warning / push_error surface in the editor and why noisy release logs hide real faults.
  • ObjectDB profiler — Before/after ObjectDB snapshots for RefCounted cycles and leaked instances that orphan monitors miss.
  • Custom performance monitorsPerformance.add_custom_monitor so game-specific metrics appear next to engine monitors.
  • Logging — Custom Logger registration, file sinks, and recursion hazards when logging from inside log handlers.
  • Command line tutorial — Headless --script / export flags for automated QA and CI exit-code runners.
  • CPU optimization — Interpreting profiler hotspots into GDScript/server/thread fixes after measurement.
  • Using multiple threads — Worker-thread rules that motivate thread-safety asserts and mutexed loggers.
  • Thread-safe APIs — Which servers/APIs may be called off-main-thread without corrupting the SceneTree.
  • Performance — Built-in monitors (OBJECT_ORPHAN_NODE_COUNT, memory, render) used by overlays and leak detectors.

Related Skills

Prerequisites
  • godot-project-foundations — Debug/release feature tags, project settings, and Autoload layout must exist before debugger plugins or global monitors.
  • godot-gdscript-mastery — Typed Callables, assert/push_error, and Time APIs underpin benchmarks, breakpoints, and stack helpers.
Complements
  • godot-performance-optimization — After the profiler names a hotspot, apply pooling, culling, and MultiMesh fixes from that skill.
  • godot-testing-patterns — GUT/assert/CI patterns pair with headless QA suites and deterministic quit exit codes.
  • godot-export-builds — Profile and remote-debug against real export templates; debug symbols and strip settings matter for external profilers.
  • godot-scene-management — Scene swap lifetime bugs show up as orphan-node growth; use tree dumps when loaders fail to free.
  • godot-signal-architecture — Ghost listeners and deferred connects often explain “why is this still running?” stack traces.
  • godot-autoload-architecture — Global loggers, monitors, and error interceptors belong in Autoloads with clear boot order.
  • godot-server-architecture — When debug draw or metrics push into Rendering/Physics servers, keep server ownership separate from nodes.
Downstream / consumers
  • godot-auditor — Consumes debugger/profiler evidence when enforcing never-lists and architectural integrity reviews.
  • godot-platform-mobile — Device remote debug and on-screen consoles are required when desktop Output is unavailable.
  • godot-monte-carlo-balancer — Headless microbenchmarks and CI QA feed balance sims that need stable timing and exit codes.
  • godot-multiplayer-networking — Networked games need remote inspectors and structured logs across peers without flooding the Output panel.
Master
  • godot-master — Library router and mirrored module entry; open when discovering which Domain Skill owns a cross-cutting debug or perf concern.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Godot Debugging Profiling AI skill do?

Expert debugging and profiling for leaks, GPU/Visual Profiler, headless CI QA, orphan nodes, thread-safe logs, and custom Debugger monitors — not print/breakpoint tutorials. Trigger on OBJECT_ORPHAN_NODE_COUNT, ObjectDB growth, Visual Profiler GPU spikes, flaky headless exits, or remote device consoles. Keywords: orphan nodes, Performance.get_monitor, Visual Profiler, Time.get_ticks_usec, EditorDebuggerPlugin, headless QA, push_error, backtrace.

Why use Godot Debugging Profiling on TypingMind?

Because you install it once and use it with any model. Godot Debugging Profiling is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Godot Debugging Profiling in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/thedivergentai/GD-Agentic-Skills/tree/main/skills/godot-debugging-profiling. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Godot Debugging Profiling?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Godot Debugging Profiling?

As many as you like. As long as a model supports skills, you can use Godot Debugging Profiling with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Godot Debugging Profiling AI skill free?

Yes. It is published on GitHub by thedivergentai under the LGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇