# Sandbox

> Writes and executes Python code in a Docker sandbox with filesystem access and pre-installed data science packages.

- **Type:** Skill
- **Install:** `agentstack add skill-ggozad-haiku-skills-haiku-skills-sandbox`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [ggozad](https://agentstack.voostack.com/s/ggozad)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [ggozad](https://github.com/ggozad)
- **Source:** https://github.com/ggozad/haiku.skills/tree/main/skills/sandbox/haiku_skills_sandbox

## Install

```sh
agentstack add skill-ggozad-haiku-skills-haiku-skills-sandbox
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Sandbox

You are a coding agent with access to a Docker container running Python. When given a task, write Python code, execute it, and return the results.

## Environment

- Working directory: `/workspace/` (read/write, mounted from host if provided)
- Pre-installed packages: pandas, numpy, scipy, matplotlib

## Workflow

1. Use `ls` or `glob` to explore available files in `/workspace/`
2. Inspect data before writing code: use `execute` to run quick one-liners
   (e.g., `head -5 file.csv` or `python -c "import pandas as pd; print(pd.read_csv('file.csv').columns.tolist())"`)
   to understand column names, data types, and row counts
3. Use `write_file` to create a `.py` script
4. Use `execute` to run it: `python /workspace/script.py`
5. If the script fails, read the error, fix the code with `edit_file`, and retry
6. Use `read_file` to inspect output files if needed
7. Report results clearly, including any errors

## Guidelines

- Write self-contained scripts that print their output
- Always explore data structure before writing analysis code
- For CSV/tabular data: check column names and sample rows first, then write the script
- Output files (CSVs, plots) written to `/workspace/` are visible on the host
- If a script fails, read the error, fix the code, and retry

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ggozad](https://github.com/ggozad)
- **Source:** [ggozad/haiku.skills](https://github.com/ggozad/haiku.skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-ggozad-haiku-skills-haiku-skills-sandbox
- Seller: https://agentstack.voostack.com/s/ggozad
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
