/godot-dev:godot-verifyfrom godot-dev
Runs Godot projects headless to detect script errors, shader failures, and runtime problems that Godot's exit code 0 would otherwise hide. Parses output for actual failures and returns PASS/FAIL/UNVERIFIED.
Ships in godot-dev. 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; scripts run unread.
Godot exits 0 after a parse error, a runtime error, a broken shader and a missing resource, so a change is verified by what the run prints, never by its exit code.
| The situation | Read |
|---|---|
| "Does it work?" after any change to scripts, scenes, shaders, resources or autoloads | The gate below, then run scripts/godot_verify.py |
An exit code of 0 you were about to believe; which command shows which failure; why not --check-only | reference/traps.md |
| A line in the output: is it an error, which file, should a warning fail | reference/markers.md |
A run that never ends; choosing --timeout, --quit-after, --frames, --fixed-fps | reference/timeouts.md |
Flags, -s scripts, arguments after --, finding the binary | godot-cli |
| Rules and data under unit tests, a runner with no add-on | godot-testing |
| Playing through a moment: input, timelines, screenshots | godot-play-harness |
| Godot 3 names in the code that fails to load | godot-version-guard |
| Scene or resource text that will not load | godot-scene-files |
GODOT_BIN=/path/to/Godot python3 scripts/godot_verify.py path/to/project
python3 scripts/godot_verify.py path/to/project --godot /path/to/Godot --scene res://rooftop_route.tscn --frames 120
A run on a project with one bad script that nothing loads at startup. Every Godot process
exits 0, and --import prints nothing about the bad file:
run import: exit 0, 1.1s, 0 marker lines
run load: exit 0, 0.1s, 2 marker lines
run scene res://depot.tscn: exit 0, 0.1s, 0 marker lines
NOTE headless renders nothing: pixels, the GPU shader back-end and audio output were not checked
FAIL load res://uses_class.gd: SCRIPT ERROR: Parse Error: Expected expression for variable initial value after "=". (res://uses_class.gd:4 GDScript::reload) || ERROR: Failed to load script ...
godot-verify: FAIL 1 problem; 7 files loaded (4 .gd, 1 .gdshader, 1 .tres, 1 .tscn), 1 scene run 60 frames; stages import+load+scenes
The last line is the verdict and the exit code says the same:
| Exit | Verdict | Meaning |
|---|---|---|
| 0 | PASS | every stage ran, printed its sentinel and no marker |
| 2 | FAIL | a stage ran and something is wrong; each problem is on a FAIL line above |
| 3 | UNVERIFIED | nothing was verified: no binary, a binary that prints no version, a timeout, a missing sentinel, the gate's own script failing |
| 1 | refused / usage | the folder has no project.godot, or a bad flag |
UNVERIFIED is not green. Report it as "not verified", with its reason, and never round it up.
| Flag | Effect |
|---|---|
--godot PATH | the binary; default $GODOT_BIN. A macOS app bundle is taken to its Contents/MacOS/Godot. Never guessed |
--scene PATH | a scene to run (res://, uid:// or a path in the project); repeatable. Default: the main scene |
--no-main-scene | run no scene unless --scene names one |
--frames N | frames per scene (default 60) |
--fixed-fps N | one physics tick per frame and no real-time wait (default 60; 0 runs in real time) |
--timeout S | wall clock per Godot run (default 300) |
--exclude PATH | a res:// folder or file not to load (an add-on you do not own); repeatable |
--allow-warnings | WARNING: lines become NOTE lines instead of failures |
--copy | verify a temp copy without .godot/; the folder is not written to |
--version must print a version line. A wrapper or a broken install that exits 0 and
prints nothing would otherwise pass every later stage.--import, once. It writes .godot/ and the global class cache, without which every
class_name is "not found". If a pass still reports missing imports, run it again until
nothing new imports. It also reports asset
import errors and errors in what the main scene reaches. In place it writes what the editor
writes: a .uid beside each .gd and .gdshader and a .import beside each asset; commit
those, or pass --copy.resources/verify_loader.gd, run by -s). Every
.gd .tscn .scn .tres .res .gdshader under res://, except .godot/, dot-folders, folders
with a .gdignore and folders holding their own project.godot. Autoloads and class_name
resolve here, unlike single-file --check-only. A Logger pins each error to its file; each
scene is instantiated and freed; each shader is compiled with
Shader.get_shader_uniform_list, because load() alone leaves a broken shader silent. This is
the only stage that sees a script or shader that nothing uses at startup.resources/scene_runner.gd). The scene becomes
SceneTree.current_scene, so _ready runs: the only stage that sees runtime errors there. A
scene that quits the tree itself is reported with the frames it reached, as a failure.Every run is --headless -l en --path PROJECT, under a wall clock, with --quit-after as a
backstop on the -s runs. The two scripts are copied to a temp folder and run by absolute path,
so nothing of the gate's is written into the project.
Per run, in this order:
SCRIPT ERROR:, SHADER ERROR:, ERROR:, WARNING:, a crash
banner) is FAIL, even when the run then hangs or prints no sentinel: the error is real
and a retry will not change it.The gate keeps going after a FAIL, so one pass lists every broken file; it stops at the first UNVERIFIED stage. Problems already reported against a file are not repeated from the raw stream.
They need no class_name, no autoload and no copy inside the project:
# res_paths.txt: one res:// path per line
"$GODOT_BIN" --headless -l en --path PROJECT --quit-after 300 -s /abs/verify_loader.gd -- /abs/res_paths.txt
"$GODOT_BIN" --headless -l en --path PROJECT --fixed-fps 60 --quit-after 360 -s /abs/scene_runner.gd -- res://depot.tscn 60
Their sentinels are GODOT_VERIFY_DONE stage=load status=ran files=N bad=M and
GODOT_VERIFY_DONE stage=scene status=ran frames=60/60 path=.... A run of either that does not
end with its line has no verdict.
reference/traps.md). Exports and quit(code) are the exceptions.files=0 or frames=0/60 is a run that checked
nothing; a pass with no counts hides it.--check-only: it is wrong both ways._ready
works. Name each scene a change touches with --scene.NOTE line, and so does any report built on it.--allow-warnings only for a project that knowingly
prints them, and read the NOTE lines (reference/markers.md).| Not here | Go to |
|---|---|
| Running Godot by hand, every flag, user arguments, logs | godot-cli |
| Unit tests and their runner | godot-testing |
| Journeys, timelines, frames from a windowed run | godot-play-harness |
| Renamed Godot 3 classes and syntax | godot-version-guard |
| Export presets and templates | godot-export |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub tipoli5890/game-studio --plugin godot-dev28 skills in this plugin
/godot-2d-controllerMove a 2D character in Godot: CharacterBody2D jump, coyote time, jump buffer, slopes, one-way and moving platforms, top-down movement./godot-2d-renderingGodot 2D look: draw order, z_index and y-sort, CanvasLayer, 2D lights and shadows, canvas shaders, Parallax2D, pixel-perfect scaling./godot-2d-rigA layered 2D character into Godot: rig2d.json to Skeleton2D, Bone2D and weighted Polygon2D parts, cut-out animation, 2D IK.