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/amanidawn/dgame/luban-devnpx skills add AmaniDawn/DGame --skill luban-devgit clone --depth 1 https://github.com/AmaniDawn/DGameWrote 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/amanidawn/dgame/luban-dev)<a href="https://agentmods.dev/skills/amanidawn/dgame/luban-dev"><img src="https://agentmods.dev/badge/skills/amanidawn/dgame/luban-dev.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 | $0.00243 | $0.02728 |
| Opus 5 | $0.00121 | $0.01364 |
| Sonnet 5 | $0.00049 | $0.00546 |
| Haiku 4.5 | $0.00024 | $0.00273 |
Grade A, and why
luban-dev 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 5d 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 — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DGame Luban 配置开发
核心约定
- 源头:
GameConfig/Datas/、GameConfig/Defines/、GameConfig/CustomTemplate/,不要手改生成产物。 - 默认生成:客户端
cs-bin代码 +bin/json数据,优先走 LazyLoad。 - 默认脚本:
GameConfig/GenerateTool_Binary/gen_bin_client_lazyload.bat。 - 代码输出:
GameUnity/Assets/Scripts/HotFix/GameProto/LubanConfig/。 - 桥接文件:
ConfigSystem.cs、ExternalTypeUtil.cs由模板复制到GameUnity/Assets/Scripts/HotFix/GameProto/。 - 数据输出:二进制到
GameUnity/Assets/BundleAssets/Configs/Binary/;Json 路径以GenerateTool_Binary/path_define.*当前配置为准。 - 命名空间/顶层模块:
GameProto;总表管理器:Tables。 - 业务访问:优先在
GameUnity/Assets/Scripts/HotFix/GameLogic/ConfigMgr/封装XxxConfigMgr,不要把TbXXX访问散落到业务层。
导出脚本
所有脚本位于 GameConfig/GenerateTool_Binary/,使用相对路径调用。
| 脚本 | 用途 | 说明 |
|---|---|---|
gen_bin_client_lazyload |
客户端(推荐,LazyLoad 模板) | AI 默认调用此脚本 |
gen_bin_client |
客户端(标准模板) | 非懒加载 |
gen_bin_server_lazyload |
服务端(LazyLoad 模板) | 需要服务端配置时使用 |
gen_bin_server |
服务端(标准模板) | 非懒加载 |
gen_bin_all_lazyload |
客户端 + 服务端(LazyLoad 模板) | 一键导出两端 |
gen_bin_all |
客户端 + 服务端(标准模板) | 一键导出两端,非懒加载 |
AI 调用导表命令
根据操作系统选择对应扩展名。默认只导客户端 LazyLoad:
Windows:
cmd /c "set AI_MODE=1 && GameConfig\GenerateTool_Binary\gen_bin_client_lazyload.bat"
macOS/Linux:
bash GameConfig/GenerateTool_Binary/gen_bin_client_lazyload.sh
默认工作流
- 先判断改动属于数据、表结构、Bean/Enum、schema、模板、导表脚本还是运行时消费。
- 读现有定义:
__tables__.xlsx、__beans__.xlsx、__enums__.xlsx、目标业务表和相关ConfigMgr。 - 改源文件,不改
LubanConfig/下生成代码。 - 运行或提示运行默认导表脚本。
- 验证生成目录、Unity 编译、
ConfigSystem.Instance.Tables访问和业务管理器封装。
新增配置表
- 在
GameConfig/Datas/新增业务 Excel,前四行固定为##var、##type、##group、##。 - 需要复合字段时补
__beans__.xlsx,需要枚举时补__enums__.xlsx。 - 默认推荐在
__tables__.xlsx显式注册full_name、value_type、input、mode、tags。 - Luban 支持文件名
#<value_type>-<comment>.xlsx自动导入,不需要在__tables__.xlsx注册;DGame 可用但不作为默认推荐。 - DGame 扩展支持 Sheet 名
#<value_type>-<comment>自动拆表;导表前会拆成临时#文件,同样不需要注册,但仍按自动导入场景谨慎使用。 - 需要按字段分组访问时,优先在
__tables__.xlsx的tags写group_by:字段名;自动导入表如需特殊 tags,先确认当前 Luban 支持方式。 - 单例配置可用
mode=one。 - 导表后在
GameLogic/ConfigMgr/补XxxConfigMgr。
What ships with it
13 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.
- references/command-reference.md 5.0 KB
- references/data-sources.md 3.7 KB
- references/dgame-integration.md 6.0 KB
- references/dgame-table-rules.md 1.9 KB
- references/excel-format.md 3.6 KB
- references/luban-conf.md 5.9 KB
- references/operating-guide.md 22 KB
- references/runtime.md 3.3 KB
- references/schema.md 8.2 KB
- references/type-system.md 3.9 KB
- references/validators.md 5.3 KB
- scripts/luban_helper.py 203 KB runs code
- scripts/requirements.txt 16 B
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.
- 5d ago First seen · 168 lines · 243 tokens per session scan A bf490d1eb436
luban-dev is a skill published in the GitHub repository AmaniDawn/DGame (152 stars, last pushed 2d ago), licensed MIT. It adds 243 tokens to every session and 2,728 once invoked, about $0.0012 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-30.
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.
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-addressables
Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).
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.