Logo Godot Interactive

Godot Interactive

Cộng đồng
alexmeckes
godot-interactive

Các quy trình làm việc lâu dài với `godot-mcp` và AI Bridge cho dự án Godot 4.x. Dùng kỹ năng này cho các tệp `.tscn`, `.gd`, `.gdshader`, `.tres` và tác vụ trong trình chỉnh sửa trực tiếp cần kiểm tra scene, chỉnh sửa node theo từng bước, làm mới/chạy/kiểm thử nhiều lần, chẩn đoán lúc chạy hoặc xác thực kết hợp giữa tệp và trình chỉnh sửa.

Tổng quan

Nhà phát hànhalexmeckes
Kho mãgodot-claude-skills
Tên kỹ nănggodot-interactive
Sao
52
Bản fork
1
Tệp đi kèm
4
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được alexmeckes công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Godot Interactive trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/alexmeckes/godot-claude-skills/tree/main/skills/godot-interactive
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/alexmeckes/godot-claude-skills.git /tmp/godot-claude-skills
mkdir -p .claude/skills
cp -r /tmp/godot-claude-skills/skills/godot-interactive .claude/skills/godot-interactive
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Godot Interactive trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Godot Interactive ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Godot Interactive với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Godot Interactive

Use a persistent godot-mcp session to work on Godot 4.x projects without rediscovering the editor state every turn. This skill is the Godot analogue of playwright-interactive: it keeps one live editor connection alive when possible, combines it with file-based scene/script/shader tools, and requires explicit validation evidence before signoff.

Prefer the smallest evidence-producing loop. For live-editor tasks, stay on the live godot_editor_* and godot_runtime_* surface unless a file-only detail is truly required.

Preconditions

  • godot-mcp must be configured for the current project.
  • For live editing, Godot 4.x must be running with the target project open and the AI Bridge plugin enabled.
  • The bridge target should come from the active godot_mcp MCP configuration. 127.0.0.1:6550 is a common default, but local setups may override it.
  • For automated gameplay input or screenshots, prefer the first-class godot_runtime_* tools when they are present. If they are absent, fall back to a project-provided runtime harness or manual verification.
  • If tool choice is unclear, call godot_help first.
  • If the bridge is unavailable, continue with file-based tools and manual Godot review instead of inventing live-editor results.
  • Treat a dropped bridge connection as a session problem. Reconnect before doing more live-editor work.
  • If the user explicitly targets the running editor or currently open scene, treat the connected editor project as the source of truth. Do not burn time reconciling it with the shell workspace unless the task also depends on workspace files or the user suggests the wrong editor is open.

Workflow Decision Tree

  • Use the live-editor workflow for node hierarchy changes, layout tuning, quick property edits, opening/running scenes, and immediate runtime inspection.
  • Use the file-based workflow for larger structural edits, generated scenes/scripts/shaders/resources, or any work done before Godot is open.
  • Use the runtime-automation workflow whenever dedicated godot_runtime_* tools exist. If they do not, only use it when the project already exposes a real runtime harness.
  • Use the hybrid workflow for most real tasks: edit files, refresh the editor, inspect the scene tree, run the scene, collect output/errors, and iterate.

Core Workflow

  1. Build a QA inventory before changing anything.
    • Combine the user's requirements, the behaviors you implement, and the claims you expect to make in the final response.
    • For each claim, decide what evidence will prove it: scene tree state, validation output, runtime output/errors, manual in-engine verification, or a saved screenshot if the project supports it.
    • Add at least 2 off-happy-path checks for fragile gameplay, scene state, or editor synchronization.
  2. Confirm the active project and current scene state.
    • Prefer godot_connection_status, godot_editor_get_project_info, and godot_editor_get_scene_tree.
    • If no live session exists yet, decide whether to start with file-based edits or connect immediately.
  3. Inspect before editing.
    • For files: use godot_read_scene, godot_list_scene_nodes, godot_read_script, godot_read_shader, or godot_read_resource.
    • For live scenes: use godot_editor_get_scene_tree and optionally godot_editor_select_node.
    • For file-based scene checks, prefer godot_list_scene_nodes before godot_read_scene.
    • Do not read the full .tscn with godot_read_scene during a live task unless the live tree cannot answer the question. Large scene dumps slow the feedback loop.
    • Do not read the full .tscn during a file task unless you need serialized details like connections, external resources, or exact property payloads that godot_list_scene_nodes cannot provide.
  4. Make the smallest meaningful change.
    • Prefer incremental edits over large speculative rewrites.
    • Keep node names and paths stable when possible so follow-up changes remain cheap.
    • When the goal is fast feedback rather than final UI quality, prefer a temporary probe node over exploratory edits to production nodes.
  5. Refresh or save based on how the change was made.
    • External file edits while Godot is open: godot_editor_refresh_filesystem.
    • Live scene edits you intend to keep: godot_editor_save_scene.
  6. Validate before running.
    • Use godot_validate_scene on touched scenes.
    • Use godot_validate_script on touched scripts.
    • Use godot_help or docs tools if a class/property choice is still uncertain.
  7. Run and inspect.
    • Use godot_editor_run_scene.
    • Inspect godot_editor_get_errors, godot_editor_get_output, and, when needed, godot_editor_get_log_file.
    • Use godot_runtime_* tools for gameplay input, runtime waits, and screenshot capture when they are available.
    • Do not call godot_runtime_status before a scene is running unless you are checking whether a previous run is still active. Start the scene first.
    • After a live node add, prefer godot_editor_modify_node or structured properties on godot_editor_add_node before reaching for godot_editor_execute_gdscript.
    • Use godot_editor_execute_gdscript only for editor-side diagnostics or setup. It is not a general substitute for runtime gameplay input or frame capture.
    • If a screenshot or runtime assertion fails, inspect the specific node path and its properties first. Only expand to broad log review if the node-level check does not explain the failure.
  8. Update the QA inventory if exploration reveals new states, controls, failure modes, or visible claims.
  9. Sign off only from explicit evidence, and note any remaining manual verification gaps.

