kimi-usage-monitor
par xd4o
CLI UtilitiesRésumé
Monitor Kimi K2.5 API usage and quota from the Kimi console.
Description
Ce que fait ce skill
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.
Quand l'utiliser
- 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
Exemple de workflow
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
Prérequis
- Kimi account with active K2.5 API access
Installation
clawhub install xd4o/kimi-usage-monitorExécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.