agentleFS
Arnie016Arnie016/universal-modder-mac/AGENTS.md

universal-modder-mac

AGENTS.md0 starsChanged 42 days agoMITView on GitHub

A game-modding toolkit and a shared knowledge base for AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and anything else that reads AGENTS.md. When someone opens an agent in this repo, they almost always want to mod a game, or to learn how a game was modded.

The file

We split this AGENTS.md into the rules it gives an agent

9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    At the end, share what you learned: write a field note (bin/um kb new ...) and, once your human agrees, open a PR (bin/um kb pr <note> …

    line 12
  2. Very specific:

    Put it on PATH: export PATH="$PWD/bin:$PATH", or install it anywhere with uv tool install …

    line 17
  3. Very specific:

    Every group has --help:

    line 19
  4. Very specific:

    No MCP? um fal does the same over REST.

    line 33
  5. Distinctive:

    Never touch online clients protected by anti-cheat.

    line 42
  6. Distinctive:

    Never write cheats against other players (aimbots, ESP, speed hacks).

    line 43
  7. Distinctive:

    Never bypass anti-cheat, DRM or ownership checks.

    line 44
  8. Distinctive:

    What you ship: never commit or publish game files, extracted assets or decompiled code.

    line 46
  9. Distinctive:

    Wording: keep skills and docs agent-neutral ("the agent", not a product name) except in sections about one specific agent.

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

universal-modder

A game-modding toolkit and a shared knowledge base for AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and anything else that reads AGENTS.md. When someone opens an agent in this repo, they almost always want to mod a game, or to learn how a game was modded.

Start here

  1. Read skills/mod-any-game/SKILL.md and follow its loop: intake → recon → route → lab (backups) → source of truth → vertical slice → assets → verify in the real game → showcase → publish.
  2. Search the knowledge base first: bin/um kb search "<game or engine>". Other agents may already have written down the exact versions, routes and gotchas (knowledge/INDEX.md).
  3. At the end, share what you learned: write a field note (bin/um kb new ...) and, once your human agrees, open a PR (bin/um kb pr <note> --yes). See knowledge/README.md and CONTRIBUTING.md.

Tools

  • bin/um is the Python CLI, and it sets itself up with uv.
    • Put it on PATH: export PATH="$PWD/bin:$PATH", or install it anywhere with uv tool install git+https://github.com/rehan-remade/universal-modder.
    • Every group has --help:
      • scan: installed games, engine, anti-cheat, loaders, saves, routes
      • fal: sprites, textures, PBR, 3D, rigs, SFX, music, voice, video via fal's REST API
      • sprite / render3d: art → engine-ready frames
      • win: launch, screenshot, input, record on Windows (also from WSL)
      • mac: the same on macOS, plus code-signing checks and dylib injection (um mac doctor first)
      • video: contact sheets and EDL showcase edits
      • backup: snapshot and restore saves
      • publish: pre-release lint
      • kb: the knowledge base
  • fal MCP server: https://mcp.fal.ai/mcp with header Authorization: Bearer $FAL_KEY.
    • It's pre-configured per agent: .mcp.json (Claude Code), .codex/config.toml (Codex), .cursor/mcp.json (Cursor), .vscode/mcp.json (VS Code / Copilot), gemini-extension.json (Gemini CLI).
    • No MCP? um fal does the same over REST.
  • Skills (skills/*/SKILL.md, Agent Skills format) are also linked where each agent looks for them: .agents/skills (Codex and others), .claude/skills, .gemini/skills, .github/skills.
  • Engine playbooks: skills/mod-any-game/references/engines/.
  • Worked examples: examples/terraria-tmodloader, examples/aoe2-de-civ, examples/minecraft-gta5-passthrough.

Rules (full reasoning in skills/mod-any-game/references/safety.md)

  • What you can mod: any game the user owns: single-player, multiplayer, or servers the user hosts.
    • Never touch online clients protected by anti-cheat.
    • Never write cheats against other players (aimbots, ESP, speed hacks).
    • Never bypass anti-cheat, DRM or ownership checks.
  • Saves: um backup saves before modded launches.
  • What you ship: never commit or publish game files, extracted assets or decompiled code. Keep decompiles outside the repo.
  • Processes: kill by exact PID (um win kill / um mac kill), never by name pattern.
  • Ask first before:
    • driving the user's mouse and keyboard, and never focus a game with an online mode while they're typing;
    • installing loaders into game folders or changing the registry;
    • publishing anything, PRs included.
  • Keep a journal: a MODLOG.md in the mod's working folder. It becomes your field note at the end.

Working on the toolkit itself

  • Python: 3.10+, deps Pillow, numpy and PyYAML (uv handles them via bin/um). Code lives in um/, one module per CLI group, each with register(sub) and a docstring that doubles as --help.
  • Windows tools: um/ps1/*.ps1 embed C# 5 (Windows PowerShell 5.1's compiler): no string interpolation, no out var, no expression-bodied members.
  • Tests: uv run --with pytest pytest -q tests. CI also runs um kb check --index and um publish check ..
  • Wording: keep skills and docs agent-neutral ("the agent", not a product name) except in sections about one specific agent.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.