spardanviro

Godot AI — AI skill for Claude Code

AI community

Native C++ AI assistant module for the Godot 4.7 editor - multi-provider LLM chat, GDScript code generation & execution, scene-aware context, on-demand API docs and gotchas injection.

How to install Godot AI

This entry records only its repository, not the path inside it, so there is no exact command to give. Open spardanviro/Godot_AI and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Godot AI does

Native C++ AI assistant module for the Godot 4.7 editor - multi-provider LLM chat, GDScript code generation & execution, scene-aware context, on-demand API docs and gotchas injection.

Alternatives in AI

  • Claudekit — by Carl Rannaberg - Impressive CLI toolkit providing auto-save checkpointing, code quality hooks, specificatio 633 ★
  • Blender AI MCP Addon — AI assistant and MCP server for Blender: visual chat, scene tools, multi-agent workflows 531 ★
  • Module Feature — Add a new feature (model + service + controller + views + routes + tests) to an existing module 407 ★

README

Godot AI Assistant

AI assistant support inside the Godot editor as a native `ai_assistant` module, compatible with **Godot 4.7+** (godot-master).

This project adds a docked AI panel to the editor, supports multiple LLM providers, and can execute AI-generated editor actions through `EditorScript` workflows. It is built for scene editing, script generation, project setup, file-aware prompting, asset generation, and debugging assistance directly inside Godot.

Overview

`ai_assistant` is a native C++ Godot module. It is not a GDExtension and not a regular addon distributed as project files. It is intended to live under the Godot engine source tree and be compiled into the editor build.

Once enabled, the module registers:

  • AIAssistantPlugin as an editor plugin
  • AIAssistantPanel as the main dock UI
  • Provider integrations for Anthropic, OpenAI-compatible APIs, Gemini, DeepSeek, and GLM
  • Helper systems for response parsing, script execution, context collection, permissions, checkpoints, error monitoring, web search, asset generation, and mention-aware input
  • On-demand API doc and gotchas injection (zero static overhead for unrelated topics)

The panel is mounted in the right dock area of the editor.

Implemented Features

Editor assistant panel

  • Docked AI panel inside the Godot editor
  • Chat-style interaction UI with persistent conversation history
  • New, History, Settings, file attachment, mention, send, and stop controls
  • Streamed responses with a Stop button for partial cancellation
  • Auto-resizing multiline input field
  • High-frequency preset actions:
    • Fix Errors
    • Performance

Assistant modes

  • ASK: conversational mode, no code execution
  • AGENT: action-oriented mode with execution flow
  • PLAN: planning-first mode before execution

Scene node mentions and editor-aware input

  • Type @ in the input box to open scene-node autocomplete
  • Drag scene nodes into the input field to insert mention chips
  • Use the `@