wasm-agent
它能做什么
这项技能引导智能体创建和管理基于 WebAssembly 的智能体,它们在隔离的沙盒中运行。适合想在不冒风险的情况下尝试代码或智能体设置的人。
适用场景
- ✓当你需要安全地运行不受信任的代码的时候。
- ✓当你想在用于真实工作之前测试智能体设置的时候。
- ✓当你想把智能体打包,以便分享并在别处运行的时候。
技能链接
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-agent/skills/wasm-agent/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请创建一个沙盒智能体,让它访问一个测试文件,并向它发送提示,要求总结该文件。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会创建沙盒智能体,授予其所选工具,发送提示,在沙盒内读写文件,并可以导出或停止它。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
- Create agent — call
mcp__plugin_ruflo-core_ruflo__wasm_agent_createwith agent configuration - Send prompt — call
mcp__plugin_ruflo-core_ruflo__wasm_agent_promptto interact with the agent - Use tools — call
mcp__plugin_ruflo-core_ruflo__wasm_agent_toolto give the agent access to specific tools - Manage files — call
mcp__plugin_ruflo-core_ruflo__wasm_agent_filesto read/write files in the sandbox - Export — call
mcp__plugin_ruflo-core_ruflo__wasm_agent_exportto package the agent for sharing - List agents — call
mcp__plugin_ruflo-core_ruflo__wasm_agent_listto see all running WASM agents - Terminate — call
mcp__plugin_ruflo-core_ruflo__wasm_agent_terminateto 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
常见问题
沙盒能访问我的文件吗?
这项技能说明,智能体无法访问主机的文件系统,因此只会使用沙盒内的文件。
我可以分享这个智能体吗?
可以。这项技能包括一个导出步骤,可以把智能体打包以便分享。
它需要联网吗?
这项技能描述的是本地运行,因此可以离线工作。
详情
热度
- GitHub 星标
- 81k
- 排名
- #1559
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。