跳到正文
Skillpedia
智能体81k · #1559

wasm-agent

它能做什么

这项技能引导智能体创建和管理基于 WebAssembly 的智能体,它们在隔离的沙盒中运行。适合想在不冒风险的情况下尝试代码或智能体设置的人。

适用场景

  • ✓当你需要安全地运行不受信任的代码的时候。
  • ✓当你想在用于真实工作之前测试智能体设置的时候。
  • ✓当你想把智能体打包,以便分享并在别处运行的时候。

技能链接

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-agent/skills/wasm-agent/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-agent/skills/wasm-agent/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Create agent — call mcp__plugin_ruflo-core_ruflo__wasm_agent_create with agent configuration
  2. Send prompt — call mcp__plugin_ruflo-core_ruflo__wasm_agent_prompt to interact with the agent
  3. Use tools — call mcp__plugin_ruflo-core_ruflo__wasm_agent_tool to give the agent access to specific tools
  4. Manage files — call mcp__plugin_ruflo-core_ruflo__wasm_agent_files to read/write files in the sandbox
  5. Export — call mcp__plugin_ruflo-core_ruflo__wasm_agent_export to package the agent for sharing
  6. List agents — call mcp__plugin_ruflo-core_ruflo__wasm_agent_list to see all running WASM agents
  7. Terminate — call mcp__plugin_ruflo-core_ruflo__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
常见问题

沙盒能访问我的文件吗?

这项技能说明,智能体无法访问主机的文件系统,因此只会使用沙盒内的文件。

我可以分享这个智能体吗?

可以。这项技能包括一个导出步骤,可以把智能体打包以便分享。

它需要联网吗?

这项技能描述的是本地运行,因此可以离线工作。

详情

作者的原始描述

Create and manage sandboxed WASM agents for isolated code execution

repo: ruvnet/ruflo

热度

GitHub 星标
81k
排名
#1559
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能