/universal-modder:game-automationfrom universal-modder
Launches, screenshots, and drives real game windows to test mods. Covers Steam/exe launch, GPU-safe capture, mouse/keyboard input, crash-reporter cleanup, PID kill, log reading, and an in-game JSON bridge for agent observation.
Ships in universal-modder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The real game is the oracle. The loop is launch → navigate → set up the scene → act → screenshot and read logs → decide. Build it once per game, then every change you make can be checked in a minute.
um winum win setup # once: PowerShell tools + an ffmpeg with gfxcapture, picks NVENC/AMF/QSV/x264
um win ps # windowed processes: pid, name, title
um win launch --steam 105600 # or: um win launch "C:\Games\Foo\Foo.exe" -- -windowed
um win shot --exe Terraria.exe shot.png --scale 0.33 # full frame + a 1/3 copy that's cheap to look at
um win drive --proc Terraria "focus" "click 640 360" "key 0x1B" "type hello" "hold 0x44 1500"
um win drive --proc Terraria "hold 0x20 150" "sleep 200" "hold 0x20 150" # sleep <ms> pauses between steps
um win drive --proc Terraria idle # seconds since the user last touched mouse/keyboard (does not wait)
um win kill <pid> # exact PID only
um win reg get "HKCU\Software\..." # registry (reg set backs the key up first)
From Python (for longer scripts), from um.win import Drive, shot, Recorder, then d = Drive("AoE2DE_s"),
d.focus(), d.click(x, y), d.key("0x0D").
WinDrive commands (um/ps1/WinDrive.ps1; stdin protocol, one reply per line). Coordinates are in
the game window's client area.
move x y, click x y [right], mdown/mup, drag x0 y0 x1 y1, rel dx dy (FPS cameras /
raw input), wheel 120.key <vk> [tap|down|up], hold <vk> <ms>, type <text>, scanmode on (DirectInput /
raw-input games that ignore virtual-key events).focus, rect, size <w> <h> (sets the client size), title, fg, idle, untop.sleep <ms> waits between steps in one call. Each um win drive call starts PowerShell (1-2 s),
so put timed combos in one call.Rules of the road
idle, ask the human to click, and launch with the anti-cheat off so online can't start. See
knowledge/techniques/driving-real-games-safely.md.idle is under a minute, ask before driving, and keep sessions short.
Unattended runs are fine once the user says so.--scale 0.33 copies. Multiply coordinates back ×3 for clicks, and
keep a table of menu click points in MODLOG.md, measured once.um win shot/record warn when it's on; turn it off for the game
while capturing (Settings > System > Display > Graphics > the game > Auto HDR), and back on after if the user wants.[/Script/Engine.GameUserSettings] in UE GameUserSettings.ini, Unity's
Screenmanager Fullscreen mode / Resolution registry values under HKCU\Software\<company>\<product>);-windowed -w 1920 -h 1080, Unity -screen-fullscreen 0 -screen-width 1920 -screen-height 1080,
Source -sw -w 1920 -h 1080);Mode Display 0 + Windowed Width/Height).um win drive --proc X "size 1920 1080" also resizes most windowed games.-skipintro, -nosplash, Unity -popupwindow), or delete/rename intro
videos in a copy of the game.-skipselect Player:World), a save made for testing,
scenario auto-load, a dev console command.Main.instance.InactiveSleepTime = TimeSpan.Zero; Unity: Application.runInBackground = true; UE:
t.IdleWhenNotForeground 0)./arsenal, /mothership).127.0.0.1 (see
examples/terraria-tmodloader/reference/AgentBridge.cs). It hangs up on a line that isn't JSON, which keeps a web
page's HTTP request from reaching its commands.
observe (menu options or world state as text), click <id>, controls, step.BsSndRpt64.exe, CrashReportClient.exe, UnityCrashHandler64.exe) can
linger and make Steam say "already running". um win ps to spot them, um win kill <pid> to clear
them.pkill -f or wildcard taskkill /IM. The pattern can match your own shell or other apps.xdotool search --name "Game" windowactivate --sync key Escape, xdotool mousemove --window $W 640 360 click 1. Screenshots: import -window $(xdotool search --name Game) shot.png, or
ffmpeg x11grab.grim. Proton games are Windows games under Wine: launch options
(WINEDLLOVERRIDES, PROTON_LOG=1) go in Steam.screencapture -l <windowid> shot.png (window id via GetWindowID or AppleScript),
osascript / cliclick for input. Input and screen recording need Accessibility and Screen Recording
permission for the terminal.What SKILL.md sets; muted values are Claude Code's defaults
13 skills in this plugin
/asset-pipelineTurn 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./blitz3d-decompDecompile a Blitz3D game to readable Blitz source with B3DDecomp and port what it does to another engine. Covers SCP - Containment Breach-era and other .bb games, B3DDecomp, Blitz3D runtime behaviour (fixed tick, Animate, CurveValue, Euler angles, quaternions, Rnd), animated .b3d models (viewmodels with bones and keyframes) into Roblox, and where to stop (builds protected against decompiling, games and assets the user has no rights to). Use when a Blitz3D game's code or animated models are needed./fal-assetsGenerate game assets with fal (fal.ai) through the fal MCP server, the `um fal` CLI (REST) or `fal api`. Covers sprites and icons with transparent backgrounds, consistent variants and animation frames, pixel art, seamless textures, PBR material maps, image-to-3D models, remeshing, auto-rigging, sound effects, music, voice lines, and trailer or cutscene video. Use whenever a mod needs new art, audio or 3D models, or the user mentions fal, generating sprites, textures, models, SFX or music for a game./game-reconFigure 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 <game>?", "what engine is <game>", "how do people mod <game>", or at the start of any modding task. Produces MODDING_PLAN.md./game-research-websearchResearch a game, engine or modding technique on the open web with archive-aware, rate-limit-safe searches — Wayback Machine/archive.today for dead forums (XeNTaX, Zenhax, old threads), GitHub code/repo search, Nexus/Steam Workshop/Thunderstore APIs, Reddit JSON, YouTube transcripts, plus archive snapshots as evidence. Use when starting work on a game ("how did people mod X before?"), when a documented tool/link is dead, when forum threads are login-gated (semi-auto handoff to the human), and before writing a field note so claims carry source URLs./mashup-modsBuild 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.npx claudepluginhub rehan-remade/universal-modder --plugin universal-modderOther plugins' skills for the same job