تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

mrc-monitor

بواسطة wysh3

DevOps & Cloud
1.6kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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. 1

    Extract token numbers 73, 97, and 42 from the message

  2. 2

    Start monitor.py as a background process with the platform and channel ID

  3. 3

    Confirm to the user that monitoring has started

  4. 4

    Poll Firebase Firestore every 15 seconds for each token's status

  5. 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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط