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

model-guard

بواسطة sarielwang93

AI & LLMs
974التنزيلات وفق ما يذكره clawskills.sh
2النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Automatically monitors Anti-Gravity model quotas and switches the default model to the one with the highest.

الوصف

ما الذي تفعله هذه المهارة

Monitors Anti-Gravity model quotas and switches the default model to whichever has the highest remaining quota. Falls back to gemini-flash when all Anti-Gravity models drop below 20%. Can run manually or on a schedule via cron or heartbeat.

Automates model switching based on live quota data instead of requiring users to manually track limits and intervene.

متى تستخدمها

  • Avoiding quota exhaustion during long automated runs
  • Automatic model failover without manual intervention
  • Keeping overnight agent jobs running uninterrupted
  • Balancing usage across multiple Anti-Gravity models
  • Scheduled quota checks via cron

مثال على سير العمل

الإدخال

User runs: model-guard

الوكيل
  1. 1

    Queries remaining quota for each Anti-Gravity model

  2. 2

    Identifies the model with the highest remaining quota

  3. 3

    Checks if any model is above the 20% threshold

  4. 4

    Switches the default model to the highest-quota option, or falls back to gemini-flash if all are below threshold

الإخراج

Default model updated to the Anti-Gravity model with the most remaining quota, or gemini-flash if all are below the threshold

التثبيت

clawhub install sarielwang93/model-guard

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

الروابط