←Leaderboard/Developer Tooling/agent-sandbox-skill
Last commit on November 29, 2025·Created on November 22, 2025

disler/agent-sandbox-skill

“Run code in isolated E2B sandboxes.”
Combined rank
#636
across all skills
In Developer Tooling
#12
category rank
Stars
393
+0.5% in last 7d
Forks
98
0.0% in last 7d
Watchers
3
0.0% in last 7d
Traction scoreGitHub stars can be faked, so popularity alone can be misleading. Traction Score looks for broader signs of recent attention, adoption, and active maintenance.
TL;DR

This skill uses the E2B sandbox CLI to let an AI agent create and manage isolated Linux environments for running code, testing packages, executing commands, and working with binary files. It is built for developers who need a safe, disposable workspace for experimental or untrusted code. The sandbox supports file uploads and downloads, browser automation for UI validation, and multi-agent setups where each agent tracks its own sandbox independently.

WHO IT'S FOR
AI Agent Engineers
run isolated code in AI agent workflows
Backend Developers
test packages and run commands in sandboxes
QA Engineers
run browser tests in isolated environments
DevOps Engineers
manage sandbox infrastructure for development teams
Repository contents

1 skill file

Compatible AgentsThe repository documents support for these agents. The skills may also work with other agents that can load SKILL.md files, but they may need some setup or small changes.

Use this skill

Follow the documented setup, then try a first task.

I’m using

Set up Agent Sandboxes from the repository

Installs: Repository-local Agent Sandboxes skill and bundled E2B sandbox CLI. · Claude Code, Gemini CLI, Codex CLI

Before you start
  • Python >= 3.12
  • uv package manager installed for the documented CLI commands
  • E2B account and API key
  • An installed agentic coding tool: Claude Code, Gemini CLI, or Codex CLI

Run from: Cloned repository root; use .claude/skills/agent-sandboxes/sandbox_cli/ for CLI dependency installation and CLI commands.

  1. Clone the disler/agent-sandbox-skill repository if needed, and open its project root.

  2. In a terminal at the project root, copy the environment template.

    cp .env.sample .env
  3. Edit the project-root .env file to set E2B_API_KEY to your own E2B API key, replacing the sample value sbx_.... Obtain the key from https://e2b.dev/dashboard/keys.

  4. Change the terminal working directory to .claude/skills/agent-sandboxes/sandbox_cli/, then install dependencies and display CLI help.

    # Install dependencies
    uv sync
    
    # Run the CLI
    uv run sbx --help
  5. Open your agentic coding tool in the repository and start prompting it to use Agent Sandboxes.

Give it something to do.

Suggested first task

Run a small Python example in isolation

Uses Agent Sandboxes

  • Completed repository and sandbox CLI setup
  • A valid E2B_API_KEY in the project-root .env file
Use the Agent Sandboxes skill to run print(sum([1, 2, 3])) in an isolated E2B sandbox. Validate the API key first, keep the script in the sandbox, use the skill's documented timeout, and remember the sandbox ID. Report the output and sandbox ID.