Communitygithub.com

CLI Anything Godot

Ferramenta de linha de comando nativa para a engine Godot. Gerencie projetos, cenas, exportações e execute GDScript diretamente do terminal.

O que é CLI Anything Godot?

Este skill fornece uma interface de linha de comando (CLI) completa para a engine de jogos Godot, permitindo que agentes de IA interajam de forma programática com projetos Godot. Com comandos para criação e gerenciamento de projetos, operações em cenas (como criar, ler e adicionar nós), execução de scripts GDScript (arquivos ou código inline), validação de sintaxe e exportação para plataformas de destino, o skill automatiza fluxos de trabalho comuns de desenvolvimento. Suporta saída JSON para consumo estruturado por agentes e inclui um modo REPL interativo. É particularmente útil para pipelines de CI/CD, ferramentas de build automatizadas e assistentes de IA que precisam manipular projetos Godot sem intervenção manual. Funciona com Godot 4.x e requer que o binário do Godot esteja no PATH ou definido via variável de ambiente GODOT_BIN.

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

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Godot Engine CLI

CLI nativa para a engine Godot. Gerencie projetos, cenas, exportações e execução de GDScript a partir da linha de comando.

Instalação

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

Requisitos

  • Godot 4.x no PATH (ou defina a variável de ambiente GODOT_BIN)

Comandos

Gerenciamento de Projetos

# Criar um novo projeto Godot
cli-anything-godot project create <caminho> [--name "Meu Jogo"]

# Obter informações do projeto (nome, recursos, cena principal)
cli-anything-godot --json -p <projeto> project info

# Listar todas as cenas
cli-anything-godot --json -p <projeto> project scenes

# Listar todos os scripts
cli-anything-godot --json -p <projeto> project scripts

# Listar todos os recursos
cli-anything-godot --json -p <projeto> project resources

# Reimportar recursos do projeto
cli-anything-godot -p <projeto> project reimport

Operações com Cenas

# Criar uma nova cena com tipo de nó raiz
cli-anything-godot -p <projeto> scene create cenas/Nivel1.tscn --root-type Node3D

# Ler estrutura da cena (nós, recursos, conexões)
cli-anything-godot --json -p <projeto> scene read cenas/Nivel1.tscn

# Adicionar um nó filho a uma cena
cli-anything-godot -p <projeto> scene add-node cenas/Nivel1.tscn --name Jogador --type CharacterBody3D --parent .

Execução de GDScript

# Executar um arquivo GDScript (deve estender SceneTree)
cli-anything-godot -p <projeto> script run ferramentas/construir_navmesh.gd

# Executar código GDScript inline
cli-anything-godot -p <projeto> script inline 'print(ProjectSettings.get_setting("application/config/name"))'

# Validar sintaxe GDScript
cli-anything-godot -p <projeto> script validate scripts/jogador.gd

Exportação

# Listar predefinições de exportação configuradas
cli-anything-godot --json -p <projeto> export presets

# Exportar todas as predefinições
cli-anything-godot -p <projeto> export build

# Exportar uma predefinição específica
cli-anything-godot -p <projeto> export build --preset "Windows Desktop" --output build/jogo.exe

Engine

# Verificar disponibilidade do Godot e caminho do binário
cli-anything-godot --json engine status

# Obter versão da engine
cli-anything-godot engine version

Modo JSON

Adicione a flag --json a qualquer comando para obter saída JSON estruturada, adequada para consumo por agentes:

cli-anything-godot --json -p ./meu-jogo project info

REPL Interativo

cli-anything-godot -p ./meu-jogo 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

>-

Habilidades Relacionadas