Aller au contenu
Skillpedia
Programmation générale58k · #3208

cli-anything-godot

Ce qu’il fait

Cette compétence permet à votre agent de gérer des projets de jeu Godot 4 par un outil en ligne de commande. Elle s'adresse aux développeurs de jeux qui veulent créer des scènes et exécuter des scripts sans passer par l'éditeur.

Quand l’utiliser

  • ✓Quand vous voulez créer en ligne de commande un nouveau projet ou une nouvelle scène Godot.
  • ✓Quand vous voulez ajouter des nœuds à une scène existante.
  • ✓Quand vous voulez exporter un projet Godot ou exécuter un fichier GDScript.

Lien du skill

https://github.com/HKUDS/CLI-Anything/blob/main/godot/agent-harness/cli_anything/godot/skills/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/HKUDS/CLI-Anything/blob/main/godot/agent-harness/cli_anything/godot/skills/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Crée un nouveau projet Godot nommé Racer avec une scène Level1 qui contient un nœud Player.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

La compétence appelle le programme Godot de votre ordinateur avec des commandes pour les projets, les scènes, les exportations et les scripts. Elle lit et écrit les fichiers du projet pour que votre agent puisse travailler dessus.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Godot Engine CLI

Agent-native CLI for the Godot game engine. Manage projects, scenes, exports, and GDScript execution from the command line.

Installation

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

Requirements

  • Godot 4.x on PATH (or set GODOT_BIN env var)

Commands

Project Management

# Create a new Godot project
cli-anything-godot project create <path> [--name "My Game"]

# Get project info (name, features, main scene)
cli-anything-godot --json -p <project> project info

# List all scenes
cli-anything-godot --json -p <project> project scenes

# List all scripts
cli-anything-godot --json -p <project> project scripts

# List all resources
cli-anything-godot --json -p <project> project resources

# Re-import project resources
cli-anything-godot -p <project> project reimport

Scene Operations

# Create a new scene with root node type
cli-anything-godot -p <project> scene create scenes/Level1.tscn --root-type Node3D

# Read scene structure (nodes, resources, connections)
cli-anything-godot --json -p <project> scene read scenes/Level1.tscn

# Add a child node to a scene
cli-anything-godot -p <project> scene add-node scenes/Level1.tscn --name Player --type CharacterBody3D --parent .

GDScript Execution

# Run a GDScript file (must extend SceneTree)
cli-anything-godot -p <project> script run tools/build_navmesh.gd

# Run inline GDScript code
cli-anything-godot -p <project> script inline 'print(ProjectSettings.get_setting("application/config/name"))'

# Validate GDScript syntax
cli-anything-godot -p <project> script validate scripts/player.gd

Export

# List configured export presets
cli-anything-godot --json -p <project> export presets

# Export all presets
cli-anything-godot -p <project> export build

# Export a specific preset
cli-anything-godot -p <project> export build --preset "Windows Desktop" --output build/game.exe

Engine

# Check Godot availability and binary path
cli-anything-godot --json engine status

# Get engine version
cli-anything-godot engine version

JSON Mode

Add --json flag to any command for structured JSON output suitable for agent consumption:

cli-anything-godot --json -p ./my-game project info

Interactive REPL

cli-anything-godot -p ./my-game session
Questions fréquentes

Quelle version de Godot faut-il ?

La compétence a besoin de Godot 4.x sur votre chemin d'accès, ou défini par la variable GODOT_BIN.

Peut-elle exécuter des scripts ?

Oui, elle peut exécuter un fichier GDScript, qui doit étendre SceneTree.

Peut-elle afficher les détails d'un projet ?

Oui, elle peut afficher les informations du projet, ses scènes, ses scripts et ses ressources.

Détails

Description originale de l’auteur

Agent-native CLI for Godot project management, scenes, exports, and script execution.

repo: HKUDS/CLI-Anything

Popularité

Étoiles GitHub
58k
Position au classement
#3208
Licence
Apache-2.0
Mis à jour
21/09/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires