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.
npx agentmods add skills/fanfan-de/anybox/godot-clinpx skills add fanfan-de/anybox --skill godot-cligit clone --depth 1 https://github.com/fanfan-de/anyboxWrote 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.
[](https://agentmods.dev/skills/fanfan-de/anybox/godot-cli)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00173 | $0.07536 |
| Opus 5 | $0.00086 | $0.03768 |
| Sonnet 5 | $0.00035 | $0.01507 |
| Haiku 4.5 | $0.00017 | $0.00754 |
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 2d 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.
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 放入该对象。
安全创建本地节点
只有在用户明确批准具体父路径、类型和名称后才能创建节点。
- 读取当前场景,并用
node list核验父节点、owner 边界和同级名称。 - 必要时先用
class search-nodes确认精确的运行时 ClassDB 节点类型。 - 调用
node create,单独传入--apply。 - 再次用
node list核验路径、类型、父路径、owner_path="."和editable=true,并检查scene current。 - 报告节点已进入 UndoRedo、场景仍未保存且磁盘没有被隐式修改。
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.
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.
- 2d ago First seen · 423 lines · 173 tokens per session scan A 9843fe91aa2e
godot-cli is a skill published in the GitHub repository fanfan-de/anybox (58 stars, last pushed 23d ago), licensed MIT. It adds 173 tokens to every session and 7,536 once invoked, about $0.0009 per session on Opus 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.
Other skills, from other repositories
gameobject-component-destroy
Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.
unity-version-split
Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).
playtest-report
Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.
unity-manual-component
Manually add, configure, reorder, and copy components on GameObjects using Unity Editor UI. For one-off Inspector workflows that do not need REST automation.
godot-signals-groups
Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…
threejs-exposure-color-grading
Build a measured exposure and grading path in Three.js. Use for a 64x36 encoded luminance meter, asynchronous readback, weighted log-average exposure, asymmetric adaptation, single tone-map ownership, and a generated 32-cube post-tone-map LUT.