TEngine is a Unity framework for building games, providing modules for asynchronous work, hot updates, asset management, configuration tables, and user interfaces. It is for Unity developers and teams making commercial projects across desktop, mobile, web, and WeChat Mini Game targets, with catalogue skills supporting its AI-assisted development workflow.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Alex-Rachel/TEnginenpx agentmods add skills/alex-rachel/tengine/unity-cliWrote 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/alex-rachel/tengine/unity-cli)<a href="https://agentmods.dev/skills/alex-rachel/tengine/unity-cli"><img src="https://agentmods.dev/badge/skills/alex-rachel/tengine/unity-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.
<a href="https://agentmods.dev/skills/alex-rachel/tengine/unity-cli"><img src="https://agentmods.dev/badge/skills/alex-rachel/tengine/unity-cli.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.00068 | $0.01062 |
| Opus 5.5 | $0.00027 | $0.00425 |
| Sonnet 5.5 | $0.00014 | $0.00212 |
| Haiku 4.5 | $0.00007 | $0.00106 |
Grade A, and why
unity-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 20d 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 — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Unity CLI 与 Pipeline
com.unity.pipeline 是本项目 Unity 自动化的执行基础:注册命令、线程调度、对象与资源操作、异步状态和运行结果。
项目 Python 工作流负责绑定工程、执行已审核命令和保留证据;它只封装包的一部分能力。
包的命令参考和当前注册 schema 是操作依据,
不要把其他全局 Unity 技能或网上示例当作本项目接口。
起步
以下命令在 Unity 项目根运行,其他目录可调用脚本的绝对路径:
python .codex/scripts/workflow.py doctor
python .codex/scripts/workflow.py unity list
python .codex/scripts/workflow.py unity describe "scene list_open"
python .codex/scripts/workflow.py unity query "scene list_open"
先确认规范化项目路径、唯一实例、CLI/包/Editor 版本与目标操作允许的 Editor 状态。 服务可连接与 Editor 空闲是两个条件。离线时仍可完成源码和文档工作,但实际 Editor 验证记为 blocked。 本地版本事实和更新检查见 Pipeline 契约。
按任务读取
| 任务 | 项目规程 | 包内权威入口 |
|---|---|---|
| 连接、发现、schema、参数、查询、故障恢复 | 操作规程 | connectivity、pipeline |
| 编译、EditMode/PlayMode、资源和构建证据 | 验证与证据 | build-and-compilation |
| 场景、对象、组件、Prefab、批处理、项目命令 | 内容操作 | authoring、safety |
| 截图、Profiler、内存、Player、方法重载 | 诊断与运行时 | capture、runtime |
只加载本次任务相关的规程和包文档,不复制整份命令目录进上下文。
执行边界
- 使用
<group> <name>全名,如script recompile、test list。包装器将全名作为一个带引号的参数接收; 原生 CLI 的 group/name 是两个参数。旧扁平名只作为迁移线索。 - 包命令多用
dry-run、filter-type;本项目自定义命令仍有dry_run。按 schema 原样传键,不统一替换命名。 - 查询不能凭名称判定。新增对象、捕获文件、切换选择、Profiler、Play Mode、脚本和菜单可能改变状态。
- 源码使用代码编辑工具。
eval、script run、MethodReload、菜单及文本写入不能绕过代码审查和 Unity 授权。 - Unity 写入先展示具体项目、目标、参数、输入和保存范围,取得该范围的明确授权后执行;
删除、覆盖、包/设置、平台切换、真实构建单独确认。
confirm是命令参数,不是用户授权。 - 编译、导入、测试和写入串行。状态观察不要求 Editor 空闲;超时只重试经过审核的只读观察, 已发送的写入结果未知时先查真实状态,禁止自动重放。
dry-run、Undo、authoring root 各有适用范围,不能据此承诺全工程事务回滚或安全沙箱。- 缺连接、命令、匹配测试或必需依赖时报告具体阻塞,不自动安装升级或连接其他工程替代。
What ships with it
6 files 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.
- 20d ago Changed · +12 lines · +3 tokens per session 6386e1a715ab
- 2mo ago First seen · 43 lines · 65 tokens per session scan A e51666627e94
unity-cli is a skill published in the GitHub repository Alex-Rachel/TEngine (2,418 stars, last pushed 12d ago), licensed MIT. It adds 68 tokens to every session and 1,062 once invoked, about $0.0003 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-23.
unity-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| unity-cliAlex-Rachel/TEngine | Skill | 2.4k | 12d ago | MIT | A | 68 | Codex |
| et-codeFlameskyDexive/Legends-Of-Heroes | Skill | 939 | 2mo ago | MIT | A | 61 | Claude Code, Codex |
| godot-csharpgamedev-skills/awesome-gamedev-agent-skills | Skill | 12k | 18d ago | Apache-2.0 | A | 111 | Claude Code |
| 3d-essentialsjame581/GodotPrompter | Skill | 1.0k | today | MIT | A | 47 | Claude Code |
| ability-systemjame581/GodotPrompter | Skill | 1.0k | today | MIT | A | 37 | Claude Code |
| addon-developmentjame581/GodotPrompter | Skill | 1.0k | today | MIT | A | 24 | Claude Code |
| ai-navigationjame581/GodotPrompter | Skill | 1.0k | today | MIT | A | 26 | Claude Code |