Communitygithub.com

cli-anything-godot

Eine agentenbasierte CLI für die Godot-Engine. Verwalte Projekte, Szenen, Exports und führe GDScript direkt von der Kommandozeile aus aus.

Was ist cli-anything-godot?

Der Skill 'cli-anything-godot' ermöglicht es KI-Agenten (wie Claude Code, Cursor oder Codex) sowie Entwicklern, die Godot-Spielengine vollständig über die Kommandozeile zu steuern. Er bietet eine Reihe von Befehlen für die Projektverwaltung (Erstellen, Informationen abrufen, Szenen und Skripte auflisten), Szenenoperationen (Erstellen, Lesen und Hinzufügen von Knoten), direkte GDScript-Ausführung (Dateien oder Inline-Code, Syntaxvalidierung) und Exportfunktionen (Voreinstellungen auflisten und Builds ausführen). Der Skill unterstützt die Ausgabe im JSON-Format für die strukturierte Verarbeitung durch Agenten und verfügt über eine interaktive REPL-Sitzung. Er ist plattformunabhängig und erfordert lediglich Godot 4.x im PATH oder die Umgebungsvariable GODOT_BIN. Dies vereinfacht die Integration von Godot in CI/CD-Pipelines, automatisierte Workflows und KI-gestützte Entwicklungstools erheblich.

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

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Godot Engine CLI

Agentenkompatible CLI für die Godot-Spielengine. Verwalte Projekte, Szenen, Exports und GDScript-Ausführung über die Kommandozeile.

Installation

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

Voraussetzungen

  • Godot 4.x im PATH (oder setze die Umgebungsvariable GODOT_BIN)

Befehle

Projektverwaltung

# Ein neues Godot-Projekt erstellen
cli-anything-godot project create <pfad> [--name "Mein Spiel"]

# Projektinformationen abrufen (Name, Features, Hauptszene)
cli-anything-godot --json -p <projekt> project info

# Alle Szenen auflisten
cli-anything-godot --json -p <projekt> project scenes

# Alle Skripte auflisten
cli-anything-godot --json -p <projekt> project scripts

# Alle Ressourcen auflisten
cli-anything-godot --json -p <projekt> project resources

# Projektressourcen neu importieren
cli-anything-godot -p <projekt> project reimport

Szenenoperationen

# Eine neue Szene mit Wurzelknotentyp erstellen
cli-anything-godot -p <projekt> scene create scenes/Level1.tscn --root-type Node3D

# Szenenstruktur lesen (Knoten, Ressourcen, Verbindungen)
cli-anything-godot --json -p <projekt> scene read scenes/Level1.tscn

# Einen untergeordneten Knoten zu einer Szene hinzufügen
cli-anything-godot -p <projekt> scene add-node scenes/Level1.tscn --name Spieler --type CharacterBody3D --parent .

GDScript-Ausführung

# Eine GDScript-Datei ausführen (muss SceneTree erweitern)
cli-anything-godot -p <projekt> script run tools/build_navmesh.gd

# Inline-GDScript-Code ausführen
cli-anything-godot -p <projekt> script inline 'print(ProjectSettings.get_setting("application/config/name"))'

# GDScript-Syntax validieren
cli-anything-godot -p <projekt> script validate scripts/player.gd

Export

# Konfigurierte Export-Voreinstellungen auflisten
cli-anything-godot --json -p <projekt> export presets

# Alle Voreinstellungen exportieren
cli-anything-godot -p <projekt> export build

# Eine bestimmte Voreinstellung exportieren
cli-anything-godot -p <projekt> export build --preset "Windows Desktop" --output build/game.exe

Engine

# Verfügbarkeit und Binärpfad von Godot prüfen
cli-anything-godot --json engine status

# Engine-Version abrufen
cli-anything-godot engine version

JSON-Modus

Füge das Flag --json zu einem beliebigen Befehl hinzu, um eine strukturierte JSON-Ausgabe zu erhalten, die für die Verarbeitung durch Agenten geeignet ist:

cli-anything-godot --json -p ./mein-spiel project info

Interaktive REPL

cli-anything-godot -p ./mein-spiel 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

>-

Verwandte Skills