Fast Probe Presets

Use this path when the user wants faster feedback, a runtime target, or proof of interaction rather than final polish.

  • Prefer a temporary Label, Button, or LineEdit probe under a known live parent instead of spending turns rediscovering common Control properties.
  • Use the copyable presets in references/fast-probe-presets.md for deterministic geometry and obvious text.
  • Default to top-left anchored controls with fixed position, fixed size, and loud text or placeholder values so runtime click and screenshot evidence are unambiguous.
  • Save and validate immediately after adding the probe, then run the scene and gather evidence.
  • Remove the probe, save again, and revalidate before signoff unless the user explicitly wants to keep it.
  • Do not call docs tools or godot_help for common probe controls unless the preset fails, the project has unusual container behavior, or the user needs final-quality UI behavior rather than a temporary target.

Start Or Reuse Live Session

Keep the same bridge connection alive across iterations when possible.

Typical attach sequence:

text
godot_connect {}
godot_connection_status {}
godot_editor_get_project_info {}
godot_editor_get_scene_tree {}

If you need to override the configured bridge target for troubleshooting or multiple editors:

text
godot_connect { "host": "127.0.0.1", "port": 6550 }

If you need a specific scene:

text
godot_editor_open_scene { "scenePath": "res://scenes/main.tscn" }
godot_editor_get_scene_tree {}

Rules:

  • Reuse the existing connection instead of reconnecting on every turn.
  • If Godot was restarted, the project changed, or the bridge timed out, reconnect and reacquire the scene tree before making assumptions.
  • If a node path changed, rerun godot_editor_get_scene_tree instead of guessing the new path.

File-Based Workflow

Use file-based tools when the bridge is unavailable or when broad edits are easier outside the editor.

Common loop:

  1. Read the current artifact.
  2. Edit with the appropriate godot_* file tool.
  3. Validate the changed file.
  4. If Godot is open, call godot_editor_refresh_filesystem.
  5. Open or rerun the scene in the editor to verify behavior.

Typical pairings:

  • Scene structure: godot_read_scene, godot_add_node, godot_modify_node, godot_validate_scene
  • Scripts: godot_read_script, godot_write_script, godot_validate_script
  • Shaders: godot_read_shader, godot_write_shader
  • Resources: godot_read_resource, godot_write_resource
  • UI generation: godot_ui_* tools followed by validation and a live run pass

Use file reads only when you need file-only structure such as external resources, connections, or exact serialized properties. For most live scene checks, godot_editor_get_scene_tree is the faster baseline.

Refresh And Rerun Decision

  • External .tscn, .gd, .gdshader, .tres, or project.godot changes while the editor is open: run godot_editor_refresh_filesystem.
  • Live scene changes you want persisted: run godot_editor_save_scene.
  • Runtime behavior changes, script changes, or scene logic changes: rerun the scene.
  • Bridge disconnect, editor restart, or project reopen: reconnect and reacquire state.
  • Stale node paths: reread the scene tree before issuing more live node commands.

Runtime Automation Workflow

Use this whenever the current MCP surface exposes godot_runtime_* tools. If those tools are absent, only use it when a real project-side runtime harness already exists.

  • First inspect the available automation surface.
    • Check the MCP tool list for dedicated godot_runtime_* tools first.
    • Search the project for an existing debug/test harness, local automation server, screenshot helper, or deterministic test runner.
    • Read the harness entrypoint before using it so you know whether it targets the editor process or the running game process.
  • Treat editor-side and runtime-side code as different environments.
    • godot_editor_execute_gdscript runs in the editor/plugin context.
    • The current godot_runtime_* tools target the running game process through the AI Bridge runtime harness.
    • A project-specific fallback still needs its own harness, test scene, autoload, CLI, or transport to accept input commands and emit screenshots or state snapshots.
  • Prefer automation evidence in this order:
    • dedicated godot_runtime_* tools
    • project-provided deterministic harness that writes artifacts or structured results
    • manual in-engine verification
  • For input automation:
    • Prefer real input-event injection for UI, cursor, and focus-sensitive checks.
    • Prefer action-level helpers only for gameplay semantics where position and event routing do not matter.
    • Make the target control easy to hit before running: deterministic position, visible size, and obvious text or placeholder.
    • For temporary UI targets, start with the preset Label, Button, or LineEdit payloads instead of discovering properties from scratch.
  • For screenshot automation:
    • Prefer deterministic output paths and stable capture timing.
    • Pair screenshots with structured state, logs, or scene assertions so visual claims are not based on a single image alone.
  • If no runtime harness exists, do not pretend the editor bridge can replace it. Call out the verification limit explicitly.

