Install Press C to copy Claude Cursor Codex Any chat
$ npx get-skill add latchagent/enclave-sandbox-manager Copy Copied
Installs into ~/.claude/skills (or .claude/skills inside a project). Restart Claude Code to pick it up.
Download SKILL.md Install Copied Save Share Link copied
+ Add to plugin
README badge [](https://skillmd.com/skills/latchagent/enclave-sandbox-manager)Copy Copied
Trust & safety 3 of 3 audits passed SkillMD Review PASS Reviewed instructions for unsafe or deceptive behaviour.
SkillSpector PASS Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the atta…; npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
Skill Scanner PASS Skill does not specify a license
Works with Claude Code Claude.ai OpenAI Codex + Report a problem with this skill File contents Enclave Sandbox Manager
What This Module Does
The Sandbox Manager (src/main/lib/sandbox/sandbox-manager.ts) implements unified backend selection and lifecycle for enclave sessions.
Selection Cascade
1. Docker available? → DockerEnclave
2. macOS sandbox-exec? → SeatbeltEnclave
3. Linux bwrap? → BubblewrapEnclave
4. None? → REFUSE (no sandbox = no session)
Key API
detectBestBackend() — Returns best available backend using cascade
getAvailableBackends() — Returns detection results for all three backends
registerSession(sessionId, backend, processId) — Track active session
unregisterSession(sessionId) — Remove session tracking
getSessionStatus(sessionId) — Get sandbox status for a session
getDockerManager() — Access underlying Docker manager
getSeatbeltEnclave() — Access Seatbelt backend
getBubblewrapEnclave() — Access Bubblewrap backend
disposeAll() — Clean up all sessions on app quit
Testing
Run: npx vitest run src/main/lib/sandbox/sandbox-manager.test.ts
1 --- 2 name: enclave-sandbox-manager 3 description: Enclave Sandbox Manager 4 --- 5 # Enclave Sandbox Manager 6 7 ## What This Module Does 8 9 The Sandbox Manager (`src/main/lib/sandbox/sandbox-manager.ts`) implements unified backend selection and lifecycle for enclave sessions. 10 11 ## Selection Cascade 12 13 ``` 14 1. Docker available? → DockerEnclave 15 2. macOS sandbox-exec? → SeatbeltEnclave 16 3. Linux bwrap? → BubblewrapEnclave 17 4. None? → REFUSE (no sandbox = no session) 18 ``` 19 20 ## Key API 21 22 - `detectBestBackend()` — Returns best available backend using cascade 23 - `getAvailableBackends()` — Returns detection results for all three backends 24 - `registerSession(sessionId, backend, processId)` — Track active session 25 - `unregisterSession(sessionId)` — Remove session tracking 26 - `getSessionStatus(sessionId)` — Get sandbox status for a session 27 - `getDockerManager()` — Access underlying Docker manager 28 - `getSeatbeltEnclave()` — Access Seatbelt backend 29 - `getBubblewrapEnclave()` — Access Bubblewrap backend 30 - `disposeAll()` — Clean up all sessions on app quit 31 32 ## Testing 33 34 Run: `npx vitest run src/main/lib/sandbox/sandbox-manager.test.ts`
latchagent/latch-core commit 549fae5631
Frequently asked questions How do I install the Enclave Sandbox Manager skill? Run npx get-skill add latchagent/enclave-sandbox-manager in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Enclave Sandbox Manager skill do? Enclave Sandbox Manager It is listed under Coding & Dev Tools on SkillMD.
Is Enclave Sandbox Manager safe to use? SkillMD's automated safety review verdict for this skill is PASS. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Enclave Sandbox Manager? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Enclave Sandbox Manager free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Enclave Sandbox Manager? latchagent (@latchagent) published this skill. Their other Agent Skills are listed on their SkillMD profile.