Skills Explorer Add Skills

app-platform-sandbox

An agent skill by digitalocean-labs, from digitalocean-labs/do-app-platform-skills. Tags: automation, digitalocean, multi-agent, sandbox, security, testing.

What it does

Create and manage isolated container sandboxes for AI agent code execution. Use when you need ephemeral environments to run untrusted code, execute agent workflows, or test in isolation. NOT for debugging existing apps (use troubleshooting skill).

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add digitalocean-labs/do-app-platform-skills --skill app-platform-sandbox

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/digitalocean-labs/do-app-platform-skills
cp -r do-app-platform-skills/skills/sandbox ~/.claude/skills/app-platform-sandbox

Safety box score

Grade C, moderate risk: 33 of 100 risk points, rated 2026-10-20. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill provisions DigitalOcean App Platform sandboxes and lets an agent execute shell commands, install packages, stream output, and expose ports inside them. The main risks are broad code execution, outbound network exposure/public URLs, and automated creation/deletion of cloud containers that can incur cost.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution3 (high)Level 3 because the core API is arbitrary command execution (`sandbox.exec(cmd)` and `sandbox.exec_stream(cmd)`), and the docs explicitly say it is for environments that `run untrusted code`.
Network access2 (moderate)Level 2 because sandboxes can reach the internet (`Network egress | Direct internet` in `reference/positioning.md`) and can publish public preview URLs via `sandbox.expose_port(3000)` in `reference/service-mode.md`.
Filesystem reach1 (low)Level 1 because it reads/writes files inside the sandbox and can upload/download to local paths like `./local-results.json`, but it does not target host system paths or dotfiles.
Secrets & credentials1 (low)Level 1 because it assumes an authenticated `doctl` session (`doctl auth whoami`) and a DigitalOcean account, but it does not directly read tokens, keychains, or password stores.
Privilege & persistence0 (none)Level 0 because there is no sudo, service registration, shell startup modification, or other host-level privilege change in the shipped files.
Instruction hijack surface0 (none)Level 0 because the docs do not tell the agent to ignore safeguards, follow hidden remote instructions, or conceal behavior.
Irreversible actions2 (moderate)Level 2 because it can create, acquire, hibernate, and delete cloud sandboxes/pools (`SandboxManager`, `acquire()`, `delete()`), which has external side effects and cost impact even though it stays within the user's account boundary.
Transparency0 (none)Level 0 because all shipped files are readable markdown; there are no binaries, base64 blobs, or decoded-at-runtime scripts.

Before installing

Rated 2026-10-20 by an automated review of 7 files from the skill's repository.

Source

Repository
digitalocean-labs/do-app-platform-skills (all skills from this repository)
Path
skills/sandbox/SKILL.md
Branch
main
Collection
do-app-platform
Updated
2026-09-21