Godot 编码

Godot 编码 is a skill for Claude Code, Codex from jianchen08/Agent-os-open. It costs 62 tokens per session (962 once invoked), scanned A, original, Apache-2.0.

A Godot 4 development workflow for editing game scenes and scripts, using the Godot editor to run changes and checking the result. Godot is a tool for building games; scenes describe game objects and their relationships.

In plain words
What is it for?
Use it to create or repair Godot projects, modify scenes and GDScript code, configure plugins and input settings, and run a scene to inspect errors.
Why use it?
It reduces mistakes from guessing the project's structure or Godot's programming interface, and requires changes to be run and checked rather than trusted by inspection alone.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or repair Godot projects, modify scenes and GDScript code, configure plugins and input settings, and run a scene to inspect errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jianchen08/agent-os-open/code-godot
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 jianchen08/Agent-os-open --skill code-godot
Clone the repo
git clone --depth 1 https://github.com/jianchen08/Agent-os-open

Made for: Claude Code, 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 编码

README.md
[![agentmods](https://agentmods.dev/badge/skills/jianchen08/agent-os-open/code-godot/github.svg)](https://agentmods.dev/skills/jianchen08/agent-os-open/code-godot)
Your own site
<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/code-godot"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/code-godot/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 编码

Your own site · 80×15
<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/code-godot"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/code-godot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 962 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.
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.00062 $0.00962
Opus 5 $0.00031 $0.00481
Sonnet 5 $0.00012 $0.00192
Haiku 4.5 $0.00006 $0.00096

Measured 3d ago against content hash 484cb6ae8182, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

Godot 编码 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 3d 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.

skills/code-godot/SKILL.md · 47 lines

What it actually says

Godot 编码

领域契约(.tscn 格式/引用语义/验证铁律)见常驻的 godot_domain_rules,本技能写执行流程。

第 0 步:接入自愈(编码前必做)

  1. 确认项目根存在 project.godot;没有则先 project_create(goal=<标题>, path=<项目路径>, project_type="godot") 脚手架
  2. 确认两个宿主插件在位:addons/agentos/plugin.cfgaddons/godot_mcp/plugin.cfg
  3. 缺任一 → project_create(goal=<标题>, path=<项目路径>) 幂等补装(auto 识别,禁止手工拼装)
  4. godot_run 探活:调 engine.commands;编辑器未开时 godot_run 自动拉起工程编辑器(GODOT_EDITOR_BIN)并重试,无需手动干预;拉起失败按返回指引处理(禁止第二个编辑器实例);插件刚装好但编辑器未重开时提示用户重启编辑器使插件生效

第 1 步:定位(先读原文,编码前必做)

  1. 消息含 <reference source="godot"> → 以其中的节点(名称/类型/路径)为修改目标权威定位
  2. file_read 目标场景(.tscn)与脚本(.gd)原文,确认节点结构、属性名、变量命名与信号连接
  3. 需要引擎 API 事实时用 godot_run 查证:engine.search {query} 模糊搜、engine.class_info {class} 类详情——禁止凭记忆猜 API 形参

第 2 步:修改

  • .tscn:按段式格式改——节点段落 [node name="X" type="Y" parent="..."],属性 key = value 行;新增节点补齐段头与 parent;只动需求要求的部分
  • .gd:GDScript 4 语法(@export/@onreadysignal.connect、类型标注);改逻辑先读全文再改,不做无关重排
  • project.godot:改配置(输入映射/自启动/插件开关)直接改对应段;启用插件写 [editor_plugins]enabled=PackedStringArray(...)

第 3 步:运行验证(必做,"看起来对"不是验证)

  1. scene.save(若有改动)→ scene.play → 观察报错/输出 → scene.stop(或按结果指引)
  2. 编辑器内改动验证:重读改动文件 + engine.class_info 抽查结构;3D 放置回读 global_position/get_aabb 校验,不只信截图
  3. 独立调试构建验证用 game:true 路由(需 godot_mcp/runtime/direct_server
  4. GDScript 纯逻辑函数:项目已有 GUT/gdUnit 则随栈补测试;没有则以上述运行验证兜底,禁止临时引入测试框架

第 4 步:自检收尾

  1. 重读全部改动文件核对(.tscn 段式/parent 正确、.gd 语法、project.godot 段完整)
  2. 汇总:改了哪些文件与节点、验证方式与结果、已知问题——写入执行报告后 task_evaluate

红线

  • 禁止凭空猜节点路径/属性名/API 形参(先读原文、先查证)
  • 禁止改写 <reference> 之外的节点
  • 禁止跳过运行验证直接评估
  • 禁止手工拷贝宿主插件(用 project_create 幂等补装)、禁止改写 .env 机器接线
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. 3d ago First seen · 47 lines · 62 tokens per session scan A 484cb6ae8182

Subscribe to this mod's changes

Godot 编码 is a skill published in the GitHub repository jianchen08/Agent-os-open (5 stars, last pushed 4d ago), licensed Apache-2.0. It adds 62 tokens to every session and 962 once invoked, about $0.0003 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-05.

Related

Other skills, from other repositories

background-task

Add or modify work that runs outside the request/response cycle — emails, document ingestion, webhooks, cleanups, scheduled jobs. Use when something is slow or fire-and-forget, or when adding a periodic/cron task. This project's queue is {{ cookiecutter.backgroundtasks }}.

vstorm-co/full-stack-ai-agent-template · 62 tokens

agent-tool

Add a new tool/function the AI agent can call (e.g. look something up, hit an external API, perform an action). Use when extending the assistant's capabilities, wiring a new function into the agent, or when the model needs a new action. This project uses {{ cookiecutter.aiframework }}.

vstorm-co/full-stack-ai-agent-template · 66 tokens

frontend-feature

Build a new page, view, or data-driven feature in the Next.js frontend. Use when adding a route under the dashboard/marketing area, wiring UI to a backend endpoint, adding client state, or creating a localized page. Covers App Router, data fetching, Zustand stores, and i18n.

vstorm-co/full-stack-ai-agent-template · 64 tokens

rag-knowledge

Work with the RAG knowledge base — ingest documents, run semantic search, manage collections, or add a sync source/connector (Google Drive, S3). Use when populating or debugging the knowledge base, tuning retrieval, or adding a new document source. This project uses {{ cookiecutter.vectorstore }} + {{…

vstorm-co/full-stack-ai-agent-template · 76 tokens

alembic-migration

Create, review, and apply database schema changes with Alembic. Use whenever a SQLAlchemy model is added or changed, a column/index/constraint needs to change, or a data backfill is required — anything that alters the PostgreSQL schema.

vstorm-co/full-stack-ai-agent-template · 56 tokens

channel-bot

Work with messaging-channel bots (Telegram / Slack) — register a bot, route inbound messages through the AI agent, handle webhooks vs polling, or add a new channel adapter. Use when wiring chat into a messaging platform or debugging bot delivery.

vstorm-co/full-stack-ai-agent-template · 53 tokens