Communitygithub.com

CLI Godot Engine

Agent CLI natif pour le moteur de jeu Godot. Gérez les projets, scènes, exports et l'exécution GDScript depuis la ligne de commande.

Qu'est-ce que CLI Godot Engine ?

Cette compétence fournit une interface en ligne de commande native pour le moteur de jeu Godot, conçue pour être utilisée par des agents IA et des développeurs. Elle permet la création et la gestion de projets Godot, l'exploration et la modification de scènes (ajout de nœuds, lecture de structure), l'exécution de scripts GDScript (fichiers ou code en ligne), ainsi que la validation de syntaxe. Prend en charge l'exportation vers des présélections configurées, la réimportation de ressources, et des opérations sur le moteur (vérification de la disponibilité, version). Le mode `--json` fournit une sortie structurée idéale pour les agents. Nécessite Godot 4.x dans le PATH. Utilise un outil CLI unique `cli-anything-godot` installable via pip. Fonctionne sur les plateformes prenant en charge Godot et Python.

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

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

CLI Moteur Godot

CLI natif pour agent du moteur de jeu Godot. Gérez les projets, scènes, exports et l'exécution GDScript depuis la ligne de commande.

Installation

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

Prérequis

  • Godot 4.x dans le PATH (ou définir la variable d'environnement GODOT_BIN)

Commandes

Gestion de projet

# Créer un nouveau projet Godot
cli-anything-godot project create <chemin> [--name "Mon Jeu"]

# Obtenir les informations du projet (nom, fonctionnalités, scène principale)
cli-anything-godot --json -p <projet> project info

# Lister toutes les scènes
cli-anything-godot --json -p <projet> project scenes

# Lister tous les scripts
cli-anything-godot --json -p <projet> project scripts

# Lister toutes les ressources
cli-anything-godot --json -p <projet> project resources

# Réimporter les ressources du projet
cli-anything-godot -p <projet> project reimport

Opérations sur les scènes

# Créer une nouvelle scène avec un type de nœud racine
cli-anything-godot -p <projet> scene create scenes/Niveau1.tscn --root-type Node3D

# Lire la structure de la scène (nœuds, ressources, connexions)
cli-anything-godot --json -p <projet> scene read scenes/Niveau1.tscn

# Ajouter un nœud enfant à une scène
cli-anything-godot -p <projet> scene add-node scenes/Niveau1.tscn --name Joueur --type CharacterBody3D --parent .

Exécution GDScript

# Exécuter un fichier GDScript (doit étendre SceneTree)
cli-anything-godot -p <projet> script run outils/build_navmesh.gd

# Exécuter du code GDScript en ligne
cli-anything-godot -p <projet> script inline 'print(ProjectSettings.get_setting("application/config/name"))'

# Valider la syntaxe GDScript
cli-anything-godot -p <projet> script validate scripts/joueur.gd

Exportation

# Lister les présélections d'exportation configurées
cli-anything-godot --json -p <projet> export presets

# Exporter toutes les présélections
cli-anything-godot -p <projet> export build

# Exporter une présélection spécifique
cli-anything-godot -p <projet> export build --preset "Bureau Windows" --output build/game.exe

Moteur

# Vérifier la disponibilité de Godot et le chemin du binaire
cli-anything-godot --json engine status

# Obtenir la version du moteur
cli-anything-godot engine version

Mode JSON

Ajoutez le drapeau --json à n'importe quelle commande pour obtenir une sortie JSON structurée adaptée aux agents :

cli-anything-godot --json -p ./mon-jeu project info

REPL interactif

cli-anything-godot -p ./mon-jeu 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 associés