/godot-gdextension:godot-gdextensionfrom godot-gdextension
Native Godot 4 extensions with GDExtension, in C++ (godot-cpp) or Rust (godot-rust gdext). Use when a project has a .gdextension file, SConstruct or a godot-cpp submodule, or when binding a native class, building per-platform libraries, wrapping a C/C++ library, debugging a native crash, or an export that reports "No GDExtension library found".
Ships in godot-gdextension. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
GDExtension loads a shared library into a stock Godot build, so no custom engine is needed. Its classes look like built-in ones to GDScript and the editor. Version-specific details are in the references; this file holds the decisions and the rules that don't change.
Start by reading the project's Godot version from config/features in project.godot and follow that version, not the newest; per-version changes are in the godot plugin's references/version-notes.md, if installed.
Use GDScript or C# first. Profile before deciding (see godot's performance guidance). GDExtension earns its cost when:
TextServerExtension.It costs you a build for every platform and architecture you ship, native crashes that take the editor down, and binaries in version control or CI. If only the engine itself needs patching, an engine module (compiled in) is the other route, but that means shipping a custom editor and export templates.
| Binding | Use when | Read |
|---|---|---|
| godot-cpp (official, C++) | Default. Wrapping C/C++ libraries, the official docs and template | references/cpp-binding.md |
| gdext (godot-rust, community, MPL-2.0) | The team writes Rust and wants memory safety and cargo | references/rust-gdext.md |
Debugging native code, hot reload and sanitizers for both: references/debugging-native.md.
api_version, gdext api-4-x feature) and compatibility_minimum in the .gdextension file to the same version..gdextension file is the contract. entry_symbol must equal the exported init function name. [libraries] maps feature tags (linux.debug.x86_64, windows.release.x86_64, macos.release, android.release.arm64, web.release.wasm32) to binaries; entries match top to bottom, so put more specific tags first. Prefer paths relative to the .gdextension file so the folder can move. [icons] gives nodes editor icons; [dependencies] lists extra shared libraries to copy on export.template_release builds. If the matching entry is missing for a platform, the native classes don't exist at runtime and scenes using them break. Build every platform in CI (the godot-cpp template ships GitHub Actions workflows).reloadable = true is for development. It reloads the library in the editor on rebuild (godot-cpp on 4.2+; gdext supports it too). Restart the editor if a class layout change confuses the reload.addons/<name>/ with bin/ and the .gdextension) when it will be reused or shared, so other projects copy one folder.MyNode.new(), typed vars, autocompletion). C# does not get generated wrappers for extension classes: use ClassDB.Instantiate("MyNode"), Get/Set/Call/Connect by name, or write a thin C# wrapper class.cargo new --lib for gdext; keep a small Godot test project in the repo (project/ or godot/).compatibility_minimum (rule 1).scons or cargo build), open the test project, and confirm the class appears in the Create Node dialog and runs.reloadable = true while iterating.template_release for each shipping platform; export the test project once per platform before calling it done.entry_symbol shows only as "GDExtension entry point '...' not found" in the Output; the classes just don't appear. compatibility_minimum is mandatory and must be 4.1 or later.text_server_adv/text_server_fb as GDExtensions; writing your own TextServerExtension is unaffected.Object.is_class() to take a StringName; old binaries rely on the engine's compatibility mapping, so rebuild against 4.7 bindings when you move to 4.7 APIs.MODULE_INITIALIZATION_LEVEL_SCENE exist in the editor and in exports. Editor-only classes (an EditorPlugin written natively) register at MODULE_INITIALIZATION_LEVEL_EDITOR and are absent from exports, so runtime scenes must never reference them._process should not run inside the editor is registered with GDREGISTER_RUNTIME_CLASS; plain GDREGISTER_CLASS runs its virtuals in the editor too, like a @tool script.call_deferred or the WorkerThreadPool and keep tree access on the main thread.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub adminhead/claude-plugins --plugin godot-gdextension