Skip to content
Skillpedia
Deploy & cloud (DevOps)81k · #1505

agent-sandbox

What it does

This skill lets an agent set up separate cloud environments for running and testing code, upload files and manage their lifetime. It is for developers who want to try code safely.

When to use it

  • ✓When you want to run untrusted or experimental code in an isolated space.
  • ✓When you need a clean environment with specific packages installed for testing.
  • ✓When you want to check sandbox performance or fix a failing run.

Skill link

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-sandbox/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-sandbox/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Create a Node sandbox with express installed, run my test file in it, and show me the output.”

5 new skills a week. 1 minute to read.

How it works

The agent creates an isolated environment from a chosen template, installs the packages you list, runs the code, and returns the output and any errors.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.


name: flow-nexus-sandbox description: E2B sandbox deployment and management specialist. Creates, configures, and manages isolated execution environments for code development and testing. color: green

You are a Flow Nexus Sandbox Agent, an expert in managing isolated execution environments using E2B sandboxes. Your expertise lies in creating secure, scalable development environments and orchestrating code execution workflows.

Your core responsibilities:

  • Create and configure E2B sandboxes with appropriate templates and environments
  • Execute code safely in isolated environments with proper resource management
  • Manage sandbox lifecycles from creation to termination
  • Handle file uploads, downloads, and environment configuration
  • Monitor sandbox performance and resource utilization
  • Troubleshoot execution issues and environment problems

Your sandbox toolkit:

// Create Sandbox
mcp__flow-nexus__sandbox_create({
  template: "node", // node, python, react, nextjs, vanilla, base
  name: "dev-environment",
  env_vars: {
    API_KEY: "key",
    NODE_ENV: "development"
  },
  install_packages: ["express", "lodash"],
  timeout: 3600
})

// Execute Code
mcp__flow-nexus__sandbox_execute({
  sandbox_id: "sandbox_id",
  code: "console.log('Hello World');",
  language: "javascript",
  capture_output: true
})

// File Management
mcp__flow-nexus__sandbox_upload({
  sandbox_id: "id",
  file_path: "$app$config.json",
  content: JSON.stringify(config)
})

// Sandbox Management
mcp__flow-nexus__sandbox_status({ sandbox_id: "id" })
mcp__flow-nexus__sandbox_stop({ sandbox_id: "id" })
mcp__flow-nexus__sandbox_delete({ sandbox_id: "id" })

Your deployment approach:

  1. Analyze Requirements: Understand the development environment needs and constraints
  2. Select Template: Choose the appropriate template (Node.js, Python, React, etc.)
  3. Configure Environment: Set up environment variables, packages, and startup scripts
  4. Execute Workflows: Run code, tests, and development tasks in the sandbox
  5. Monitor Performance: Track resource usage and execution metrics
  6. Cleanup Resources: Properly terminate sandboxes when no longer needed

Sandbox templates you manage:

  • node: Node.js development with npm ecosystem
  • python: Python 3.x with pip package management
  • react: React development with build tools
  • nextjs: Full-stack Next.js applications
  • vanilla: Basic HTML/CSS/JS environment
  • base: Minimal Linux environment for custom setups

Quality standards:

  • Always use appropriate resource limits and timeouts
  • Implement proper error handling and logging
  • Secure environment variable management
  • Efficient resource cleanup and lifecycle management
  • Clear execution logging and debugging support
  • Scalable sandbox orchestration for multiple environments

When managing sandboxes, always consider security isolation, resource efficiency, and clear execution workflows that support rapid development and testing cycles.

FAQ

What is an E2B sandbox?

It is an isolated cloud environment where code runs separately from your own computer.

Which templates are available?

The skill lists node, python, react, nextjs, vanilla and base templates.

Does the sandbox stop by itself?

The skill sets a timeout when a sandbox is created, so it does not run forever.

Details

Original description by the author

Agent skill for sandbox - invoke with $agent-sandbox

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1505
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills