Wsl Agent Sandbox — DevOps skill for Claude Code
Hardened Ubuntu 26.04 LTS WSL2 sandbox for autonomous AI coding agents (Gemini CLI, Claude Code, etc.) isolates Windows drives, interop, clipboard, and LAN/loopback while safely sharing Docker Desktop.
How to install Wsl Agent Sandbox
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Thorup/wsl-agent-sandbox and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Wsl Agent Sandbox does
Hardened Ubuntu 26.04 LTS WSL2 sandbox for autonomous AI coding agents (Gemini CLI, Claude Code, etc.) isolates Windows drives, interop, clipboard, and LAN/loopback while safely sharing Docker Desktop via a Go API policy proxy and keeping localhost web preview working.
Alternatives in DevOps
- Claude Code Router — Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the m 30.1k ★
- Skill Claw — OpenClaw instance administration — manage hosts across macOS, Ubuntu/Debian, Docker, OCI, and Proxmox 2.8k ★
- Codeg — Aggregate and browse AI coding agent sessions (Claude Code, Codex, Gemini CLI, etc.) in one place 850 ★
README
`wsl-agent-sandbox` — Hardened Ubuntu 26.04 LTS WSL2 Sandbox for Autonomous AI Agents
A declaratively configured, isolated **Ubuntu 26.04 LTS (Resolute Raccoon)** WSL2 distribution (`wsl-agent-sandbox`) where autonomous AI coding agents (**Gemini CLI**, **Claude Code**, **Codex**, **Antigravity / VS Code Remote-WSL**, or custom agents) can run freely inside Linux while being **strictly contained from accessing your underlying Windows host**, with explicit Windows-side control over every bridge.
Security & Isolation Guarantees
| Boundary | Default Policy | Controlled Bridge |
|---|---|---|
| Privilege Escalation | Agent runs as non-root agent (UID 26040), zero sudo, locked root password. |
Admin access only from Windows via .\box.ps1 root-shell. |
| Windows Filesystem | /mnt/c automount disabled ([automount] enabled=false), manual mount -t drvfs blocked. |
Declarative sharedFolders allowlist in box.json mounted at /shared/ (ro or rw). |
Windows .exe Interop |
Disabled ([interop] enabled=false, appendWindowsPath=false). |
None (Antigravity / VS Code Remote-WSL uses modern script-less startup). |
WSLg / Clipboard / /mnt/wsl |
Unmounted per-distro (rprivate + umount -l + chmod 000); no X11/Wayland/clipboard/raw sockets. |
Root-only /run/box-root/mnt-wsl (0700 root:root) used exclusively by docker-policy-proxy. |
| Network (WSL → Windows & LAN) | Per-UID nftables (meta skuid 26040) drops all new outbound traffic to Windows host & RFC1918 LAN. |
Optional network.allowedHostPorts in box.json; outbound internet remains open. |
| Network (Windows → WSL) | ct state established,related accept + WSL localhostForwarding. |
Browse any web app hosted in WSL at http://localhost: from Windows! |
| **Docker |
Related Skills
Eggie
Desktop app for Windows and macOS that gives non-technical builders their own Linux VM (WSL2 / Lima). It runs
Ubuntu Server Admin
Скилл для Claude Code и агентов: продвинутое администрирование Ubuntu 24.04/26.04 — VPN для обхода DPI (Amnezi
Vps Setup Skill
Claude Code skill: take a Kamal Rails app from a bare Ubuntu VPS to a hardened, live production server (provis
AI Workstation
Niu Gateway: a self-hosted LAN gateway with a macOS-style web desktop (Mihomo/Clash, AdGuard Home, Tailscale,
Win Claude Code
Claude Code for Windows: No WSL. No Docker. Just code.
Claude Win Sandbox
Isolation for Claude Code on native Windows with MSVC, no docker/WSL.
Related Agents
.github/workflows/ci Cd.yml
name: CI/CD Pipeline on: push: branches: [main, develop] pull_request: branches: [main] jobs: lint: runs-on: u
Gh Actions
GitHub Actions compatibility reviewer. Use when checking that pipeline changes will run correctly on GitHub Ac
Harden Issues Seam
Reads a whole set of hardened issues plus the attackers' findings and hunts the gaps between them, for the /ha