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 skills add m1em1e/vibecoding-tools-4codex-cn --skill godot-tscn-formatgit clone --depth 1 https://github.com/m1em1e/vibecoding-tools-4codex-cnWrote 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/m1em1e/vibecoding-tools-4codex-cn/godot-tscn-format)<a href="https://agentmods.dev/skills/m1em1e/vibecoding-tools-4codex-cn/godot-tscn-format"><img src="https://agentmods.dev/badge/skills/m1em1e/vibecoding-tools-4codex-cn/godot-tscn-format/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.
<a href="https://agentmods.dev/skills/m1em1e/vibecoding-tools-4codex-cn/godot-tscn-format"><img src="https://agentmods.dev/badge/skills/m1em1e/vibecoding-tools-4codex-cn/godot-tscn-format.svg" alt="Reviewed on agentmods" width="80" 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.00060 | $0.03927 |
| Opus 5 | $0.00030 | $0.01963 |
| Sonnet 5 | $0.00012 | $0.00785 |
| Haiku 4.5 | $0.00006 | $0.00393 |
Grade A, and why
godot-tscn-format 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 8d 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 — 503 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Godot .tscn 场景文件格式规范
用途:让 AI 能够直接读写 Godot 场景文件
版本:v1.0 · 2026-04-24
适用引擎:Godot 4.x
核心原则
Godot 场景文件是纯文本,可以使用当前环境提供的文件读取和编辑工具直接操作;在 Codex 中手动修改应优先使用 apply_patch。
一、文件结构总览
[gd_scene load_steps=N format=3 uid="uid://xxx"] ← 头部(必需)
[ext_resource type="Type" path="res://..." id="ID"] ← 外部资源引用(可选)
[ext_resource ...]
[sub_resource type="Type" id="ID"] ← 内嵌资源定义(可选)
property = value
[sub_resource ...]
[node name="Name" type="Type"] ← 根节点(必需)
property = value
[node name="Child" type="Type" parent="."] ← 子节点
property = value
[connection signal="sig" from="Node" to="Target" method="func"] ← 信号连接(可选)
二、头部声明
2.1 基本格式
[gd_scene load_steps=4 format=3]
| 字段 | 说明 |
|---|---|
load_steps |
资源加载步数 = ext_resource 数 + sub_resource 数 + 1(场景本身) |
format |
固定为 3(Godot 4.x) |
uid |
可选,Godot 自动生成的唯一 ID,创建时可省略 |
2.2 计算 load_steps
load_steps = len(ext_resources) + len(sub_resources) + 1
示例:2 个外部资源 + 3 个内嵌资源 → load_steps=6
三、外部资源引用 (ext_resource)
3.1 格式
[ext_resource type="Type" path="res://path/to/file" id="ID"]
3.2 常见类型
| type | 文件类型 | 示例 |
|---|---|---|
Script |
GDScript | path="res://scripts/player.gd" |
PackedScene |
场景 | path="res://scenes/enemy.tscn" |
Material |
材质资源 | path="res://materials/floor.tres" |
Texture2D |
2D 纹理 | path="res://textures/icon.png" |
AudioStream |
音频 | path="res://audio/shoot.wav" |
Shader |
着色器 | path="res://shaders/outline.gdshader" |
3.3 ID 命名规范
AI 生成时使用有意义的 ID:
[ext_resource type="Script" path="res://scripts/player.gd" id="1_player_script"]
[ext_resource type="Material" path="res://resources/floor_mat.tres" id="2_floor_mat"]
[ext_resource type="PackedScene" path="res://scenes/bullet.tscn" id="3_bullet_scene"]
四、内嵌资源定义 (sub_resource)
4.1 格式
[sub_resource type="Type" id="ID"]
property1 = value1
property2 = value2
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.
- 8d ago First seen · 503 lines · 60 tokens per session scan A f939157e0720
godot-tscn-format is a skill published in the GitHub repository m1em1e/vibecoding-tools-4codex-cn (2 stars, last pushed 2mo ago), licensed MIT. It adds 60 tokens to every session and 3,927 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-08-31.
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).
unity-addressables
Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).
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.
motion
How an agent turns a character mesh into a usable animated FBX — and how to judge whether the result is shippable.
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.