Methodology

Everything is a mod

ModTrick’s product is a portable architecture: packages with ASEC contracts, games as ModRuntime hosts, and docs that teach humans and coding agents the same law.

Law: If it ships in the game, it is a mod. If it is a mod, it has ASEC. If it has ASEC, ModRuntime can load it. If ModRuntime can load it, this site can teach it.

META

Contracts

Assumptions · provides · units · coordinate system.

GENESIS

Create

createX factory + minimal scaffold that matches the real API.

SHADOW

Residuals

Named approximations and failure modes — never silent “complete”.

MGS

Lifecycle

install → tune → verify → maintain (ordered).

Read in this order

1

Everything Is a Mod (law)

Non-negotiable architecture: package shape, host bus, agent refuse list.

2

How to build a mod

Folder layout, factory API, ASEC checklist, AGENT.md, registration.

2b

Mod configuration

Host inject, configure(), presets, bus contracts, hot vs cold fields.

{ }

mod-catalog.json

Machine-readable options + bus map for every package.

3

Add modding to your game

Paste prompt for any agent + stacks (showcase, FPS, Outpost).

4

Outpost — proof under load

Playable third-person gem hunt wiring 10+ mods on a shared bus.

Agent surfaces

{ }

bootstrap.json

Machine operant — agents fetch this first (domains, steps, mod list).

Multi-harness onboard

Grok · Claude · Codex · Cursor skill install paths.

Host integration

Copy ModRuntime; vendor mods; couple via bus.

Harness matrix

Where skills and rules live per IDE.

ModRuntime host

Reference mod-runtime.js + frame-context.js.

llms.txt

Discovery index for LLM IDEs.

Skill package

Installable skill for agent skill roots.

A

AGENTS.md

Repo rules for this site’s own maintenance.

Paste to any coding agent

Add ModTrick modding to this game. Everything is a mod.

1. Fetch https://modtrick.com/agents/bootstrap.json
   (fallback https://modtrick.pages.dev/agents/bootstrap.json)
2. Read docs/EVERYTHING-IS-A-MOD.md and docs/agents/ADD-MODDING-TO-GAME.md
3. Copy host/mod-runtime.js into this repo
4. Vendor core-gameplay mods (or load from the site)
5. Wire loadAll + tick + bus; verify asec.mgs.verify
6. Update AGENTS.md — no second plugin system

Install skill locally: powershell -ExecutionPolicy Bypass -File pkg/install.ps1 · verify packages: node scripts/verify-mods.mjs