agentleFS
GucixdevGucixdev/claude-skills/skills/godot/SKILL.md

godot

Skill0 starsChanged 8 days agoMITView on GitHub

Godot and Blender work - his conventions (one-node self-contained addons, built-in nodes over plugins, no ez names, Emacs as editor), driving his live Godot editor and Blender over MCP, the Blender to Godot pipeline, safety rules paid for with crashes. Use for ~/dev/godot, GDScript, scenes, assets or Blender.

13 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 2 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    After installing a new Blender version run ~/.config/blender/mcp/run once.

    line 29
  2. Very specific:

    Verify: godot_get_errors; mcp__blender__look for the Blender side.

    line 51
  3. Distinctive:

    Never test new or changed plugin code against his live editor: a bad call aborted it (SIGABRT, unsaved work at risk).

    line 55
  4. Very specific:

    Before any headless crash test: pgrep -af godot.

    line 58
  5. Very specific:

    Never call EditorFileSystem.update_file()/reimport_files() right after scan() or during a scan.

    line 61
  6. Very specific:

    Never block the editor thread on a child process (OS.execute).

    line 62
  7. Very specific:

    After changing the bridge file the running MCP client keeps the old code until /mcp reconnects or the session restarts.

    line 66
  8. Distinctive:

    Read the part when the task matches.

    line 72

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

godot

Conventions

  • Addons as one self-contained node that does the whole job (Control3D, SaveSystem, AnimPlayer, DialogueSystem were each collapsed to one node, 2026-10-10) - easy to drop in, reason about and delete.
  • No ez* prefix here (that is his bash tools' convention); name nodes for what they do.
  • Godot's own nodes and features before a third-party addon - core/ is mid-purge of plugins.
  • External editor is Emacs: ~/.config/godot/editor_settings-4.7.tres, text_editor/external/exec_path = emacsclient. Running from Emacs: C-c r runs compile-command, set per project in .dir-locals.el (godot --path /path/to/project). godot is on PATH.
  • Data-heavy code: PackedArrays and the servers API over thousands of nodes (code (languages) (dod)).

Connections (both start with the app)

  • Godot: toolbox tool godot_mcp_server on port 9090 (next free up to 9094) in any project with addons/toolbox enabled (core, scrollsouls, web; new_project.sh sets it up). Bridge ~/dev/godot/core/godot-mcp-bridge.mjs, reconnects lazily. Several editors: godot_instances, then godot_use {project}; godot_status for health.
  • Blender: add-on server on 9876, started by ~/.config/blender/mcp/blendermcp_autostart.py on every GUI launch. After installing a new Blender version run ~/.config/blender/mcp/run once. blender -b never serves.

Godot tools (106+, generated by python3 ~/dev/godot/core/mcp_tools/gen_tools.py)

Load with ToolSearch select:mcp__godot__godot_NAME. Groups: scene (read_scene, get_scene_hierarchy, add/remove/move/ rename_node, modify_node_property, set_node_properties, attach_script, set_material/mesh, connect_signal, groups), file and script (read_file, list_dir, search_project, create_script, edit_script, validate_script), project (get_errors, get_console_log, run_scene/stop_scene/is_playing, get_project_settings, update_project_settings, setup_autoload, input map, classdb_query, rescan_filesystem), ui_, theme_, animation_, animtree_, particles_, nav_, recording_, export_, test_assert, map_project. godot_cmd {method, params} is the raw escape hatch. Scene paths res://..., node paths relative to the scene root ("UI/bars/hp"). Use these instead of headless scripts for scene, node, UI and animation work (he asked for it, 2026-10-10).

Blender to Godot

  1. In Blender (mcp__blender__execute_blender_code): import os; exec(open(os.path.expanduser("~/.config/blender/mcp/to_godot.py")).read()), then print(export_to_godot(os.path.expanduser("~/dev/godot/core"), "crate")) (selected; or collection="Props", selected_only=False) - writes PROJECT/assets/models/NAME.glb (Y-up, modifiers applied, materials embedded), returns res_path, triangles, warnings.
  2. In Godot: godot_rescan_filesystem {paths: [res_path]} (waits for the import).
  3. godot_instance_scene {scene_path, instance_path: res_path} or add_node, then godot_save_scene.
  4. Verify: godot_get_errors; mcp__blender__look for the Blender side.

Rules, each one paid for

  • Never test new or changed plugin code against his live editor: a bad call aborted it (SIGABRT, unsaved work at risk). Test in a disposable instance: bash core/new_project.sh iso in a temp layout (symlinks the same toolbox), godot --headless --editor --path ISO, drive it with the bridge from a node script, then trash it.
  • Before any headless crash test: pgrep -af godot. If his editor has the same project open, don't start a second one - two editors on one project fight over .godot/ and the lock, and the crashes look like a code bug. Ask him to close it or wait.
  • Never call EditorFileSystem.update_file()/reimport_files() right after scan() or during a scan; scan and wait.
  • Never block the editor thread on a child process (OS.execute); OS.create_process, a log file, a status poll.
  • Godot's JSON leaves raw control characters unescaped; a dropped message looks like a hang - strip or parse tolerantly.
  • Writes change his OPEN scene (undoable): say what changes; read-only calls are free.
  • After changing the bridge file the running MCP client keeps the old code until /mcp reconnects or the session restarts.
  • Pixel and shader regression stays in tests/render_*.gd (windowed Vulkan harness), not in MCP.

Parts

Read the part when the task matches; each file is the former skill of the same name.

  • blender - How to drive the user's live Godot editor and Blender through their MCP servers - tool discovery, the Blender->Godot export pipeline, and the safety rules learned the hard way. Use whenever working on assets, scenes, UI or the project in ~/dev/godot or anything in Blender.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.