Back to Ruflo

WASM Agent

plugins/ruflo-wasm/skills/wasm-agent/SKILL.md

3.6.301.1 KB
Original Source

WASM Agent

Create sandboxed agents that run in WebAssembly for safe, isolated execution.

When to use

When you need to run untrusted code, experiment with agent configurations, or create portable agents that run anywhere WASM is supported.

Steps

  1. Create agent — call mcp__claude-flow__wasm_agent_create with agent configuration
  2. Send prompt — call mcp__claude-flow__wasm_agent_prompt to interact with the agent
  3. Use tools — call mcp__claude-flow__wasm_agent_tool to give the agent access to specific tools
  4. Manage files — call mcp__claude-flow__wasm_agent_files to read/write files in the sandbox
  5. Export — call mcp__claude-flow__wasm_agent_export to package the agent for sharing
  6. List agents — call mcp__claude-flow__wasm_agent_list to see all running WASM agents
  7. Terminate — call mcp__claude-flow__wasm_agent_terminate to stop an agent

Benefits

  • Full sandbox isolation — agents cannot access the host filesystem
  • Portable — export and run on any WASM runtime
  • Reproducible — same behavior across platforms
  • Safe — no risk of system damage from agent actions