Skip to main content
skill CX Codex

cli-anything-godot — Claude Code skill: Godot CLI

Controls Godot projects from the command line, including scenes, GDScript runs, and exports. Useful when an agent needs to change or inspect a game project.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add HKUDS/CLI-Anything --skill cli-anything-godot -a claude-code
Open on GitHub

What cli-anything-godot does

This skill gives an agent a CLI for Godot project work. It can create projects and scenes, inspect scene structure, add child nodes, list scenes, scripts, and resources, and re-import project resources.

The same interface runs a GDScript file, executes inline code, and validates script syntax. It can list export presets, build every preset, or build one selected preset. Add --json for structured output; session starts an interactive REPL.

Godot 4.x must be available on PATH, or you need to set GODOT_BIN. Check that binary path first, because the skill depends on a working Godot installation.

What it helps with

  • create a Godot project at a chosen path
  • inspect a scene and add a child node
  • validate a GDScript file
  • run a script or inline GDScript code
  • build an export with a selected preset

Example prompts for the agent

  • Create a Godot project in ./my-game, name it My Game, and return project information with --json.
  • Read scenes/Level1.tscn, then add a CharacterBody3D node named Player with . as its parent.
  • Validate scripts/player.gd, then export the project with the Windows Desktop preset to build/game.exe.

How to install cli-anything-godot

1Skills CLI (Vercel)

npx skills add HKUDS/CLI-Anything --skill cli-anything-godot -a claude-code

2Manually: put the files in place

~/.claude/skills/cli-anything-godot/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cli-anything-godot/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cli-anything-godot

How do I install cli-anything-godot in Claude Code?

Run npx skills add HKUDS/CLI-Anything --skill cli-anything-godot -a claude-code, then run the same command again: npx skills add HKUDS/CLI-Anything --skill cli-anything-godot -a claude-code. The skill file is at ~/.claude/skills/cli-anything-godot/SKILL.md.

What does cli-anything-godot do?

It connects an agent to a Godot CLI for project and scene operations, GDScript execution, syntax checks, and exports.

What does cli-anything-godot require?

Godot 4.x must be on PATH, or GODOT_BIN must point to the binary. Add --json when the agent needs structured command output.

Source text

SKILL.md · Apache-2.0
---
name: "cli-anything-godot"
description: >-
  Agent-native CLI for Godot project management, scenes, exports, and script execution.
---

# Godot Engine CLI

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

## Installation

```bash
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

```bash
# 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

```bash
# 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

```bash
# 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

```bash
# 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

```bash
# 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:

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

## Interactive REPL

```bash
cli-anything-godot -p ./my-game session
```

© HKUDS · Apache-2.0 · HKUDS/CLI-Anything

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set55

cli-anything-freecad Turns FreeCAD into a scriptable CLI for your agent: 258 commands for primitives, sketches, PartDesign features and headless export. CX Codex +1 650installs cli-anything-gimp Provides a stateful image editing CLI built on Pillow and GIMP for AI agents. It handles layers, drawing, and headless rendering without a GUI. CX Codex +1 617installs cli-anything-inkscape Stateful command-line interface skill for editing vector graphics in Inkscape, tracking project state in JSON, and manipulating SVG documents. CX Codex +1 605installs cli-anything-browser This skill maps Chrome's Accessibility Tree to a virtual filesystem. Agents navigate pages, inspect elements, and click buttons with standard terminal commands. CX Codex +1 594installs cli-anything-comfyui A skill that hands your coding agent a terminal for ComfyUI, so it can queue workflows, browse models and pull finished images without a GUI in the way. CX Codex +1 546installs cli-anything-ollama Skill for working with local LLMs through the Ollama REST API directly from your editor. Lets agents run models, generate text, chat, and create embeddings without a GUI. CX Codex +1 542installs cli-anything-kdenlive Controls Kdenlive video editing through a stateful terminal tool. Helps coding agents build timelines, apply filters, and export projects to MLT XML without manual GUI work. CX Codex +1 536installs cli-anything-qgis Drives a QGIS project from the shell: GeoPackage layers, WKT features, print layouts, PDF export and qgis_process algorithms. Useful when the map has to be built without clicking. CX Codex +1 534installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor