skills/remix-game-creation/SKILL.md
Create a new game draft via the Remix API
npx skillsauth add farworld-labs/remix-skills remix-game-creationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill guides you through creating a new HTML game on the Remix platform.
REMIX_API_KEY environment variable must be set.width: 100vw; height: 100vh
on the game container. No scrollbars, no overflow.Decide on the game concept, mechanics, and visual style. Keep scope small -- a single-file HTML game should be playable in under 30 seconds.
Create a single HTML file with inline <style> and <script> tags. Structure:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Game Title</title>
<script src="https://cdn.jsdelivr.net/npm/@remix-gg/sdk@latest/dist/index.min.js"></script>
<style>
/* Game styles can go here */
</style>
</head>
<body>
<!-- Game markup can go here -->
<script>
// Game logic here
</script>
</body>
</html>
window.RemixSDK.singlePlayer.actions.gameOver({ score }) -- Call when the game
ends, passing the player's final score as { score: number }. This reports
the score to the platform.
window.RemixSDK.onPlayAgain(callback) -- Register a callback (no arguments)
that fires when the player requests to play again. The callback should reset
game state and restart the game.
window.RemixSDK.onToggleMute(callback) -- Register a callback that receives
{ isMuted: boolean }. The game must mute or unmute all audio based on the
isMuted value.
Before uploading, read the HTML file and verify:
<!DOCTYPE html> declaration<meta name="viewport" ...> tag<script src="https://cdn.jsdelivr.net/npm/@remix-gg/sdk@latest/dist/index.min.js"></script>@farcade/game-sdk script tagsinglePlayer.actions.gameOver( OR multiplayer.actions.gameOver( (not both).onPlayAgain( callback.onToggleMute( callbacklocalStorage or sessionStorage usageonclick=, onload=, etc.)Fix any issues before proceeding.
Follow the upload-game workflow to create the game on the Remix platform and deploy your HTML code.
requestAnimationFrame for game loops, not setInterval.content-media
Generate and add images to a Remix game
development
Build lightweight mobile-friendly 3D browser games with Three.js
tools
Upload and validate HTML game code for Remix. Use when creating or updating a draft version through the CLI, MCP tools, or direct REST calls.
data-ai
Upload images, audio, or 3D models as hosted game assets