dev-desktop-sandbox
Run isolated mux desktop (Electron) instances (temp MUX_ROOT + free ports)
Install
mkdir -p .claude/skills/dev-desktop-sandbox && curl -L -o skill.zip "https://mcp.directory/api/skills/download/8071" && unzip -o skill.zip -d .claude/skills/dev-desktop-sandbox && rm skill.zipInstalls to .claude/skills/dev-desktop-sandbox
About this skill
Desktop (Electron) sandbox instances
make dev + make start (Electron) uses MUX_ROOT for persisted state (config, sessions, worktrees, etc.). Running multiple Electron instances against the same mux root is noisy and risky during development.
This skill documents the repo workflow for starting multiple desktop dev instances in parallel (including from different git worktrees) by giving each instance its own temporary MUX_ROOT.
Quick start
make dev-desktop-sandbox
What it does
- Creates a fresh temporary
MUX_ROOTdirectory - Copies these files into the sandbox if present (unless disabled by flags):
providers.jsonc(provider config)config.json(project list)
- Picks free ports:
- Vite devserver port (used by the renderer)
- Electron remote debugging port (optional)
- Disables tutorials by default inside the sandbox (
MUX_ENABLE_TUTORIALS_IN_SANDBOX=1opts back in) - Runs
make devwith:MUX_ROOT=<temp>MUX_VITE_PORT=<free-port>
- Waits for Vite to be reachable, then runs
make build-static(Electron expectsdist/splash.html) - Launches Electron (
bunx electron .) with:MUX_ROOT=<temp>MUX_DEVSERVER_HOST=127.0.0.1MUX_DEVSERVER_PORT=<vite-port>MUX_SERVER_PORT=0by default (avoidsEADDRINUSEif yourconfig.jsonpinsapiServerPort)CMUX_ALLOW_MULTIPLE_INSTANCES=1(so you can run alongside another dev instance)
Options
# Start with a clean instance (do not copy providers or projects)
make dev-desktop-sandbox DEV_DESKTOP_SANDBOX_ARGS="--clean-providers --clean-projects"
# Skip copying providers.jsonc
make dev-desktop-sandbox DEV_DESKTOP_SANDBOX_ARGS="--clean-providers"
# Clear projects from config.json (preserves other config)
make dev-desktop-sandbox DEV_DESKTOP_SANDBOX_ARGS="--clean-projects"
# Use a specific root to seed from (defaults to $MUX_ROOT then ~/.mux-dev then ~/.mux)
SEED_MUX_ROOT=~/.mux-dev make dev-desktop-sandbox
# Keep the sandbox root directory after exit (useful for debugging)
KEEP_SANDBOX=1 make dev-desktop-sandbox
# Pin Vite port
VITE_PORT=5174 make dev-desktop-sandbox
# Control how long we wait for Vite to come up (ms)
VITE_READY_TIMEOUT_MS=120000 make dev-desktop-sandbox
# Re-enable tutorials for sandbox dogfooding
MUX_ENABLE_TUTORIALS_IN_SANDBOX=1 make dev-desktop-sandbox
# Enable/pin Electron remote debugging port (defaults to an auto-picked free port)
ELECTRON_DEBUG_PORT=9223 make dev-desktop-sandbox
# Disable Electron remote debugging entirely
ELECTRON_DEBUG_PORT=0 make dev-desktop-sandbox
# Override the internal API server port (defaults to 0/random for sandboxes)
MUX_SERVER_PORT=3772 make dev-desktop-sandbox
# Override which make binary to use
MAKE=gmake make dev-desktop-sandbox
Optional: deeper Electron isolation (MUX_E2E=1)
Even with a unique MUX_ROOT, Electron's userData directory (localStorage, window state, single-instance lock, etc.) is not automatically relocated unless MUX_E2E=1 is set.
If you want full isolation (including userData), run:
MUX_E2E=1 make dev-desktop-sandbox
Security notes
providers.jsoncmay contain API keys.- The sandbox root directory is created on disk (usually under your system temp dir).
- This flow intentionally does not copy
secrets.json.
More by coder
View all skills by coder →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversElectron Desktop Automation streamlines app testing with screenshots, console monitoring, project detection, and debuggi
Snowfort Circuit MCP — MCP server for AI coding agents enabling browser automation, electron automation and AI test auto
Llama.cpp Bridge connects local llama-server instances to MCP clients, enabling chat, health checks, and flexible llama.
SendForSign MCP Server: use the SendForSign API to list e-signature templates and read template content for streamlined
Enhance software testing with Playwright MCP: Fast, reliable browser automation, an innovative alternative to Selenium s
Terminal control, file system search, and diff-based file editing for Claude and other AI assistants. Execute shell comm
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.