Monitor dispatches

From the-agency-ai/the-agency · View interactive version

Monitor dispatches is an AI agent skill from the GitHub repository the-agency-ai/the-agency. Event-driven dispatch monitoring via Monitor tool — replaces /loop polling

How to use this skill

Skill file

Monitor Dispatches

Set up event-driven dispatch monitoring using Claude Code's Monitor tool. Replaces the /loop polling pattern with real-time, token-efficient background monitoring.

When to use

Instructions

Start monitoring

Use the Monitor tool to run the dispatch-monitor script in the background:

Monitor dispatches for me. Run ./agency/tools/dispatch-monitor --include-collab in the background. When output appears, read and respond to the dispatches.

The script:

When output arrives

  1. Parse the dispatch list from the Monitor output
  2. Read each unread dispatch with ./agency/tools/dispatch read <id>
  3. Respond appropriately
  4. Resolve with ./agency/tools/dispatch resolve <id> if no further action needed

Why this replaces /loop

| Aspect | /loop polling | Monitor |

|--------|--------------|---------|

| Token cost | ~2,000 per check | ~10 per event |

| Latency | 5 minutes | 10 seconds |

| Blocking | Yes | No |

| Daily cost | ~82,000 tokens | ~2,000 tokens |

Stop monitoring

Ask Claude to stop the monitor, or it stops automatically when the session ends.

OFFENDERS WILL BE FED TO THE — CUTE — ATTACK KITTENS!

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.