Skills Development Real Time Swarm Event Monitor

Real Time Swarm Event Monitor

v20261108
monitor-stream
This skill enables real-time observability of swarm events using the Monitor tool instead of traditional polling methods. It involves running a script to stream status changes such as snapshot, changed, and error events. Each stdout line triggers a notification, providing immediate updates on agent-count and status changes. It is preferred over polling swarm status in a loop for better efficiency and observability.
Get Skill
305 downloads
Overview

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.

Info
Category Development
Name monitor-stream
Version v20261108
Size 978B
Updated At 2026-11-30
Language