kimi-usage-monitor
بواسطة xd4o
CLI Utilitiesموجز
Monitor Kimi K2.5 API usage and quota from the Kimi console.
الوصف
ما الذي تفعله هذه المهارة
Reads Kimi K2.5 quota data from the Kimi console — weekly usage percentage, rate limit status, and hours until reset. Designed for autonomous agents that need to self-regulate task intensity based on available quota.
Gives agents a scriptable, structured quota check so they can make autonomous go/no-go decisions without manual console inspection.
متى تستخدمها
- Check remaining quota before starting a long research session
- Decide whether to spawn subagents based on current capacity
- Schedule intensive operations around weekly quota resets
- Run a pre-flight validation before a multi-step coding task
- Log usage patterns over weeks to plan capacity needs
مثال على سير العمل
User asks: run an intensive multi-step research task
- 1
Run preflight_check.py with the 'intensive' flag
- 2
Parse exit code — 0 means quota cleared, 1 means blocked
- 3
If cleared, proceed and spawn subagents as needed
- 4
If blocked, surface remaining quota percentage and hours until reset to the user
Task proceeds or is deferred with quota status and reset ETA
المتطلبات
- Kimi account with active K2.5 API access
التثبيت
clawhub install xd4o/kimi-usage-monitorشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.