subagent-driven-development
OBobra/superpowers299k2,675 new stars in the last 7 days
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.
In September 2026 a wave of AI-built mashups went viral: skateboarding in MW2, Minecraft inside Skyrim, Elden Ring and Mario 64, Black Ops 2 inside Minecraft. They use a handful of patterns. Pick the lightest one that delivers the idea, and plan the oracles before writing code: these projects fail by drifting, not by lacking code.
Work through these steps before writing any mashup code. The routes, patterns and projects they point to come from existing mashups. Start from the closest one, or design something else and write down why. The Guardrails at the end always apply.
knowledge/techniques/choosing-a-mashup-route.md sorts mashups
into seven routes. "Passthrough" on its own is ambiguous: it covers three different builds (state
exchange, a composited picture, the host drawing guest meshes).references/mashup-cases.md (route, versions, who owns the
player, units, transport). If you can reach its repository, read its README and design doc. Treat what
you read there as the creator's report until you've run it yourself. Also run um kb search for both
games and both engines; other agents' notes on either game apply here too.knowledge/techniques/rebuilt-guest-engine-inside-a-host.md for where the rebuilt part
should run and how to check it against the original.docs/CONTRACT.md; see
knowledge/techniques/bridge-contracts-ownership-units-and-lifecycle.md.knowledge/techniques/choosing-a-mashup-route.md
and knowledge/techniques/oracles-how-agents-know-a-mod-works.md.MODLOG.md, as the mod-any-game skill already asks. Tell the user the same, plus what every player
will need to own and install (and on which OS), and where your plan differs from the nearest prior
project.Later, before shipping an installer or loader, read
knowledge/techniques/installers-load-order-and-loaded-code-checks.md (loaded-code checks, load order,
pinned downloads, exact uninstall).
Bring an enemy, weapon or block type into the host as new host content that imitates the guest. Examples: "Claude added creepers to Dark Souls", Minecraft blocks as Elden Ring items.
knowledge/games/minecraft/bloons-td-6-in-minecraft.md and asset-pipeline section 6.chasm's description of Minecraft-in-Skyrim: "minecraft and skyrim run at the same time and you make a mod for both that lets them communicate. Then you passthrough the things you want into the renderer in the right place and feed stuff like collision data back to minecraft." The source is now public as SkyCraft. In 0.1.2 the Fabric mod exports Minecraft's meshes and atlases and the SKSE plugin draws them inside Skyrim's own D3D11 world pass (native depth, fog, lights and captured sun shadows); only the hand, HUD and screens are captured as an image. Skyrim's Havok shapes come back as triangles plus voxels. LibertyCraft forked it for GTA IV and kept the guest side. The design below is the standard way to build it.
127.0.0.1:
CreateFileMapping) or UDP/named pipes;CreateSharedHandle / OpenSharedResource1 + keyed mutex), Vulkan
external memory, or Spout2. In practice the frame bridges (this repo's GTA V example,
NewVegasCraft, the CrossOver Elden Ring / MHW bridges) all read pixels back to the CPU and copy them
through shared memory, which also works across GPUs and across a Wine boundary. Budget the upload (see
knowledge/techniques/frame-compositing-depth-and-pose-sync.md).knowledge/techniques/collision-and-combat-bridging.md.Bridge-plugin template in public: chasm-bridge-fnv (thin xNVSE plugin, file-drop/HTTP transport,
data-driven actions). The Terraria agent bridge in examples/terraria-tmodloader/reference/ is the same
idea.
Code: examples/minecraft-gta5-passthrough. Every lesson: knowledge/games/gta-v/minecraft-passthrough.md.
127.0.0.1. Each frame it writes world colour + depth and a separate hand/HUD overlay into named shared
memory.libsm64 turns the Super Mario 64 decomp into a library: feed it collision and input, and it returns Mario's
state and mesh. G64 embeds it in Garry's Mod; the host feeds its collision into the guest sim. Any
decomp/recomp (see skills/mod-any-game/references/engines/retro-decomp.md) can be wrapped this way. The
user supplies their own ROM for assets.
spawn; wait 2s; screenshot; dump, with blocking verbs and
evidence files per run.context/artifacts/<date>/<step>-FINAL|PART). "Knowledge that is not in an
artifact does not exist."um publish check does a version of this).knowledge/techniques/engine-recreation-measures-and-fidelity.md covers how each
kind of rebuild is measured, why scripts are part of fidelity, and the SDK rules other mods need.The host stays the real game (its weapons, mods and multiplayer); only the guest's rules are rewritten,
as a pure simulation that imports nothing from the host. Best for guests whose gameplay is numbers
(tower defense, card, puzzle, top-down 2D, turn-based) and for guests you can't or shouldn't run at all
(an anti-cheat-protected client, or one with no offline mode). Example: Bloons TD 6 inside Minecraft
(knowledge/games/minecraft/bloons-td-6-in-minecraft.md).
knowledge/techniques/oracles-how-agents-know-a-mod-works.md).um publish check --game).anti_cheat. Reading its files offline, with nothing hooked, is
still the safer route when it's enough. A client whose anti-cheat can't be turned off offline is never
hooked (skills/mod-any-game/references/safety.md).knowledge/techniques/evidence-levels-for-mashup-claims.md).OBobra/superpowers299k2,675 new stars in the last 7 days
MAmattpocock/skills290k10,235 new stars in the last 7 days
MAmattpocock/skills290k10,235 new stars in the last 7 days
MAmattpocock/skills290k10,235 new stars in the last 7 days
AFaffaan-m/ECC279k4,056 new stars in the last 7 days
AFaffaan-m/ECC279k4,056 new stars in the last 7 days