Subscribe event

From stevehuang0115/crewly · View interactive version

Subscribe event is an AI agent skill from the GitHub repository stevehuang0115/crewly. Subscribe to agent lifecycle events (idle, busy, active, inactive, status_changed).

How to use this skill

Skill file

Subscribe to Event

Subscribe to agent lifecycle events. Matched events arrive as [EVENT:subId:eventType] in your terminal.

Usage

bash config/skills/orchestrator/subscribe-event/execute.sh '{"eventType":"agent:idle","filter":{"sessionName":"agent-joe"},"oneShot":true}'

Parameters

| Parameter | Required | Description |

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

| eventType | Yes | Event type: agent:idle, agent:busy, agent:active, agent:inactive, agent:status_changed |

| filter | No | Filter object, e.g. {"sessionName":"..."} |

| oneShot | No | If true, auto-unsubscribe after first match |

Output

JSON with subscription ID for later management.

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.