remix-game-sdk
Installation
SKILL.md
Remix Game SDK Reference (@remix-gg/sdk)
Use this file when generating or repairing game code for Remix.
Runtime model
- In Remix-hosted uploads, the SDK is available as
window.RemixSDK. window.FarcadeSDKis still assigned as a backward-compatible alias, but new code should usewindow.RemixSDK.- Include SDK script in the HTML
<head>:<script src="https://cdn.jsdelivr.net/npm/@remix-gg/sdk@latest/dist/index.min.js"></script>
- Do not rely on package imports in uploaded single-file game code.
- Always call
await window.RemixSDK.ready()before reading player/game data.
Required hooks for v1 agent validation
These checks are required by GET /v1/games/{gameId}/versions/{versionId}/validate: