Langsung ke konten
Skillpedia
Pemrograman umum58k Β· #3208

cli-anything-godot

Fungsinya

Skill ini memungkinkan agent Anda mengelola proyek game Godot 4 melalui alat baris perintah. Skill ini untuk pengembang game yang ingin membuat scene dan menjalankan skrip tanpa editor.

Kapan dipakai

  • βœ“Saat Anda ingin proyek atau scene Godot baru dibuat dari baris perintah.
  • βœ“Saat Anda ingin node ditambahkan ke scene yang sudah ada.
  • βœ“Saat Anda ingin proyek Godot diekspor atau file GDScript dijalankan.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/HKUDS/CLI-Anything/blob/main/godot/agent-harness/cli_anything/godot/skills/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBuat proyek Godot baru bernama Racer dengan scene Level1 yang memiliki node Player.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini memanggil program Godot di komputer Anda dengan perintah untuk proyek, scene, ekspor, dan skrip. Skill ini membaca dan menulis file proyek sehingga agent Anda bisa bekerja dengannya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Versi Godot apa yang dibutuhkan?

Skill ini membutuhkan Godot 4.x di path Anda, atau dapat diatur melalui variabel GODOT_BIN.

Apakah skill ini bisa menjalankan skrip?

Ya, skill ini bisa menjalankan file GDScript, yang harus mewarisi SceneTree.

Apakah skill ini bisa menampilkan detail proyek?

Ya, skill ini bisa menampilkan info proyek, scene, skrip, dan resource.

Detail

Deskripsi asli dari pembuat

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

repo: HKUDS/CLI-Anything

Popularitas

Bintang GitHub
58k
Peringkat
#3208
Lisensi
Apache-2.0
Diperbarui
21/9/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa