Skip to content

Available Tools

Every sandbar VM clones a shared base containing development tools and runtimes. The selected coding agents are then installed at their current releases inside that individual VM, including on reset.

Container & local dev

Running a web server with these? Web Servers and Ports covers how to reach it from your browser — locally and on a remote profile.

Language runtimes

  • Node.js
  • Go
  • Python 3 (with uv)
  • A headless JDK

Coding agents

The create form offers four independent checkboxes: Install Claude Code, Install OpenAI Codex, Install OpenCode, and Install Pi. Select any combination, including none. All four start unselected; after creating a VM, sandbar remembers your choices across connection profiles. See Files and State for persistence and migration details.

Headless creation offers --with-claude, --with-codex, --with-opencode, and --with-pi; use =false to explicitly deselect an agent. Omitted agent flags use the remembered selection. Changing agents does not rebuild the shared base. Reset retains that VM's recorded selections, independently of the defaults for new VMs.

Claude Code terminal notifications

When creating or resetting a VM with Claude Code selected, sandbar detects the workstation terminal and sets Claude's native notification channel for iTerm2, Kitty, or Ghostty. Detection also checks terminal identifiers retained inside host tmux and its saved TERM_PROGRAM. If sandbar cannot identify a supported terminal, it leaves your existing notification preference unchanged.

The guest tmux configuration enables notification passthrough. If you also run sandbar inside host tmux, enable set -g allow-passthrough on in the host's ~/.tmux.conf and reload it with tmux source-file ~/.tmux.conf. iTerm2 additionally needs Notification Center Alerts and Send escape sequence-generated alerts enabled under its profile's Terminal settings. See Claude's terminal notification guide.

The channel reflects the terminal used during provisioning. If you later connect from a different terminal, change preferredNotifChannel in the guest's ~/.claude/settings.json to match it.

Lullabot agent-environment marker

Every VM carries an empty /etc/lullabot/agent-environment file. Lullabot's Claude Code policy hooks treat a machine with this file as an approved agent environment, so sessions there do not need per-command approval. New VMs get it during provisioning. Older VMs get it the next time you open a shell with S or sandbar shell, with no rebuild or reset.

Global Sandbar environment context

During provisioning of a new VM, each selected agent receives a short global instruction block identifying the Sandbar guest. It tells the agent that passwordless sudo is available for guest system changes within work you have authorized, without asking again solely because a command uses sudo. It does not replace the agent's system prompt or grant access to your workstation.

The block points to the shared sandbar-environment skill. Its references cover the VM's name and connection profile type, the sandbar commands you run on your workstation (including what sandbar reset deletes), reaching guest ports from your workstation, where secrets and tokens come from, browser review with self-review-serve, tmux keys, the clipboard, and installed tools. Each reference links the documentation page it summarizes. The skill and its local references live at ~/.agents/skills/sandbar-environment. Claude Code discovers the same skill through a symlink at ~/.claude/skills/sandbar-environment. The instruction blocks live at:

Agent Global instruction file
Claude Code ~/.claude/CLAUDE.md
Codex ~/.codex/AGENTS.md
Pi ~/.pi/agent/AGENTS.md
OpenCode ~/.config/opencode/AGENTS.md

Provisioning preserves personal text in those files and unrelated skills. It refreshes only Sandbar's marked block and skill files; a user-owned skill at the same destination causes provisioning to stop with a collision error. A VM with no agents selected receives no agent context. Existing running VMs are not updated automatically. Start a fresh agent session after provisioning to load the global context.

Claude Code new-session skill

A VM with Claude Code selected also gets a new-session skill. Ask Claude to "start a new session in sandbar with a prompt to fix the failing test", for example, and it starts a separate, detached Claude Code session in the VM that appears in Remote Control. This is how you open a new VM session from the Claude web or mobile app, which can otherwise only start cloud sessions.

  • A loosely named repository is looked up in the VM's checkout layout, ~/<host>/<group>/<repo>.
  • In a git repository the new session works in a fresh worktree branched from origin/main, unless you ask it to work in the directory itself.
  • The new session starts in the permission mode of the session that asked.
  • The skill requires Remote Control to be on by default (remoteControlAtStartup in ~/.claude/settings.json). If it is off, the skill starts nothing and tells you how to turn it on: answer y to the launcher's Remote Control question (see Your First VM), or enable it later in Claude Code's /config screen.

The skill is sandbar's code, so it lives outside your home at /usr/local/share/sandbar/skills/new-session and every create or reset installs the current copy. Claude finds it through a symlink at ~/.claude/skills/new-session. If something of yours already occupies that path, provisioning leaves it in place, prints a warning, and continues without linking the skill.

Git

The --with-* flags configure the shared base image. Changing a tool selection makes the next sandbar create update the base before cloning a VM. See the CLI reference.

Browser reviews

Every base image includes @self-review/serve. Run sandbar land NAME PATH --review to review a checkout's diff in your browser and save comments where the agent can read them. The server runs inside the VM and starts only when you open a review. See Reviewing changes in a browser.

An initial repository cloned during provisioning receives the matching agent skills automatically. For repositories cloned later, run self-review-install-skills /path/to/repository inside the VM.

Shell & utilities

  • tmux, direnv, jq, htop, and other common CLI tools
  • Per-user tmux, git, and bashrc configuration, deployed automatically

Sessions survive disconnecting

systemd linger is enabled for the VM's user, so a detached tmux session — and anything running inside it, including a Claude Code session — keeps running after you disconnect.