Checklists

Session Loop

  • Keep one live connection alive when the editor is available.
  • Reinspect current state before a new edit burst.
  • Make one coherent change set.
  • Refresh or save based on where the change happened.
  • Validate touched files.
  • Run the relevant scene.
  • Inspect runtime output and errors.
  • Update the QA inventory if new states or claims appear.

Validation And Runtime Checks

  • Structural changes: godot_validate_scene
  • Script changes: godot_validate_script
  • Runtime/editor issues: godot_editor_get_errors
  • General trace output: godot_editor_get_output
  • Longer or incremental log review: godot_editor_get_log_file
  • Focused introspection: godot_editor_execute_gdscript
  • Runtime automation: godot_runtime_status, godot_runtime_wait, godot_runtime_press_action, godot_runtime_release_action, godot_runtime_tap_action, godot_runtime_mouse_move, godot_runtime_click, godot_runtime_type_text, godot_runtime_capture_screenshot

When using godot_editor_execute_gdscript:

  • Keep scripts short and diagnostic.
  • Prefer returning structured values.
  • Treat the result as editor-side inspection evidence, not proof that a player-facing interaction works.

Signoff

  • Coverage is explicit against the QA inventory.
  • Touched scenes and scripts were validated.
  • The final scene tree or file structure was rechecked after edits.
  • A runtime pass was completed for behavior-affecting changes.
  • The response clearly distinguishes between validated behavior and assumptions.
  • If the claim depends on player input, timing, or visuals, manual in-engine verification or an existing automated harness was used.
  • Any missing evidence is called out explicitly.

Visual Evidence And Limits

This is still the largest difference from playwright-interactive, even after adding runtime tools.

  • godot-mcp now exposes first-class runtime input and screenshot tools through godot_runtime_*, but the workflow is still less browser-like than Playwright.
  • The bridge remains split across editor-side control and runtime-side automation. Keep those environments conceptually separate.
  • Do not claim visual QA is complete from scene tree and log output alone.
  • If a task depends on visuals, layout, animation timing, or gameplay feel, use godot_runtime_capture_screenshot or an equivalent project artifact when possible; otherwise inspect the running Godot window manually.
  • If the project can save screenshots to disk, review them directly and reference the path.
  • If no visual artifact exists, describe the verification limit plainly.

Common Failure Modes

  • godot_connect times out: Godot is not running, the AI Bridge plugin is disabled, or the port/host is wrong.
  • Not connected to Godot editor: reconnect before using godot_editor_* tools.
  • The shell workspace and the connected editor project differ: if the user asked to work against the running editor, continue on the connected project and mention the difference briefly instead of treating it as a blocker.
  • No scene open: open a scene explicitly with godot_editor_open_scene.
  • Node not found: reacquire the scene tree and verify the path before issuing another command.
  • External edits do not appear in the editor: run godot_editor_refresh_filesystem.
  • godot_editor_execute_gdscript compile failures: inspect godot_editor_get_errors and godot_editor_get_log_file.
  • Runtime automation tools time out or fail: make sure the scene is actually running, the runtime harness autoload is loaded, and the request targets the running game rather than the editor.
  • Older Godot or Claude-oriented notes may mention tools that are not in the current MCP surface. Use the reference file below and godot_help as the source of truth.

References

Read references/live-editor-tool-map.md when you need the current tool names, common payload shapes, or drift notes from the older Godot skill repo. Read references/fast-probe-presets.md when you need a fast temporary Label, Button, or LineEdit target for runtime or screenshot verification. Read references/runtime-automation-extension-points.md when you need the current limits, the recommended runtime harness shape, or the future runtime tool set this skill should prefer when it exists.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Godot Interactive làm được gì?

Các quy trình làm việc lâu dài với `godot-mcp` và AI Bridge cho dự án Godot 4.x. Dùng kỹ năng này cho các tệp `.tscn`, `.gd`, `.gdshader`, `.tres` và tác vụ trong trình chỉnh sửa trực tiếp cần kiểm tra scene, chỉnh sửa node theo từng bước, làm mới/chạy/kiểm thử nhiều lần, chẩn đoán lúc chạy hoặc xác thực kết hợp giữa tệp và trình chỉnh sửa.

Vì sao nên dùng Godot Interactive trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Godot Interactive là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Godot Interactive trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/alexmeckes/godot-claude-skills/tree/main/skills/godot-interactive. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Godot Interactive?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Godot Interactive với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Godot Interactive với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Godot Interactive có miễn phí không?

Có. Kỹ năng này được alexmeckes phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