跳到正文
Skillpedia
部署与云(DevOps)81k · #1698

monitor-stream

它能做什么

这项技能从正在运行的智能体集群中流式输出状态变化,使你无需手动检查即可了解进展。适用于进行多智能体工作、并希望获得实时更新的人。

适用场景

  • ✓当你想观察集群进展、又不想反复检查的时候。
  • ✓当智能体数量或状态变化需要你关注的时候。
  • ✓当你在长时间的多智能体任务中希望获得实时更新的时候。

技能链接

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-swarm/skills/monitor-stream/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请替我观察集群,只要它的状态或智能体数量发生变化就告诉我。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能运行一个小型监视脚本,按设定的间隔检查集群状态,有变化时打印一行。每一行都会产生一条通知,因此你能在变化发生时得到提醒。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Use the Monitor tool to stream swarm events in real time instead of polling:

Run via Monitor: node "${CLAUDE_PLUGIN_ROOT}/scripts/swarm-watch.mjs" (add --interval 5 for faster updates; minimum 2 s)

There is no swarm watch in the ruflo CLI, so this script polls swarm status --format json and prints one NDJSON line when it changes (swarm.snapshot, swarm.changed, swarm.error). It shows status and agent-count changes, not individual task or memory events. Each stdout line triggers a notification.

For one-shot status, use MCP: mcp__plugin_ruflo-core_ruflo__swarm_status or mcp__plugin_ruflo-core_ruflo__swarm_health.

Prefer Monitor over polling swarm status in a loop. See ADR-091 for rationale.

常见问题

它多久检查一次?

你可以设置间隔,最短为两秒。

它会显示每个任务事件吗?

不会。来源说明它只显示状态和智能体数量的变化,而不显示单个任务或记忆事件。

有没有一次性的状态选项?

有。状态和健康工具会给出单次快照,而不是持续流。

详情

作者的原始描述

Stream live swarm events using the Monitor tool for real-time observability

repo: ruvnet/ruflo

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能