MCPInstall

mod-any-game

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.

Installs
1.6K
Last 24h
+24
Trending rank
#5093
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/rehan-remade/universal-modder --skill mod-any-game
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads mod-any-game automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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.

NeedCommand
What games are installed, what engine, what anti-cheat, where saves liveum 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 framesum sprite ..., um render3d ...
Launch, screenshot, click/type, record a Windows game (also from WSL)um win ...
Snapshot saves before touching them; undoum backup create/diff/restore
Cut a showcase videoum 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.md in 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>" and um 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. Without um, 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 in references/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

RouteWhenExamples
Data / assets onlythe idea fits the game's data filesAoE2 .dat via genieutils, Bethesda ESP/ESL, Paradox scripts, JSON content packs, pak overrides
Loader APIa loader exposes hooks for ittModLoader ModItem/ModNPC, SMAPI, BepInEx plugin, UE4SS Lua, REFramework Lua, SKSE plugin
Managed-code patching.NET/Mono/IL2CPP/Java with no API for your ideaHarmony prefix/postfix/transpiler, MonoMod, Mixin
Native hooksC/C++ engine with no loaderproxy DLL (dinput8/version/winmm) + MinHook/SafetyHook, signature scans
Reimplement / decomp / recomptotal control, or retro consolesN64 decomps, N64Recomp, XenonRecomp, IW4L-style rewrites that read the user's own game files
Mashup / passthroughtwo games at oncethe mashup-mods skill

Write the chosen route and the reason into MODLOG.md before building.

3. Lab setup (the safety net)

  • Before the first modded launch, run um backup create "<saves folder>" --name <game>-saves (the paths come from um scan). Snapshot the config/profile folder too if you'll change settings.
  • Use a separate lab profile or save folder when the loader allows it (tModLoader -tmlsavedirectory, an MO2 profile, a copy of the world or scenario). Scripted takes destroy test worlds, so keep a pristine copy and restore it before every take.
  • Use windowed mode at a known client size (registry/ini, see game-automation) so screenshots and click coordinates stay stable.
  • Keep decompiled code and extracted assets outside the repo (e.g. ~/<game>-decomp) and gitignore any derived data. Never commit game files.

4. Read the source of truth

Read the actual code and data instead of guessing how the engine behaves. The reverse-engineering skill covers the tools:

  • decompile: ILSpy/ilspycmd, Cpp2IL, Vineflower, Ghidra/IDA over MCP;
  • dump data: genieutils, xEdit, UndertaleModTool, FModel;
  • inspect live: UnityExplorer, the UE4SS live viewer, REFramework, Cheat Engine.

Record exact names and IDs in MODLOG.md. Check what the executable enforces as well as what the data says. In AoE2 the data happily holds a 64th civilization, but the civ picker only lists civs from a table hard-coded in the exe, so the mod replaces a slot instead of adding one.

5. Vertical slice first

Take one item, unit or weapon all the way through with placeholder art. Define it, launch, and prove it appears and works, from the log plus a screenshot you actually look at. Only then widen. Commit each working step in the mod's own git repo.

6. Assets (fal-assets and asset-pipeline skills)

Study the game's own assets first: size, palette, outline, camera angle, facing, frame layout. Then generate with um fal. Every call is recorded in fal_manifest.jsonl. Convert with um sprite / um render3d into exactly what the engine loads.

  • Consistency across many angles and frames: generate one concept, turn it into 3D (um fal model3d), then render every heading from the game's camera (um render3d --preset aoe2).
  • Pixel-art games: generate on a flat background or with transparency, cut out, then do one nearest-neighbour fit to the frame size.

7. Verify in the real game (build an oracle)

The running game is the oracle; your reading of the code is not.

  • Make the test repeatable: a mod-side chat command or timeline, a scenario with triggers, or a test world. Drive the launch → menus → scene path with um win launch/drive, and check it with um win shot plus the game's log files.
  • Read screenshots at reduced scale (--scale 0.33) to save tokens; multiply coordinates back when clicking.
  • Circuit breaker: if the same failure repeats 3 times, stop. Write down what you know, then change approach or ask the user.
  • Common log locations:
Game / loaderLog
tModLoaderclient.log
BepInExBepInEx/LogOutput.log
UE4SSUE4SS.log
UnityPlayer.log in AppData/LocalLow/<company>/<product>/
SKSEDocuments/My Games/<game>/SKSE/
Minecraftlogs/latest.log

8. Showcase (the showcase-video skill)

Script the take so it's repeatable. Record the game window with the game's own audio (um win record). Choose moments from a contact sheet, then cut 20-45 s with one-line titles and a fade-out (um video compile).

9. Package and publish (the publish-mod skill)

Run um publish check <mod> --game "<install>". Write a README with install steps. Credit tools, loaders and fal-generated assets, and be honest that it was built with AI. Ship no game files.

10. Leave a field note (the share-field-notes skill)

Turn MODLOG.md into a knowledge-base note (um kb new ..., then um kb check). Cover:

  • exact versions;
  • the route;
  • what the engine really does;
  • how you verified it;
  • numbered gotchas.

With your human's OK, open a PR (um kb pr <note> --yes). Do this even if the mod isn't finished: a documented dead end saves the next agent hours.

Hard rules

  • Ownership. Only mod games the user owns.
  • Online play. Stay in single-player/offline, or on servers the user controls. Never touch the client of an online game protected by anti-cheat (EasyAntiCheat, BattlEye, Vanguard, VAC on official servers, Ricochet, ACE). Never write cheats (aimbots, ESP, speedhacks) for multiplayer.
  • No bypasses. Never bypass anti-cheat, DRM or ownership checks. tModLoader refuses to start unless the free tModLoader app is in the user's Steam library: add it, don't patch the check. If a game needs its anti-cheat off for mods, use only the official offline launch option.
  • No redistribution. Don't ship game files, decompiled source or extracted assets. Ship your own code and assets, or patches and converters that run on the user's own install ("bring your own game files").
  • Back up first. Run um backup before changing saves, profiles or game folders. Keep the restore path written in MODLOG.md.
  • Process hygiene.
    • Kill by exact PID (um win kill <pid>). Never use pkill -f (it matches your own shell) or wildcard kills.
    • Never block the game's main thread (for example by waiting on ffmpeg from inside a mod).
    • Clear crash reporters (BugSplat etc.) by PID when Steam refuses to relaunch.
  • The user's machine.
    • Driving input takes over their mouse and keyboard. Check um win drive --proc X idle and ask before long automated sessions while they're at the PC.
    • Ask before installing a loader into the game folder, changing registry or graphics settings, deleting anything, or publishing.

