coder/xum/dev-desktop-sandbox
- community
Checking that the SKILL.md file is still in the repository.
Run isolated xum desktop (Electron) instances (temp XUM_ROOT + free ports)
Install
npx vskill@latest install coder/xum/dev-desktop-sandboxSKILL.md
Desktop (Electron) sandbox instances
make dev + make start (Electron) uses XUM_ROOT for persisted state (config, sessions, worktrees, etc.). Running multiple Electron instances against the same xum 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 XUM_ROOT.
Quick start
What it does
- Creates a fresh temporary
XUM_ROOTdirectory - Copies these files into the sandbox if present (unless disabled by flags):
providers.jsonc(provider config)config.json(project list)- Each file is seeded independently from the first root that has it
($XUM_ROOT, then leftover $MUX_ROOT, then ~/.xum[-dev], then leftover ~/.mux[-dev] / ~/.cmux), so a root with only config.json doesn't drop provider config
- Provider credential env vars are stripped from the child processes' env when
they could silently override or mismatch the intended setup: all of them with --clean-providers (including Bedrock's AWS_REGION and AWS_BEARER_TOKEN_BEDROCK; shared AWS credentials like AWS_PROFILE are kept); otherwise only *_BASE_URL env vars that would shadow a seeded providers.jsonc entry that has an apiKey but no explicit baseUrl (API key env vars are always kept so env-key fallback still works)
- Picks free ports:
- Vite devserver port (used by the renderer)
- Electron remote debugging port (optional)
- Disables tutorials by default inside the sandbox (
XUM_ENABLE_TUTORIALS_IN_SANDBOX=1opts back in) - Runs
make devwith: XUM_ROOT=<temp>XUM_VITE_PORT=<free-port>- Waits for Vite to be reachable, then runs
make build-static(Electron expectsdist/splash.html) - Launches Electron (
bunx electron .) with: XUM_ROOT=<temp>XUM_DEVSERVER_HOST=127.0.0.1XUM_DEVSERVER_PORT=<vite-port>XUM_SERVER_PORT=0by default (avoidsEADDRINUSEif yourconfig.jsonpinsapiServerPort)XUM_ALLOW_MULTIPLE_INSTANCES=1and leftoverCMUX_ALLOW_MULTIPLE_INSTANCES=1
Agent usage with bash.monitor
When launching an Electron sandbox for dogfooding, prefer a monitored background bash so Xum wakes the workspace on Vite/Electron readiness or startup failures without manual polling.
After a readiness wake, use the sandbox output/ports shown in the matched logs to connect with the Electron or agent-browser workflow. Use task_await only when the wake line is not enough context.
Options
Optional: deeper Electron isolation (XUM_E2E=1)
Even with a unique XUM_ROOT, Electron's userData directory (localStorage, window state, single-instance lock, etc.) is not automatically relocated unless XUM_E2E=1 is set.
If you want full isolation (including userData), run:
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.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.xum/skills/dev-desktop-sandbox/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/coder/xum/dev-desktop-sandbox)