Agentbox Sandbox Setup

0•

Configures an OS-level bubblewrap sandbox to safely run AI coding agents with credential isolation, masked sensitive directories, and disabled root privileges.

Agentbox Sandbox Setup equips Linux machines with a system-level bubblewrap (bwrap) isolation wrapper tailored for AI coding agent CLIs like Claude Code, Codex, and Pi. Instead of relying on brittle per-command flags or restrictive virtual machines, this skill establishes an outer OS namespace that transparently masks sensitive directories (~/.ssh, ~/.gnupg, browser profiles, Docker sockets), sets personal folders and shell startup files to read-only, and completely neutralizes sudo via nosuid mounts while leaving your standard development workflows, networking, and package tools fully intact.

Key Features

01Read-only protection for personal directories, dotfiles, and shell startup configurations
02Neutralizes root escalation by disabling sudo, su, and pkexec through nosuid mounts
03Automatic masking of sensitive credential stores, SSH keys, GPG keys, and browser profiles
04Fine-grained GitHub CLI integration and root-protected hardlink backup strategies
05OS-level namespace isolation for AI coding CLIs using Bubblewrap (bwrap)
060 GitHub stars

Use Cases

01Preventing AI coding agents from accessing production credentials, personal documents, or host SSH keys
02Setting up a zero-prompt development environment without exposing the host OS to destructive commands
03Running Claude Code or other AI agent CLIs in autonomous/unattended modes safely