[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EEWA1RG0AQ5BTM46XZKPRP":3,"skill-same:01M6EEWA1RG0AQ5BTM46XZKPRP":133},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M6EEWA1RG0AQ5BTM46XZKPRP","e2b-sandbox",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fe2b-sandbox\u002FSKILL.md",[],[18,19],"sandbox","e2b sandbox","2026-11-10 10:12:30",false,"# E2B Sandbox\n\n## Overview\n\nE2B provides cloud sandboxes for running AI-generated code safely. Each sandbox is an isolated microVM — the AI agent can execute code, install packages, read\u002Fwrite files, and run processes without any risk to your infrastructure. Spins up in ~150ms, supports any language, and shuts down automatically. The building block for code interpreters, AI coding agents, and data analysis tools.\n\n## When to Use\n\n- AI agent needs to execute code (Python, JS, bash, etc.)\n- Running untrusted or AI-generated code safely\n- Building a code interpreter or data analysis assistant\n- Need isolated environments for each user\u002Fsession\n- AI agent that needs filesystem + process control\n\n## Instructions\n\n### Setup\n\n```bash\nnpm install @e2b\u002Fcode-interpreter\n# Or for full sandbox control:\nnpm install e2b\n```\n\n### Code Interpreter (Quickstart)\n\n```typescript\n\u002F\u002F interpreter.ts — Run code in a sandbox with results\nimport { CodeInterpreter } from \"@e2b\u002Fcode-interpreter\";\n\nconst sandbox = await CodeInterpreter.create({\n  apiKey: process.env.E2B_API_KEY,\n});\n\n\u002F\u002F Execute Python code\nconst result = await sandbox.notebook.execCell(`\nimport pandas as pd\nimport numpy as np\n\n# Generate sample data\ndata = pd.DataFrame({\n    'date': pd.date_range('2026-01-01', periods=30),\n    'revenue': np.random.uniform(1000, 5000, 30),\n    'users': np.random.randint(100, 1000, 30),\n})\n\nprint(f\"Total revenue: ${data['revenue'].sum():,.2f}\")\nprint(f\"Average users: {data['users'].mean():.0f}\")\ndata.describe()\n`);\n\nconsole.log(result.text);    \u002F\u002F Printed output\nconsole.log(result.results); \u002F\u002F Rich results (DataFrames, plots)\n\n\u002F\u002F Execute JavaScript\nconst jsResult = await sandbox.notebook.execCell(`\nconst response = await fetch('https:\u002F\u002Fapi.github.com\u002Frepos\u002Fe2b-dev\u002Fe2b');\nconst data = await response.json();\nconsole.log(\\`Stars: \\${data.stargazers_count}\\`);\n`, { language: \"javascript\" });\n\nawait sandbox.close();\n```\n\n### Full Sandbox Control\n\n```typescript\n\u002F\u002F sandbox.ts — Full filesystem + process control\nimport { Sandbox } from \"e2b\";\n\nconst sandbox = await Sandbox.create({\n  template: \"base\",  \u002F\u002F or custom template\n  apiKey: process.env.E2B_API_KEY,\n});\n\n\u002F\u002F Write files\nawait sandbox.filesystem.write(\"\u002Fhome\u002Fuser\u002Fapp.py\", `\nimport json\ndata = {\"status\": \"ok\", \"message\": \"Hello from sandbox!\"}\nprint(json.dumps(data))\n`);\n\n\u002F\u002F Run processes\nconst proc = await sandbox.process.start({\n  cmd: \"python3 \u002Fhome\u002Fuser\u002Fapp.py\",\n});\nawait proc.wait();\nconsole.log(proc.output.stdout); \u002F\u002F {\"status\": \"ok\", ...}\n\n\u002F\u002F Install packages\nawait sandbox.process.start({ cmd: \"pip install requests beautifulsoup4\" }).wait();\n\n\u002F\u002F Read files\nconst content = await sandbox.filesystem.read(\"\u002Fhome\u002Fuser\u002Foutput.txt\");\n\n\u002F\u002F List directory\nconst files = await sandbox.filesystem.list(\"\u002Fhome\u002Fuser\u002F\");\n\nawait sandbox.close();\n```\n\n### Custom Sandbox Templates\n\n```dockerfile\n# e2b.Dockerfile — Custom sandbox with pre-installed tools\nFROM e2b\u002Fbase:latest\n\nRUN pip install pandas numpy matplotlib scikit-learn\nRUN npm install -g typescript tsx\n\nCOPY .\u002Fscripts \u002Fhome\u002Fuser\u002Fscripts\n```\n\n```bash\n# Build and deploy custom template\ne2b template build -n my-data-sandbox\n# Now use: Sandbox.create({ template: \"my-data-sandbox\" })\n```\n\n### Integration with LLM Agents\n\n```typescript\n\u002F\u002F agent.ts — AI agent with code execution capability\nimport OpenAI from \"openai\";\nimport { CodeInterpreter } from \"@e2b\u002Fcode-interpreter\";\n\nconst openai = new OpenAI();\nconst sandbox = await CodeInterpreter.create();\n\nconst messages = [\n  {\n    role: \"system\" as const,\n    content: \"You are a data analyst. Write Python code to answer questions. Use pandas for data manipulation.\",\n  },\n  {\n    role: \"user\" as const,\n    content: \"Analyze this CSV and find the top 5 customers by revenue.\",\n  },\n];\n\n\u002F\u002F Upload data to sandbox\nawait sandbox.filesystem.write(\"\u002Fhome\u002Fuser\u002Fdata.csv\", csvData);\n\n\u002F\u002F Get code from LLM\nconst response = await openai.chat.completions.create({\n  model: \"gpt-4o\",\n  messages,\n});\n\nconst code = extractCodeFromResponse(response.choices[0].message.content!);\n\n\u002F\u002F Execute in sandbox safely\nconst result = await sandbox.notebook.execCell(code);\nconsole.log(result.text);\n\nawait sandbox.close();\n```\n\n## Examples\n\n### Example 1: Build a code interpreter chatbot\n\n**User prompt:** \"Build a chatbot where users can ask data questions and it runs Python to answer.\"\n\nThe agent will create an E2B sandbox per conversation, pass user questions to an LLM for code generation, execute the code safely, and return results with visualizations.\n\n### Example 2: AI coding agent with file access\n\n**User prompt:** \"My AI agent needs to write, test, and fix code autonomously.\"\n\nThe agent will set up E2B sandboxes where the AI can create files, run tests, read error output, and iterate until tests pass — all safely isolated.\n\n## Guidelines\n\n- **One sandbox per session** — isolate users\u002Fconversations from each other\n- **150ms cold start** — fast enough for interactive use\n- **Auto-shutdown** — sandboxes close after timeout (default 5 min)\n- **Custom templates for speed** — pre-install packages to avoid install time\n- **File upload\u002Fdownload** — `filesystem.write()` and `filesystem.read()`\n- **Streaming output** — `process.start()` with `onStdout` callback\n- **24h max lifetime** — sandboxes are ephemeral, not persistent servers\n- **Network access** — sandboxes can fetch URLs (useful for API calls)\n- **No GPU** — CPU-only sandboxes (use modal.com for GPU workloads)\n- **Free tier: 100 sandbox hours\u002Fmonth** — enough for development\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Fe2b-sandbox",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill e2b-sandbox",{"tool":39,"command":40},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill e2b-sandbox",{"tool":42,"command":43},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill e2b-sandbox","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fe2b-sandbox\u002FSKILL.md",true,[47,53,59,65,69,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"customize.toml","OTHER","其他",1615,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fcustomize.toml",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"data\u002Fdomain-complexity.csv","ASSET","资产文件",7324,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fdata\u002Fdomain-complexity.csv",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"data\u002Fprd-purpose.md","REFERENCE","参考文档",7246,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fdata\u002Fprd-purpose.md",{"path":66,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":67,"sourceHtmlUrl":68},"data\u002Fproject-types.csv",3144,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fdata\u002Fproject-types.csv",{"path":70,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":71,"sourceHtmlUrl":72},"steps-c\u002Fstep-01-init.md",9683,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-01-init.md",{"path":74,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":75,"sourceHtmlUrl":76},"steps-c\u002Fstep-01b-continue.md",5345,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-01b-continue.md",{"path":78,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":79,"sourceHtmlUrl":80},"steps-c\u002Fstep-02-discovery.md",8441,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-02-discovery.md",{"path":82,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":83,"sourceHtmlUrl":84},"steps-c\u002Fstep-02b-vision.md",7015,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-02b-vision.md",{"path":86,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":87,"sourceHtmlUrl":88},"steps-c\u002Fstep-02c-executive-summary.md",7504,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-02c-executive-summary.md",{"path":90,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":91,"sourceHtmlUrl":92},"steps-c\u002Fstep-03-success.md",9453,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-03-success.md",{"path":94,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":95,"sourceHtmlUrl":96},"steps-c\u002Fstep-04-journeys.md",9305,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-04-journeys.md",{"path":98,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":99,"sourceHtmlUrl":100},"steps-c\u002Fstep-05-domain.md",7198,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-05-domain.md",{"path":102,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":103,"sourceHtmlUrl":104},"steps-c\u002Fstep-06-innovation.md",8949,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-06-innovation.md",{"path":106,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":107,"sourceHtmlUrl":108},"steps-c\u002Fstep-07-project-type.md",9094,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-07-project-type.md",{"path":110,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":111,"sourceHtmlUrl":112},"steps-c\u002Fstep-08-scoping.md",11630,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-08-scoping.md",{"path":114,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":115,"sourceHtmlUrl":116},"steps-c\u002Fstep-09-functional.md",9437,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-09-functional.md",{"path":118,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":119,"sourceHtmlUrl":120},"steps-c\u002Fstep-10-nonfunctional.md",9244,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-10-nonfunctional.md",{"path":122,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":123,"sourceHtmlUrl":124},"steps-c\u002Fstep-11-polish.md",9842,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-11-polish.md",{"path":126,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":127,"sourceHtmlUrl":128},"steps-c\u002Fstep-12-complete.md",5396,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Fsteps-c\u002Fstep-12-complete.md",{"path":130,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":131,"sourceHtmlUrl":132},"templates\u002Fprd-template.md",164,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.pi\u002Fskills\u002Fgds-create-prd\u002Ftemplates\u002Fprd-template.md",[134,143,152,161,167,173],{"skillNo":135,"name":136,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":20},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[140,141,142],"model","model hierarchy","model hierarchy skill",{"skillNo":144,"name":145,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":20},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[149,150,151],"MCP","zoom","zoom mcp",{"skillNo":153,"name":154,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":20},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[158,159,160,150],"sdk","zoom apps sdk","apps",{"skillNo":162,"name":163,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":20},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[163],{"skillNo":168,"name":169,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":20},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[169],{"skillNo":174,"name":175,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":20},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[175]]