Communitygithub.com

CLI de Godot Engine

Interfaz de línea de comandos nativa para agentes de IA del motor Godot. Permite gestionar proyectos, escenas, exportaciones y ejecutar GDScript desde la terminal.

¿Qué es CLI de Godot Engine?

Este skill proporciona una interfaz de línea de comandos (CLI) diseñada para que agentes de IA (como Claude Code, Cursor, Codex, etc.) interactúen directamente con el motor de juegos Godot Engine. Permite realizar operaciones comunes de desarrollo como crear y gestionar proyectos, inspeccionar y modificar escenas, ejecutar scripts GDScript (tanto archivos como código en línea), exportar builds a diferentes plataformas y consultar el estado del motor. Es especialmente útil para automatizar flujos de trabajo de desarrollo de juegos dentro de un entorno de agente de IA, ya que todos los comandos soportan un modo JSON (`--json`) que devuelve datos estructurados fáciles de procesar. La instalación se realiza mediante pip desde el repositorio CLI-Anything y requiere tener Godot 4.x en la variable PATH o configurar la variable de entorno `GODOT_BIN`.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-godot

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

¿Qué hace CLI de Godot Engine?

CLI nativa para agentes del motor de juegos Godot. Gestiona proyectos, escenas, exportaciones y ejecución de GDScript desde la línea de comandos.

Instalación

pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=godot/agent-harness

Requisitos

  • Godot 4.x en el PATH (o definir la variable de entorno GODOT_BIN)

Comandos

Gestión de proyectos

# Crear un nuevo proyecto Godot
cli-anything-godot project create <ruta> [--name "Mi Juego"]

# Obtener información del proyecto (nombre, características, escena principal)
cli-anything-godot --json -p <proyecto> project info

# Listar todas las escenas
cli-anything-godot --json -p <proyecto> project scenes

# Listar todos los scripts
cli-anything-godot --json -p <proyecto> project scripts

# Listar todos los recursos
cli-anything-godot --json -p <proyecto> project resources

# Reimportar recursos del proyecto
cli-anything-godot -p <proyecto> project reimport

Operaciones con escenas

# Crear una nueva escena con tipo de nodo raíz
cli-anything-godot -p <proyecto> scene create scenes/Nivel1.tscn --root-type Node3D

# Leer la estructura de la escena (nodos, recursos, conexiones)
cli-anything-godot --json -p <proyecto> scene read scenes/Nivel1.tscn

# Añadir un nodo hijo a una escena
cli-anything-godot -p <proyecto> scene add-node scenes/Nivel1.tscn --name Jugador --type CharacterBody3D --parent .

Ejecución de GDScript

# Ejecutar un archivo GDScript (debe extender SceneTree)
cli-anything-godot -p <proyecto> script run tools/build_navmesh.gd

# Ejecutar código GDScript en línea
cli-anything-godot -p <proyecto> script inline 'print(ProjectSettings.get_setting("application/config/name"))'

# Validar sintaxis GDScript
cli-anything-godot -p <proyecto> script validate scripts/jugador.gd

Exportación

# Listar plantillas de exportación configuradas
cli-anything-godot --json -p <proyecto> export presets

# Exportar todas las plantillas
cli-anything-godot -p <proyecto> export build

# Exportar una plantilla específica
cli-anything-godot -p <proyecto> export build --preset "Escritorio Windows" --output build/juego.exe

Motor

# Verificar disponibilidad de Godot y ruta del binario
cli-anything-godot --json engine status

# Obtener versión del motor
cli-anything-godot engine version

Modo JSON

Añade la bandera --json a cualquier comando para obtener una salida JSON estructurada, adecuada para el consumo por agentes:

cli-anything-godot --json -p ./mi-juego project info

REPL interactivo

cli-anything-godot -p ./mi-juego session

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-inkscape

>-

Skills relacionados