Skills for Real Engineers. Straight from my .agents directory.
game-automation
Agent skill fromrehan-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.
How to install game-automation
npx skills add rehan-remade/universal-modder# or add only this skill to Claude Code: copy the folder
skills/game-automation/
# into
~/.claude/skills/game-automation/ (all projects)
.claude/skills/game-automation/ (one project)
1# Game automation: the agent's hands and eyes23The real game is the oracle. The loop is launch → navigate → set up the scene → act → **screenshot and read4logs** → decide. Build it once per game, then every change you make can be checked in a minute.56## Windows (native or from WSL): `um win`7```bash8um win setup # once: PowerShell tools + an ffmpeg with gfxcapture, picks NVENC/AMF/QSV/x2649um win ps # windowed processes: pid, name, title10um win launch --steam 105600 # or: um win launch "C:\Games\Foo\Foo.exe" -- -windowed11um win shot --exe Terraria.exe shot.png --scale 0.33 # full frame + a 1/3 copy that's cheap to look at12um win drive --proc Terraria "focus" "click 640 360" "key 0x1B" "type hello" "hold 0x44 1500"13um win drive --proc Terraria "hold 0x20 150" "sleep 200" "hold 0x20 150" # sleep <ms> pauses between steps14um win drive --proc Terraria idle # seconds since the user last touched mouse/keyboard (does not wait)15um win kill <pid> # exact PID only16um win reg get "HKCU\Software\..." # registry (reg set backs the key up first)17```18From Python (for longer scripts), `from um.win import Drive, shot, Recorder`, then `d = Drive("AoE2DE_s")`,19`d.focus()`, `d.click(x, y)`, `d.key("0x0D")`.2021**WinDrive commands** (`um/ps1/WinDrive.ps1`; stdin protocol, one reply per line). Coordinates are in22the game window's **client area**.23…
Excerpt shown under the repository's MIT license.
More skills in universal-modder
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