References

  • references/engines/:
    • big engines: unity.md, unreal.md, godot.md, source.md, native.md;
    • families and frameworks: dotnet-xna.md (Terraria, Stardew, Celeste), bethesda.md, big-frameworks.md (RE Engine, MT Framework, FromSoft, GTA, Hedgehog Engine, Black Rock, Cyberpunk, BG3, Avalanche/Just Cause), misc-engines.md (GameMaker, RPG Maker, Ren'Py, Paradox, Doom, HTML5, LÖVE, Java, Dwarf Fortress), zengin.md (Gothic 1/2: Daedalus scripts, Union, GD3D11);
    • single games and retro: bannerlord.md (Mount & Blade II: modules, XML/XSLT, C# SubModules, Harmony), minecraft.md, genie-aoe2.md, isaac.md (Binding of Isaac: Lua mods, REPENTOGON, anm2, console), retro-decomp.md.
  • references/case-studies.md: Terraria, AoE2 and Minecraft × GTA V end to end, every non-obvious fact.
  • The knowledge base (knowledge/ at the repo root; um kb search): field notes by many agents, per game and per technique.
  • references/safety.md: the rules with their reasons, anti-cheat and legal hygiene.

FAQ

What does the mod-any-game skill do?

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.

How do I install mod-any-game?

Run npx skills add https://github.com/rehan-remade/universal-modder --skill mod-any-game in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/mod-any-game/ (personal) or .claude/skills/mod-any-game/ (project).

Which AI agents can use mod-any-game?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is mod-any-game safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains mod-any-game?

It is published by rehan-remade in rehan-remade/universal-modder. It has 1,603 recorded installs.

More from rehan-remade/universal-modder

View all →

reverse-engineering

rehan-remade/universal-modder

Read how a game actually works so a mod can hook it. Decompile .NET/Mono (ILSpy), IL2CPP (Cpp2IL, Il2CppDumper), Java (Vineflower) and native code (Ghidra, IDA, via MCP servers); dump data and asset formats; reverse-engineer a binary file format and prove it with a round trip; read live memory (Cheat Engine, Frida, x64dbg); find render passes (RenderDoc). Use when a mod needs game internals, e.g. "how does the boss AI work", "find the damage function", "what format is this .sld/.pak/.dat", "where is the player position in memory".

Backend & APIs1.6K installs

game-recon

rehan-remade/universal-modder

Figure out how a specific installed game can be modded, before writing any mod code. Covers where it's installed, the engine and version, managed vs native code, anti-cheat, loaders already present, save and config folders, and the community's modding route. Also whether this machine can run it (a Windows game on macOS or Linux, x64 on ARM). Use when the user asks "can I mod ?", "what engine is ", "how do people mod ", or at the start of any modding task. Produces MODDINGPLAN.md.

Media & Creative1.6K installs

game-automation

rehan-remade/universal-modder

Launch, see and drive a real game so an agent can test its own mods. Covers launching via Steam or the exe, windowed mode at a fixed size, screenshots of the game window (GPU-safe capture), clicking and typing into menus, holding keys, relative mouse, crash-reporter cleanup, killing by PID, reading logs, scripted test scenes, and an in-game JSON bridge that lets an agent observe and act. Windows-first (also from WSL), with notes for Linux and macOS. Use when a mod must be verified in game, when navigating menus automatically, or when building a repeatable test or demo scene.

Media & Creative1.5K installs

mashup-mods

rehan-remade/universal-modder

Build cross-game mashups and total conversions, the "Minecraft inside Elden Ring" or "skateboarding in MW2" kind. Covers passthrough mods (two games running at once and exchanging state, rendering and collision), porting one game's content or mechanics into another, embedding a decompiled game as a library, and clean reimplementations that read the user's own game files. Use when the user wants to combine two games, bring an enemy, mechanic or world from one game into another, or rebuild a game's runtime, or reimplement the guest's rules headless inside a real host.

Media & Creative1.5K installs

asset-pipeline

rehan-remade/universal-modder

Turn generated or hand-made art into exactly what a game engine loads. Covers sprite cutout, trim and nearest-neighbour fitting to frame sizes, pixelation to a palette, sprite sheets and strips, player/team-colour masks, seamless textures, and rendering a 3D model into sprite frames from the game's own camera (isometric/RTS 8 or 16 headings, side view, top-down) with Blender. Use after generating assets, or when the user asks to make sprites, sprite sheets, animation frames, isometric unit sprites or icons for a game.

Media & Creative1.5K installs

share-field-notes

rehan-remade/universal-modder

Search and contribute to the shared AI-modding knowledge base, where field notes record how specific games were modded, decompiled or reverse-engineered (exact versions, route, engine facts, verification, gotchas). Use before starting work on a game ("has anyone modded X?"), when stuck on an engine quirk, and at the end of any modding or reverse-engineering session to write up what was learned and, with the human's OK, open a pull request so the next agent benefits.

Docs & Writing1.5K installs

Popular media & creative skills

View category →

hyperframes

heygen-com/hyperframes

Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs.

Media & Creative1.2M installs

media-use

heygen-com/hyperframes

Get or make any media for a HyperFrames video - music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks - with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull, or should be stylized or hidden.

Media & Creative1.1M installs

hyperframes-registry

heygen-com/hyperframes

About 450 ready-made HyperFrames blocks and components installed as editable source - transitions, overlays, titles, kinetic type, captions, charts, map overlays, 3D, camera moves. Use it before hand-building any named visual (CRT scanlines, glitch, film grain, a chart); also for hyperframes add and catalog.

Media & Creative1M installs

hyperframes-creative

heygen-com/hyperframes

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use hyperframes-animation.

Media & Creative916.5K installs

ai-video-generation

101-skills/superpowers

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

Media & Creative881.5K installs

ai-image-generation

101-skills/superpowers

Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image

Media & Creative880.3K installs