mod-any-game
它能做什么
这项技能指导你为自己拥有的 PC 游戏制作模组的完整过程,从想法到可以展示的经过测试的结果。适合希望让智能体负责研究、制作和检查的模组制作者。
适用场景
- ✓当你想为自己拥有的游戏添加新道具、武器、敌人或单位时。
- ✓当你想检查某款 PC 游戏是否可以制作模组时。
- ✓当你想要一段已完成模组的录制演示时。
技能链接
https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/mod-any-game/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在我的 Terraria 世界中添加一把制导导弹武器,并给我看它正常运行的样子。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会识别已安装的游戏及其引擎,找到需要接入的位置,制作改动,并使用截图和日志在真实游戏中进行测试。它会沿途记录所学内容的日志。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Mod any game
You are the modder. The user names a game and an idea, and you take it all the way to working in the real game, on video. The method below shipped three projects:
- a Terraria mod (homing missiles, a tactical nuke, new enemies, a boss);
- a new Age of Empires II civilization with 3D-rendered units;
- real Minecraft composited into GTA V.
It also folds in what the September 2026 wave of AI mashup mods (Minecraft in Elden Ring, skateboarding in MW2) showed about scaling up.
- Case studies:
references/case-studies.md. - Code:
examples/. - Everything other agents have written down: the knowledge base (
knowledge/in the repo,um kb search).
Your tools
um is the toolkit CLI (bin/um in the repo). The Claude Code plugin and a clone opened in Claude Code put it
on PATH; other agents' plugin installs don't. If command -v um finds nothing, use bin/um in a clone, or
install it once: uv tool install git+https://github.com/rehan-remade/universal-modder (or pipx install ...).
Every group has --help with examples.
| Need | Command |
|---|---|
| What games are installed, what engine, what anti-cheat, where saves live | um scan --list, um scan "<game>" |
| Sprites, textures, PBR, 3D models, rigs, SFX, music, voice, video (fal) | um fal <recipe>, or the fal MCP (search_models, run_model) |
| Cut out / fit / pixelate / pack sprites; 3D model → sprite frames | um sprite ..., um render3d ... |
| Launch, screenshot, click/type, record a Windows game (also from WSL) | um win ... |
| Snapshot saves before touching them; undo | um backup create/diff/restore |
| Cut a showcase video | um video contact/compile/mux |
| Lint a mod before sharing (game files, decompiled code, secrets) | um publish check |
Companion skills: game-recon, reverse-engineering, fal-assets, asset-pipeline, game-automation, showcase-video, mashup-mods, port-a-mod, publish-mod, share-field-notes.
The loop
0. Intake (keep it short)
- Get the game, the platform and store, and the idea in one sentence ("a homing missile launcher and a nuke that craters the world"). Also agree what done means; usually that's working in game plus a 20-45 s clip.
- If the user wants an existing mod updated to a newer game version or another loader (an old Forge 1.7.10 mod on modern Fabric, say), the original is the spec, and its license decides whether the port can be published: follow the port-a-mod skill inside this loop.
- Settle online vs offline up front. If the game is online or competitive and has anti-cheat, don't mod the client (see Hard rules). Offer offline modes, private servers the user runs, or the official tools (Workshop, creative/map editors).
- Start
MODLOG.mdin the working folder as the journal. Record paths, IDs, file formats, class names, what failed and why, and the next step. Anything not in the journal is lost at the next context compaction.
1. Recon (the game-recon skill does this in depth)
- Search the knowledge base first. Run
um kb search "<game>"andum kb search "<engine>". If another agent left a field note, start from its exact versions, route and gotchas, and don't repeat its dead ends. Withoutum, read https://github.com/rehan-remade/universal-modder/blob/main/knowledge/INDEX.md. - Run
um scan "<game>". It reports this machine's OS and CPU (host:), the engine and version, whether code is managed or native, anti-cheat, mod loaders already installed, save folders, ranked routes, and which playbook inreferences/engines/to read. Read that playbook. - Research the community as it is now: the wiki's modding page, Nexus / Thunderstore / mod.io / Workshop, GitHub, and the loader's current release and install steps. Versions move, so don't install from memory. If the community already has a loader (tModLoader, SMAPI, BepInEx, UE4SS, REFramework, SKSE, Fabric), use it.
2. Pick the cheapest route that reaches the idea
| Route | When | Examples |
|---|---|---|
| Data / assets only | the idea fits the game's data files | AoE2 .dat via genieutils, Bethesda ESP/ESL, Paradox scripts, JSON content packs, pak overrides |
| Loader API | a loader exposes hooks for it | tModLoader ModItem/ModNPC, SMAPI, BepInEx plugin, UE4SS Lua, REFramework Lua, SKSE plugin |
| Managed-code patching | .NET/Mono/IL2CPP/Java with no API for your idea | Harmony prefix/postfix/transpiler, MonoMod, Mixin |
| Native hook |
常见问题
它只适用于一款游戏吗?
不是。这项技能涵盖许多 PC 游戏和引擎,并从侦察步骤开始,以选择正确的路线。
它会在真实游戏中测试吗?
会。真实游戏是最终的检查,截图和日志则作为证据。
带有反作弊的游戏怎么办?
这项技能规定不要为带有反作弊的游戏附加调试器或扫描器,因此这类游戏需要格外小心。
详情
作者的原始描述
Mod a PC game the user owns, taking an idea to working in the real game and recorded. It covers new items, weapons, enemies, bosses, units, civilizations, mechanics, art, sound, VR and cross-game mashups. Use when the user wants to mod, extend, hack on, reverse engineer or mash up a game ("add a nuke to Terraria", "make a new civ for Age of Empires", "put Minecraft inside X", "can I mod this game?"). It covers recon (engine, loaders, anti-cheat), choosing the route, a safe lab, a first vertical slice, fal-generated assets, in-game verification and a showcase clip.
热度
- GitHub 星标
- 9.3k
- 排名
- #12289
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
asset-pipeline
9.3k帮你的智能体把生成的或手绘的美术素材,转换为游戏引擎所需的准确尺寸、帧布局、调色板和文件格式。
blitz3d-decomp
9.3k帮你的智能体把 Blitz3D 游戏反编译为可读的源代码,并规划移植到其他引擎的方案,同时保留原游戏作为参考。
fal-assets
9.3k帮你的智能体使用 fal.ai 生成游戏美术、音效、音乐和 3D 模型,涵盖精灵、纹理、语音台词和视频。
game-automation
9.3k帮你的智能体启动真实的游戏、截图、在菜单中点击和输入、读取日志,从而测试它自己制作的游戏模组。