本文へスキップ
Skillpedia
一般的なプログラミング58k · #3208

cli-anything-godot

できること

このスキルは、コマンドラインツールを通じて、エージェントがGodot 4のゲームプロジェクトを管理できるようにします。エディターを使わずに、シーンの作成やスクリプトの実行をしたいゲーム開発者向けです。

使う場面

  • ✓コマンドラインから新しいGodotプロジェクトやシーンを作成したいとき。
  • ✓既存のシーンにノードを追加したいとき。
  • ✓Godotプロジェクトを書き出したり、GDScriptファイルを実行したりしたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/HKUDS/CLI-Anything/blob/main/godot/agent-harness/cli_anything/godot/skills/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Racerという新しいGodotプロジェクトを作成し、Playerノードを持つLevel1シーンを追加してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルは、プロジェクト、シーン、書き出し、スクリプトのコマンドを使って、お使いのコンピューター上のGodotプログラムを呼び出します。プロジェクトファイルを読み書きし、エージェントが作業できるようにします。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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
よくある質問

どのGodotバージョンが必要ですか?

Godot 4.xがパス上にあるか、GODOT_BIN変数で指定されている必要があります。

スクリプトを実行できますか?

はい。GDScriptファイルを実行できます。そのファイルはSceneTreeを継承している必要があります。

プロジェクトの詳細を表示できますか?

はい。プロジェクト情報、シーン、スクリプト、リソースを表示できます。

詳細

作者による元の説明

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

repo: HKUDS/CLI-Anything

人気

GitHubのスター
58k
ランキング
#3208
ライセンス
Apache-2.0
更新日
2026/9/21

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル