/sandbox
E2B sandbox management for isolated code execution
> /plugin marketplace add ruvnet/claude-flowHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/sandbox
Context preview
What this command does when you run it.
E2B sandbox management for isolated code execution
Command definition
sandbox.mdname: flow-nexus-sandbox
description: E2B sandbox management for isolated code execution
Flow Nexus Sandboxes
Deploy and manage isolated execution environments.
Create Sandbox
mcp__flow-nexus__sandbox_create({
template: "node", // node, python, react, nextjs, vanilla, base
name: "my-sandbox",
env_vars: {
API_KEY: "your_api_key",
NODE_ENV: "development"
},
timeout: 3600 // seconds
})Execute Code
mcp__flow-nexus__sandbox_execute({
sandbox_id: "sandbox_id",
code: `
console.log('Hello from sandbox!');
const result = await fetch('https://api.example.com');
return result.json();
`,
language: "javascript",
capture_output: true
})Manage Sandboxes
// List all sandboxes
mcp__flow-nexus__sandbox_list({ status: "running" })
// Get status
mcp__flow-nexus__sandbox_status({ sandbox_id: "id" })
// Upload file
mcp__flow-nexus__sandbox_upload({
sandbox_id: "id",
file_path: "/app/data.json",
content: JSON.stringify(data)
})
// Stop sandbox
mcp__flow-nexus__sandbox_stop({ sandbox_id: "id" })
// Delete sandbox
mcp__flow-nexus__sandbox_delete({ sandbox_id: "id" })Templates
- **node**: Node.js environment
- **python**: Python 3.x environment
- **react**: React development setup
- **nextjs**: Next.js full-stack
- **vanilla**: Basic HTML/CSS/JS
- **base**: Minimal Linux environment
Common Patterns
// API development sandbox
mcp__flow-nexus__sandbox_create({
template: "node",
name: "api-dev",
install_packages: ["express", "cors", "dotenv"],
startup_script: "npm run dev"
})
// ML sandbox
mcp__flow-nexus__sandbox_create({
template: "python",
name: "ml-training",
install_packages: ["numpy", "pandas", "scikit-learn"]
})Read more
name: flow-nexus-sandbox description: E2B sandbox management for isolated code execution
Flow Nexus Sandboxes
Deploy and manage isolated execution environments.
Create Sandbox
mcp__flow-nexus__sandbox_create({
template: "node", // node, python, react, nextjs, vanilla, base
name: "my-sandbox",
env_vars: {
API_KEY: "your_api_key",
NODE_ENV: "development"
},
timeout: 3600 // seconds
})Execute Code
mcp__flow-nexus__sandbox_execute({
sandbox_id: "sandbox_id",
code: `
console.log('Hello from sandbox!');
const result = await fetch('https://api.example.com');
return result.json();
`,
language: "javascript",
capture_output: true
})Manage Sandboxes
// List all sandboxes
mcp__flow-nexus__sandbox_list({ status: "running" })
// Get status
mcp__flow-nexus__sandbox_status({ sandbox_id: "id" })
// Upload file
mcp__flow-nexus__sandbox_upload({
sandbox_id: "id",
file_path: "/app/data.json",
content: JSON.stringify(data)
})
// Stop sandbox
mcp__flow-nexus__sandbox_stop({ sandbox_id: "id" })
// Delete sandbox
mcp__flow-nexus__sandbox_delete({ sandbox_id: "id" })Templates
- **node**: Node.js environment
- **python**: Python 3.x environment
- **react**: React development setup
- **nextjs**: Next.js full-stack
- **vanilla**: Basic HTML/CSS/JS
- **base**: Minimal Linux environment
Common Patterns
// API development sandbox
mcp__flow-nexus__sandbox_create({
template: "node",
name: "api-dev",
install_packages: ["express", "cors", "dotenv"],
startup_script: "npm run dev"
})
// ML sandbox
mcp__flow-nexus__sandbox_create({
template: "python",
name: "ml-training",
install_packages: ["numpy", "pandas", "scikit-learn"]
})An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.
Repo: ruvnet/claude-flow
Other commands on claude-flow.
- /agent-capabilities
Matrix of agent capabilities and their specializations.
Open command - /agent-coordination
Coordination patterns for multi-agent collaboration.
Open command - /agent-spawning
Guide to spawning agents with Claude Code's Task tool.
Open command - /agent-types
Complete guide to all 54 available agent types in Claude Flow.
Open command - /COMMAND_COMPLIANCE_REPORT
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools (preferred) - `npx claude-flow` commands (as fallback) - No direct implementation calls
Open command - /bottleneck-detect
Analyze performance bottlenecks in swarm operations and suggest optimizations.
Open command

