Kimi Usage
Shows the Kimi Code managed-plan quota windows — the rolling 5-hour limit, the
weekly limit where the plan has one, and the monthly limit with its
kimi/code split — each compared against Clade's 95% target pace. It can also
wire Kimi Code's footer ([status_line] in ~/.kimi-code/tui.toml) to the
same indicator the Claude Code status line and /codex-usage show.
Usage
/kimi-usage
/kimi-usage setup
/kimi-usage setup off
/kimi-usage style icon
/kimi-usage theme
/kimi-usage theme dragon
/kimi-usage --json
The helper talks to Kimi Code's own local server (kimi web, the documented
GET /api/v1/oauth/usage route) with the loopback token Kimi keeps in
~/.kimi-code/server.token. It reuses a running instance and otherwise starts
one for the call and shuts it down. It never reads or refreshes the OAuth
credential in ~/.kimi-code/credentials/.