godot-cli

godot-cli is a skill for Codex from fanfan-de/anybox. It costs 173 tokens per session (7,536 once invoked), scanned A, original, MIT.

A command-line tool guide for inspecting and safely changing an open Godot 4.6 project. Godot is a tool for building games and interactive applications.

In plain words
What is it for?
Use it to inspect scenes, nodes, resources, signals, and properties, or to create, move, rename, copy, and connect approved Godot objects.
Why use it?
It gives the agent a structured way to see project and scene state without guessing what is open or changing unsupported parts.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to inspect scenes, nodes, resources, signals, and properties, or to create, move, rename, copy, and connect approved Godot objects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fanfan-de/anybox/godot-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add fanfan-de/anybox --skill godot-cli
Clone the repo
git clone --depth 1 https://github.com/fanfan-de/anybox

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for godot-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/fanfan-de/anybox/godot-cli/github.svg)](https://agentmods.dev/skills/fanfan-de/anybox/godot-cli)
Your own site
<a href="https://agentmods.dev/skills/fanfan-de/anybox/godot-cli"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/godot-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for godot-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/fanfan-de/anybox/godot-cli"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/godot-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 173 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00173 $0.07536
Opus 5.5 $0.00069 $0.03014
Sonnet 5.5 $0.00035 $0.01507
Haiku 4.5 $0.00017 $0.00754

Measured 2mo ago against content hash 9843fe91aa2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

godot-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/Anybox-Plugins/godot-cli/skills/godot-cli/SKILL.md · 423 lines

How it starts

The opening of the file, as written. The whole thing — 423 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Godot CLI

仅使用 CLI 作为连接 Godot 的桥梁。不要读取会话文件、建立原始 TCP 连接、暴露令牌,也不要虚构不受支持的工具。

选择可执行文件

在 Godot 项目根目录中,按以下顺序选择 CLI:

$cliCandidates = @(
  '.\target\x86_64-pc-windows-msvc\release\godot-cli.exe'
  '.\.godot-cli\bin\godot-cli.exe'
)
$cli = $cliCandidates |
  Where-Object { Test-Path -LiteralPath $_ -PathType Leaf } |
  Select-Object -First 1

if ([string]::IsNullOrWhiteSpace($cli)) {
  $command = Get-Command godot-cli -ErrorAction SilentlyContinue
  if ($null -ne $command) {
	$cli = $command.Source
  }
}

优先使用仓库的 release 构建,其次使用便携安装包中的 EXE,最后使用 PATH 中的 godot-cli。如果三者都不存在,停止操作并说明必须先构建或安装 CLI;不要修改系统 PATH。后续命令始终通过 & $cli 调用选中的可执行文件。

开始每个工作流

保持 Godot 编辑器处于打开状态并启用插件。使用结构化输出,并明确选择项目:

& $cli --json --project . doctor

将非零退出码和 "ok": false 视为失败。日志应输出到 stderr;只解析 stdout 中唯一的 JSON 对象。

读取编辑器状态

使用作用域最小的领域命令:

& $cli --json --project . project info
& $cli --json --project . scene current
& $cli --json --project . scene tree --depth 4 --max-nodes 500
& $cli --json --project . scene list-project
& $cli --json --project . scene list-open
& $cli --json --project . resource list --extension png,svg
& $cli --json --project . resource inspect res://game/assets/player.png
& $cli --json --project . class search-nodes camera --base-type Node3D
& $cli --json --project . class api Node2D --section properties --filter position
& $cli --json --project . node list . --group actors --limit 200
& $cli --json --project . node groups get Player
& $cli --json --project . node signals get Player --signal health_changed
& $cli --json --project . node get Player --fields visible,process_mode

契约未知时,在使用通用 tool-call 前先使用 tools list、tools search 和 tools schema。通过 --args-json 或 --args-file 以对象形式传递通用参数。绝不要把 apply 放入该对象。

安全创建本地节点

只有在用户明确批准具体父路径、类型和名称后才能创建节点。

  1. 读取当前场景,并用 node list 核验父节点、owner 边界和同级名称。
  2. 必要时先用 class search-nodes 确认精确的运行时 ClassDB 节点类型。
  3. 调用 node create,单独传入 --apply。
  4. 再次用 node list 核验路径、类型、父路径、owner_path="." 和 editable=true,并检查 scene current。
  5. 报告节点已进入 UndoRedo、场景仍未保存且磁盘没有被隐式修改。

Read the full file on GitHub · 423 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 423 lines · 173 tokens per session scan A 9843fe91aa2e

Subscribe to this mod's changes

godot-cli is a skill published in the GitHub repository fanfan-de/anybox (55 stars, last pushed 1mo ago), licensed MIT. It adds 173 tokens to every session and 7,536 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

godot-cli compared with skills from other repositories

godot-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
godot-clifanfan-de/anyboxSkill551mo agoMITA173Codex
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill36k18d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill6.9k9d agoApache-2.0A95Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill3.2kyesterdayMITA121Claude Code
motionOpenDCAI/GameFactory-3ASkill1.0k8d agoApache-2.0A0Claude Code, Codex
unity-addressablesBesty0728/Unity-SkillsSkill1.9kyesterdayMITA25Claude Code, Codex
unity-manual-componentBesty0728/Unity-SkillsSkill1.9kyesterdayMITA36Claude Code, Codex