# Sandbox provision discipline

> Sandbox provision discipline is an open-source agent skill for security. Gates a sandbox must pass before running PoCs, untrusted binaries or fuzzing. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/sandbox-provision-discipline
- **Repository:** https://github.com/mtarcure/claude-vibe-squad
- **GitHub stars:** 227
- **License:** MIT
- **Skill name:** sandbox-provision-discipline
- **Collection:** https://github.com/mtarcure/claude-vibe-squad
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill sets a preflight checklist an agent works through before it provisions or uses Docker, a VM, Kubernetes or a similar environment for exploit proofs of concept, untrusted binaries, fuzzing or other risky tests. It has the agent record the authorization and exact target scope, the isolation boundary, a deny-by-default network policy, credential and filesystem rules, resource limits, and a harmless containment check that must pass before any payload runs.

If any of those guarantees cannot be verified, the agent is told to stop before execution, report the missing guarantee for a human to decide, and avoid loosening isolation just to get a test to run. During execution it favors disposable, uniquely labeled resources, read-only host mounts unless a write is approved, and logging of the sandbox definition and tool versions without recording secret values.

The skill also covers cleanup and handoff. The agent states the cleanup and rollback plan up front, deletes resources only when the task explicitly allows it, and otherwise reports leftover processes, mounts, volumes, network rules, artifacts and secrets. It is a plain SKILL.md with no bundled scripts.

## When your agent uses it

> Verify authorization, isolation, egress, credentials, persistence, evidence, and cleanup gates before provisioning or using a sandbox for PoCs, untrusted binaries, fuzzing, or other risky tests.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/sandbox-provision-discipline)
- [License: MIT](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/sandbox-provision-discipline)

## Features

- **Preflight gate checklist:** Seven items to record, such as authorization, isolation boundary, network and credential policy, before execution starts.
- **Deny-by-default network policy:** Requires egress to be blocked unless each approved destination is listed explicitly.
- **Credential and filesystem rules:** Keeps production credentials out of the sandbox and limits mounts to required inputs with declared retention.
- **Containment verification:** Calls for a harmless test that confirms the sandbox cannot reach unapproved hosts, credentials or host paths.
- **Cleanup and residual reporting:** Defines rollback before execution and lists leftover processes, volumes, rules and artifacts afterward.

## Good for

- Check that a sandbox is isolated before running an exploit proof of concept
- Set up a safe environment for analyzing an untrusted binary
- Prepare a fuzzing run with resource limits and no production credentials
- Document sandbox settings and tool versions for a risky security test
- Plan cleanup and rollback before running a test that touches containers

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/sandbox-provision-discipline` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sandbox-provision-discipline &&
cp -R "$tmp/.agents/skills/sandbox-provision-discipline" ~/.claude/skills/sandbox-provision-discipline &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/sandbox-provision-discipline` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/sandbox-provision-discipline` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sandbox-provision-discipline &&
cp -R "$tmp/.agents/skills/sandbox-provision-discipline" ~/.agents/skills/sandbox-provision-discipline &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/sandbox-provision-discipline` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/sandbox-provision-discipline` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sandbox-provision-discipline &&
cp -R "$tmp/.agents/skills/sandbox-provision-discipline" ~/.cursor/skills/sandbox-provision-discipline &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/sandbox-provision-discipline` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/sandbox-provision-discipline
```

Or copy the folder to `~/.gemini/skills/sandbox-provision-discipline` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/sandbox-provision-discipline`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sandbox-provision-discipline &&
cp -R "$tmp/.agents/skills/sandbox-provision-discipline" ~/.copilot/skills/sandbox-provision-discipline &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/sandbox-provision-discipline` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git
```

Then copy `claude-vibe-squad/.agents/skills/sandbox-provision-discipline` into your agent's skills folder as `sandbox-provision-discipline`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Sandbox provision discipline apply?

It applies before provisioning or using Docker, a VM, Kubernetes or another environment for exploit PoCs, untrusted binaries, fuzzing, or tests that could reach systems beyond the authorized target.

### What happens if a preflight check cannot be verified?

The agent stops before payload execution and reports needs_human along with the missing guarantee, without weakening isolation to get the test to pass.

### Does the skill delete resources automatically?

No. Deletion or destructive cleanup happens only when the governing task explicitly authorizes it; otherwise resources are left stopped and identified for operator action.

### Does Sandbox provision discipline include scripts?

No. The folder contains only the SKILL.md file, so the workflow is guidance for the agent rather than bundled code.

### How do I install Sandbox provision discipline in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sandbox-provision-discipline to use it in all your projects, or to .claude/skills/sandbox-provision-discipline in one project.

### Does Sandbox provision discipline run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Sandbox provision discipline?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Sandbox provision discipline?

The closest alternatives to Sandbox provision discipline are Sandbox check, Agent security hardening, Agent action safety, Security audit and Systematic attacking.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Sandbox check](https://ai-powered.com/skills/sandbox-check): Sandbox check is an open-source agent skill for security.
- [Agent security hardening](https://ai-powered.com/skills/agent-security-hardening): Agent security hardening is an open-source agent skill for security.
- [Agent action safety](https://ai-powered.com/skills/agent-action-safety): Agent action safety is an open-source agent skill for security.
- [Security audit](https://ai-powered.com/skills/security-audit): Security audit is an open-source agent skill for security.
- [Systematic attacking](https://ai-powered.com/skills/systematic-attacking): Systematic attacking is an open-source agent skill for security.
- [Systematic bug hunting](https://ai-powered.com/skills/systematic-bug-hunting): Systematic bug hunting is an open-source agent skill for security.
- [Security](https://ai-powered.com/skills/security-jasgujral): Security is an open-source agent skill for security.
- [Guardrail tester](https://ai-powered.com/skills/guardrail-tester): Guardrail tester is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/sandbox-provision-discipline
