Godot API
Researchgodot-apiGodot API is an Agent Skill for research published in the RandallLiuXin/GodotMaker repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Look up Godot engine class APIs — methods, properties, signals, enums. Use when you need to find which class to use or look up specific API details. Supports version-specific docs — reads the correct API for the project's Godot version.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/RandallLiuXin/GodotMaker/blob/HEAD/skills/core/godot-api/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/godot-api, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Godot API Lookup
$ARGUMENTS
Version detection
Docs are stored per Godot version under doc_api/{version}/ and doc_api_csharp/{version}/.
Determine the version to use:
- If the caller specifies a version (e.g. "4.4"), use that
- If
project.godotexists in the working directory, extract fromconfig/features - Otherwise fall back to
latest
Bootstrap if docs for the target version are missing:
bash ${CLAUDE_SKILL_DIR}/tools/ensure_doc_api.sh [version]
How to answer
Language selection: doc_api/{version}/ contains GDScript docs. doc_api_csharp/{version}/ contains C# docs. Default to GDScript unless the caller asks about C#.
- Read
${CLAUDE_SKILL_DIR}/doc_api/{version}/_common.md— index of ~128 common classes- For C#:
${CLAUDE_SKILL_DIR}/doc_api_csharp/{version}/_common.md
- For C#:
- If the class isn't there, read
_other.mdin the same directory - Read
${CLAUDE_SKILL_DIR}/doc_api/{version}/{ClassName}.mdfor full API- For C#:
${CLAUDE_SKILL_DIR}/doc_api_csharp/{version}/{ClassName}.md
- For C#:
- Return what the caller needs:
- Specific question → relevant methods/signals with descriptions
- Full API request → the entire class doc
C# syntax reference: ${CLAUDE_SKILL_DIR}/csharp.md — C# Godot syntax, patterns, and recipes.
GDScript syntax reference: ${CLAUDE_SKILL_DIR}/gdscript.md — GDScript language spec, type system, patterns.