fmuecke

Claude Win Sandbox — DevOps skill for Claude Code

DevOps community

Isolation for Claude Code on native Windows with MSVC, no docker/WSL.

How to install Claude Win Sandbox

This entry records only its repository, not the path inside it, so there is no exact command to give. Open fmuecke/claude-win-sandbox and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Win Sandbox does

Isolation for Claude Code on native Windows with MSVC, no docker/WSL.

Alternatives in DevOps

  • Containarium — Open-source agent runtime — SSH-native isolation, eBPF egress policy, Kubernetes + LXC backends, GPU passthrou 320 ★
  • Claude Code Sandbox — Run Claude Code safely in local Docker containers without having to approve every permission 301 ★
  • Win Claude Code — Claude Code for Windows: No WSL 228 ★

README

_**IMPORTANT**_

**This is superseeded by the general [agent-win-sandbox](https://github.com/fmuecke/agent-win-sandbox) project.**

**This repo will no longer be maintained.**

claude-win-sandbox

Run Claude Code on Windows as a dedicated standard user in a fixed workspace from a Visual Studio Developer Shell.

This reduces the blast radius of Windows-native development; it is not hard containment. Use a VM for adversarial code or strong isolation.

The CEO's assistant is not the CEO. Give the agent delegated access, not your full Windows identity.

What it does

  • Separates Claude Code, its credentials, configuration, and installation into C:\Users\ClaudeSandbox.
  • Limits expected agent writes to the sandbox workspace.
  • Protects the launcher, launch-as, bootstrap, checker, and managed-settings files in admin-write locations.
  • Blocks common Windows lateral-movement protocols for the sandbox account.

What it does not protect against

  • Malicious code, prompt injection, or hard isolation failures.
  • Exfiltration through allowed HTTPS, git, package feeds, or internal services.
  • Data readable by ClaudeSandbox, including its workspace, credentials, and broadly readable local files.
  • Snapshots, resource limits, centralized audit logs, or automatic kill switches.

Requirements

  • Windows 10 or 11
  • Machine-wide Visual Studio and Git for Windows
  • Administrator rights for setup, removal, and policy installation

Setup

Run once from an elevated PowerShell:

.\Setup-ClaudeSandbox.ps1

Setup optionally deploys the Claude Code managed settings to `C:\Program Files\ClaudeCode\managed-settings.json`; it asks before replacing an existing file. It also creates the `Claude (sandboxed)` Public Desktop shortcut.

Start the sandbox with that shortcut, or run:

& 'C:\ProgramData\claude-win-sandbox\Start-ClaudeSandbox.ps1'

Install Claude Code in the sandbox shell:

irm https://claude.ai/in