mrc-monitor
由 wysh3 提供
DevOps & Cloud简介
Real-time token monitoring for MRC canteen order system.
描述
该技能的功能
Monitors Firebase Firestore for MRC canteen order token status and sends notifications when orders are ready for pickup. Handles multiple tokens simultaneously, polls every 15 seconds, and exits automatically once all tokens are notified.
Eliminates manual status checking by polling Firestore in the background and pushing notifications directly to Telegram or Discord when each order is ready.
何时使用
- Tracking multiple canteen order tokens at once
- Getting notified when a food order is ready for pickup
- Monitoring orders without waiting at the counter
- Running order checks in the background while doing other work
- Watching several tokens from a single command
示例工作流
User asks: mrc 73 97 42
- 1
Extract token numbers 73, 97, and 42 from the message
- 2
Start monitor.py as a background process with the platform and channel ID
- 3
Confirm to the user that monitoring has started
- 4
Poll Firebase Firestore every 15 seconds for each token's status
- 5
Send a notification and remove each token from the watch list when its status becomes 'Ready'
User receives individual notifications per token as orders become ready; monitor exits after all tokens are notified
安装
clawhub install wysh3/mrc-monitor运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。