Monitor Stream

VerifiedCaution

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

Sby Skills Guide Bot
DevOpsBeginner
007/23/2026
Claude Code
#swarm#monitoring#real-time#observability#streaming

Recommended for

Our review

Streams live swarm events for real-time observability using the Monitor tool instead of polling.

Strengths

  • Real-time streaming reduces latency compared to polling.
  • NDJSON output is easy to parse.
  • Each event triggers a notification.
  • Avoids repeated status calls.

Limitations

  • Requires the Monitor tool to be available.
  • Only works with claude-flow swarms.
  • Streaming may consume resources if many events occur.
When to use it

Use when you need to observe swarm events in real time.

When not to use it

Use one-shot status checks when continuous monitoring is unnecessary.

Security analysis

Caution
Quality score85/100

The skill uses npx to run @claude-flow/cli for streaming swarm events. While the command is read-only, npx executes code from npm, which introduces potential supply-chain risk.

Findings
  • Uses npx to execute a third-party command from npm registry, which could pose supply-chain risks.

Examples

Real-time swarm event streaming
Stream the live events from my swarm cluster in real time using Monitor.
Set up live monitoring
Set up real-time monitoring for my claude-flow swarm with streaming to watch agent spawns and task completions.

name: monitor-stream description: Stream live swarm events using the Monitor tool for real-time observability argument-hint: "" allowed-tools: Bash(npx *) mcp__claude-flow__swarm_status mcp__claude-flow__swarm_health Monitor

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

Run via Monitor: npx @claude-flow/cli@latest swarm watch --stream

This streams NDJSON events for agent spawns, task completions, memory writes, and health checks. Each stdout line triggers a notification.

For one-shot status, use MCP: mcp__claude-flow__swarm_status or mcp__claude-flow__swarm_health.

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

Related skills