dsh-grok-usage
August 18, 2026 · View on GitHub
Settings → 订阅额度 shows remaining SuperGrok and Codex quota. Sign-in opens the system browser OAuth flow.
Usage refreshes when a session goes idle after a turn, plus a 5-minute poll and a manual refresh on the settings page.
Install
pnpm install && pnpm build
dsh plugin --profile web add link:$(pwd)
Restart dsh web. Open Settings to see Subscription usage.
Requirements
- Grok Build CLI (
grok) onPATH - A SuperGrok login (
grok loginor the in-panel button)
Limits
- Billing comes from the undocumented Grok CLI endpoint. If the payload changes, the badge shows
Grok --. - Team workspaces are not supported.
- Web only.