{"id":"ad9f3ca9-e878-4b4c-8c73-d9b48b6339a3","shortId":"hsPsjL","kind":"skill","title":"Run untrusted AI-generated code inside secure E2B sandboxes","tagline":"Create disposable E2B cloud sandboxes where agents can execute generated code, install dependencies, collect outputs, and discard state safely.","description":"# Run untrusted AI-generated code inside secure E2B sandboxes\n\nCreate disposable E2B cloud sandboxes where agents can execute generated code, install dependencies, collect outputs, and discard state safely.\n\n## Prerequisites\n\nE2B account/API key; Python or JavaScript SDK; optional e2b-code-interpreter package\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- npm i e2b\n- pip install e2b\n- npm i @e2b/code-interpreter # JavaScript/TypeScript\n- pip install e2b-code-interpreter # Python\n\nRequirements and caveats from upstream:\n- <img alt=\"Last 1 month downloads for the Python SDK\" loading=\"lazy\" decoding=\"async\" style=\"color:transparent;width:170px;height:18px\" src=\"https://static.pepy.tech/personalized-badge/e2b?period=monthly&units=INTERNAT...\n- Python\n\nBasic usage or getting-started notes:\n- [E2B](https://www.e2b.dev/) is an open-source infrastructure that allows you to run AI-generated code in secure isolated sandboxes in the cloud. To start and control sandboxes, use our [JavaScript SDK](https://www.npm...\n- ## Run your first Sandbox\n- ### 3. Start a sandbox and run commands\n\n- Source: https://github.com/e2b-dev/E2B\n- Extracted from upstream docs: https://raw.githubusercontent.com/e2b-dev/E2B/HEAD/README.md\n\n## Documentation\n\n- https://e2b.dev/docs\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes/)","tags":["run","untrusted","generated","code","inside","secure","e2b","sandboxes","skills","agentskillexchange","agent-skills","ai-agents"],"capabilities":["skill","source-agentskillexchange","skill-run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,445 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:12:15.272Z","embedding":null,"createdAt":"2026-05-18T13:19:04.073Z","updatedAt":"2026-05-18T19:12:15.272Z","lastSeenAt":"2026-05-18T19:12:15.272Z","tsv":"'/)':143 '/docs':201 '/e2b-dev/e2b':190 '/e2b-dev/e2b/head/readme.md':197 '/personalized-badge/e2b?period=monthly&units=internat...':131 '/skills/run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes/)':208 '1':110 '170px':125 '18px':127 '3':180 'account/api':61 'agent':17,46,203 'agentskillexchange.com':207 'agentskillexchange.com/skills/run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes/)':206 'ai':4,33,156 'ai-gener':3,32,155 'allow':151 'alt':108 'async':120 'basic':133 'caveat':104 'cloud':14,43,165 'code':6,21,35,50,70,99,158 'collect':24,53 'color':122 'command':186 'control':169 'creat':11,40 'decod':119 'depend':23,52 'discard':27,56 'dispos':12,41 'doc':194 'document':198 'download':112 'e2b':9,13,38,42,60,69,87,90,98,140 'e2b-code-interpreter':68,97 'e2b.dev':200 'e2b.dev/docs':199 'e2b/code-interpreter':93 'environ':84 'exchang':205 'execut':19,48 'extract':191 'first':178 'generat':5,20,34,49,157 'get':137 'getting-start':136 'github.com':189 'github.com/e2b-dev/e2b':188 'height':126 'img':107 'infrastructur':149 'insid':7,36 'instal':22,51,73,77,89,96 'interpret':71,100 'isol':161 'javascript':65,173 'javascript/typescript':94 'key':62 'last':109 'lazi':118 'load':117 'match':82 'month':111 'note':139 'npm':85,91 'open':147 'open-sourc':146 'option':67 'output':25,54 'packag':72 'path':80 'pip':88,95 'prerequisit':59 'python':63,101,115,132 'raw.githubusercontent.com':196 'raw.githubusercontent.com/e2b-dev/e2b/head/readme.md':195 'requir':102 'run':1,30,154,176,185 'safe':29,58 'sandbox':10,15,39,44,162,170,179,183 'sdk':66,116,174 'secur':8,37,160 'setup':79 'skill':204 'skill-run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes' 'sourc':148,187,202 'source-agentskillexchange' 'src':128 'start':138,167,181 'state':28,57 'static.pepy.tech':130 'static.pepy.tech/personalized-badge/e2b?period=monthly&units=internat...':129 'style':121 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'transpar':123 'untrust':2,31 'upstream':76,106,193 'usag':134 'use':74,171 'width':124 'www.e2b.dev':142 'www.e2b.dev/)':141 'www.npm':175","prices":[{"id":"9284d986-81b6-4256-891d-e7282a64b8ff","listingId":"ad9f3ca9-e878-4b4c-8c73-d9b48b6339a3","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:19:04.073Z"}],"sources":[{"listingId":"ad9f3ca9-e878-4b4c-8c73-d9b48b6339a3","source":"github","sourceId":"agentskillexchange/skills/run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes","isPrimary":false,"firstSeenAt":"2026-05-18T13:19:04.073Z","lastSeenAt":"2026-05-18T19:12:15.272Z"}],"details":{"listingId":"ad9f3ca9-e878-4b4c-8c73-d9b48b6339a3","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"e66e503ea927a92bddb8396a890b41c736163855","skill_md_path":"skills/run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Run untrusted AI-generated code inside secure E2B sandboxes","description":"Create disposable E2B cloud sandboxes where agents can execute generated code, install dependencies, collect outputs, and discard state safely."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/run-untrusted-ai-generated-code-inside-secure-e2b-sandboxes"},"updatedAt":"2026-05-18T19:12:15.272Z"}}