Run untrusted AI-generated code inside secure E2B sandboxes
Create disposable E2B cloud sandboxes where agents can execute generated code, install dependencies, collect outputs, and discard state safely.
npx skills add agentskillexchange/skills --skill run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes
Use this skill when an agent needs to run generated Python, JavaScript, shell commands, or data-processing code without trusting the local machine. The operator creates an E2B sandbox, uploads inputs or installs required packages, runs code or commands through the SDK, captures stdout, files, artifacts, and errors, then stops the sandbox. Invoke it for code-interpreter workflows, agent validation, data analysis, CI-style checks, or generated-code experiments where isolation and reproducibility matter more than using a normal local shell. Scope boundary: this is not a generic SDK listing or cloud product card; the skill is the repeatable sandbox lifecycle for untrusted agent code execution and artifact retrieval.