/universal-modder:port-a-modfrom universal-modder
Ports an existing mod to a newer game version or mod loader while preserving behavior, values, and quirks. Covers adaptation matrix, unit-by-unit porting with tests, real-client checks, and audits.
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.
Read when SKILL.md points to them.
When porting an existing mod, the original is the spec. A port rarely fails for lack of code. It fails by drift:
The method below carried a Thaumcraft 4.2.3.5 port from Minecraft 1.7.10 Forge to 1.20.1 Fabric:
The field note knowledge/games/minecraft/porting-thaumcraft-4-1-7-10-forge-to-minecraft-1-20-1-fabric.md has
its gotchas. Minecraft-specific mappings are in references/minecraft-1-7-10-forge-to-1-20-fabric.md.
Run the mod-any-game loop around this skill (intake, recon, lab, verify, publish, field note). This skill replaces its "vertical slice" step with a long series of slices, one per unit of the original. Bringing one game's content or mechanics into another game is the mashup-mods skill, not this one.
The original's code and assets belong to its author. A port is built from them, often from a decompile of them, so the original's license decides what of the port can be published. (This isn't legal advice; when in doubt, ask the author.)
LICENSE), its mod page, the files in
the jar, or the author's release post. Write it into the status document (section 7), with the link.AGENTS.md (point any
agent-specific instructions file at it). Example:
" is the only gameplay source. Keep its values, quirks and observable bugs. Later versions
are not references. Do not silently improve gameplay. Never claim a build or test passed unless it ran."func_12345_a, field_1234_b). Remap them with the MCP stable_12
CSVs (methods.csv, fields.csv); a token-replacing script is enough. 1.12 uses stable_39.javap. It shows names,
lambda names and local-variable slots for mixins. Loom's genSources gives readable source.reference/ in its private repository, so every fresh cloud session could
read the original before changing anything.ConfigItems, ConfigResearch, recipe classes):
(item, metadata) pairs, and newer engines have no metadata.
Each unit (a block, a device, a mob, a mechanic) follows the same steps:
Keep observable quirks and bugs, with a comment that names the original class or line, so the next agent does not "fix" them. Examples from the Thaumcraft port:
Don't reproduce crashes or client desync glitches, though. List each such case.
Document every forced deviation (an engine limit, a removed API) with its reason, in the status document's "known deviations" list.
Use two labels in the log:
The original inherited code from the old engine. A subclass of a vanilla mob, a vanilla tree generator, the old movement code: the new engine's versions differ. Port the old engine's parts too, and switch off what the new superclass adds (in Minecraft, a 1.20 zombie subclass gains drowned conversion).
Mark recalled platform behaviour. The mod's decompile does not contain the old engine or loader (Forge, vanilla 1.7.10). Mark anything taken from memory of them UNVERIFIED, or decompile them too.
Use stand-ins for content that doesn't exist yet. Give each missing dependency a named hook or tag, list it as pending, and wire it when its unit lands.
Keep the server authoritative. Re-validate client requests the original trusted. Still port the original's client-side pre-checks and messages.
Fidelity against playability is the user's call. A site check that almost never passes on new terrain, a fallback the new ecosystem makes redundant, art beyond the original: log each as an open user decision. Don't settle it silently.
Map engine concepts deliberately. Event order, ticking, metadata, rendering and world generation all
changed between versions. The Minecraft table is in references/minecraft-1-7-10-forge-to-1-20-fabric.md;
write one for your engine as you go.
Never port from memory. When the wiki and the decompile disagree, the decompile wins.
The general method is in knowledge/techniques/oracles-how-agents-know-a-mod-works.md. For a port, from
cheap to real:
runGametest) for logic. Parse the JUnit
XML; don't trust the console. Setup and traps:
knowledge/techniques/fabric-1-20-1-gametests-as-the-oracle-of-a-large-mod-port.md.
knowledge/techniques/a-scenario-harness-in-a-minecraft-fabric-dev-client-real-cli.md.
Report evidence levels honestly, per system:
Never write "passes" for a run that did not happen. If a host or tool is unreachable, say what was not run.
Feature-by-feature work leaves systematic drift that no single test sees.
A big port outlives any one session's context. Make the repo carry the state, and build before trusting it. A session left half-converted code in the Thaumcraft port: calls to methods of the old base, old enum values. Build at the start of every session, and re-port broken calls from the reference instead of stubbing them.
docs/MIGRATION_STATUS.md):
docs/HANDOFF.md): where things are, the non-negotiable decisions, the
commands, the latest real test result, and the open questions for the user.AGENTS.md) with the source-of-truth and verification rules.maven.fabricmc.net, piston-meta.mojang.com,
piston-data.mojang.com, libraries.minecraft.net and resources.download.minecraft.net, plus each
dependency's Maven. Without them, the first Gradle build can't run.docs/field-notes/): one fact per note, with its evidence. They become the
knowledge-base notes at the end.um kb new): versions, route, the original's license and whether the port
is public, gotchas.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-automationLaunch, 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./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.npx claudepluginhub rehan-remade/universal-modder --plugin universal-modder3 plugins ship this exact skill · first indexed Oct 14, 2026
Other plugins' skills for the same job