.mux/skills/dev-server-sandbox/SKILL.md
Run multiple isolated mux dev-server instances (temp MUX_ROOT + free ports)
npx skillsauth add coder/mux dev-server-sandboxInstall 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.
dev-server sandbox instancesmake dev-server starts the mux backend server, which uses a lockfile at:
<MUX_ROOT>/server.lock (defaults to ~/.mux-dev/server.lock in development)This means you can only run one dev server per mux root directory.
This skill documents the repo workflow for starting multiple dev-server instances in parallel (including from different git worktrees) by giving each instance its own temporary MUX_ROOT.
make dev-server-sandbox
MUX_ROOT directoryproviders.jsonc (provider config)config.json (project list)BACKEND_PORT, VITE_PORT)MUX_ENABLE_TUTORIALS_IN_SANDBOX=1 opts back in)VITE_ALLOWED_HOSTS=all) so it works behind port-forwarding domainsmake dev-server with those env overrides# Start with a clean instance (do not copy providers or projects)
make dev-server-sandbox DEV_SERVER_SANDBOX_ARGS="--clean-providers --clean-projects"
# Skip copying providers.jsonc
make dev-server-sandbox DEV_SERVER_SANDBOX_ARGS="--clean-providers"
# Clear projects from config.json (preserves other config)
make dev-server-sandbox DEV_SERVER_SANDBOX_ARGS="--clean-projects"
# Use a specific root to seed from (defaults to ~/.mux-dev then ~/.mux)
SEED_MUX_ROOT=~/.mux-dev make dev-server-sandbox
# Keep the sandbox root directory after exit (useful for debugging)
KEEP_SANDBOX=1 make dev-server-sandbox
# Pin ports (must be different)
BACKEND_PORT=3001 VITE_PORT=5174 make dev-server-sandbox
# Re-enable tutorials for sandbox dogfooding
MUX_ENABLE_TUTORIALS_IN_SANDBOX=1 make dev-server-sandbox
# Override which make binary to use
MAKE=gmake make dev-server-sandbox
providers.jsonc may contain API keys.secrets.json.testing
Testing doctrine, commands, and test layout conventions
data-ai
Terminal-Bench integration for Mux agent benchmarking and failure analysis
development
Guidelines for when to use (and avoid) useEffect in React components
documentation
Guidelines for creating and managing Pull Requests in this repo