remix-cli
Use the official Remix CLI for authentication, config inspection, game creation, uploads, and analytics. Trigger this skill when a task involves `remix login`, `remix whoami`, `.remix-cli.json`, `REMIX_API_KEY`, or terminal-based game management on Remix.
Best use case
remix-cli is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Use the official Remix CLI for authentication, config inspection, game creation, uploads, and analytics. Trigger this skill when a task involves `remix login`, `remix whoami`, `.remix-cli.json`, `REMIX_API_KEY`, or terminal-based game management on Remix.
Teams using remix-cli should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/remix-cli/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How remix-cli Compares
| Feature / Agent | remix-cli | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Use the official Remix CLI for authentication, config inspection, game creation, uploads, and analytics. Trigger this skill when a task involves `remix login`, `remix whoami`, `.remix-cli.json`, `REMIX_API_KEY`, or terminal-based game management on Remix.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Remix Cli ## Overview Use the `remix` CLI for human-facing terminal workflows. Prefer it over handwritten REST calls when the task is local auth, config management, game creation, asset uploads, code uploads, or analytics inspection. ## Quick Start Install and authenticate: ```bash curl -fsSL https://remix.gg/install.sh | bash remix login remix whoami remix login <deviceCode> ``` Create and upload a game: ```bash remix games create --name "My Game" remix games icon upload ./icon.png remix games versions code update --code-path ./game.html remix games versions validate get ``` ## Output Modes - `--json` forces machine-readable output. - non-TTY stdout defaults to JSON. - `--quiet` suppresses human-only status output and implies JSON-friendly output. Use JSON mode for agent parsing and shell pipelines. ## Config Model - Project config lives in the nearest `.remix-cli.json`. - Credentials live in `~/.config/remix/credentials.json`. - Legacy `.remix-mcp.json` can still be discovered, but new CLI config is `.remix-cli.json`. - `REMIX_API_URL` overrides the API base URL for CLI commands. - Runtime precedence is: 1. explicit flags 2. environment variables 3. stored config and credentials 4. defaults Useful inspection commands: ```bash remix config get remix config where remix whoami --json ``` ## Commands To Reach For - Auth: `remix login`, `remix whoami` - Config: `remix config set|get|where` - Health: `remix health get` - Games: `remix games list|get|create` - Assets: `remix games assets list|upload`, `remix games icon upload` - Metadata: `remix metadata categories list`, `remix games categories set` - Versions: `remix games versions list|get|code get|code update|thread get|status get|validate get` - Readiness: `remix games launch-readiness get` - Analytics: `remix games analytics overview get`, `remix games analytics shop get`, `remix games analytics leaderboard get` - Shop items: `remix games items list|create|update|delete` ## Guardrails - Reuse `gameId` and `versionId` from `.remix-cli.json` when present. - Run `remix whoami` before debugging auth manually. - If `remix login` is interrupted after it prints a device code, resume with `remix login <deviceCode>` instead of starting a second device-auth flow. - Use `remix games list` only when the user explicitly wants their game list. - Prefer `remix games versions code update --code-path ...` over constructing raw upload requests by hand. - For local development against a non-production API, set `remix config set --api-url http://localhost:3003`.
Related Skills
remix-upload-game
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.
remix-upload-asset
Upload images, audio, or 3D models as hosted game assets
remix-submission-rules
Validation and publish constraints for Remix game submissions
remix-shop-items
Create, update, delete, and integrate Remix shop items. Use when a game needs Bits items, consumables, one-time unlocks, tier unlocks, store icons, or purchase handling in @remix-gg/sdk code.
remix-save-game
Add save and load game state functionality via RemixSDK
remix-rest-snippets
REST client snippets for Remix agent publishing
remix-open-game
Open a game in the Remix Studio browser for preview and editing
remix-multiplayer
Enable multiplayer support for a Remix game
remix-game-sdk
Reference for the current @remix-gg/sdk runtime. Use when generating or repairing Remix game code, shop item integrations, save-state flows, multiplayer hooks, or host-safe mobile UI behavior.
remix-game-creation
Create a new game draft via the Remix API
remix-game-best-practices
Mobile-first game creation best practices for Remix
remix-api-reference
OpenAPI-first endpoint reference for Remix game publishing REST routes