Kimi usage

From shenxingy/Clade · View interactive version

Kimi usage is an AI agent skill from the GitHub repository shenxingy/Clade. Show Kimi Code plan-quota usage and pace (5h / weekly / monthly windows), or wire the Kimi footer to Clade's quota pace indicator

How to use this skill

Skill file

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 style number
/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/.

Status line styles are minimal (pace plus 5-hour percentage), icon (the

default themed pace symbol plus pace), number (pace without the symbol),

detail (the long-window label plus symbol), and off. The number style

keeps the numeric pace and the 5-hour reset timer while removing the emoji.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.