MoonshotAI / MoonshotAI/kimi-code

KimiUseage[Feature Request] Optional /usage widget in bottom status bar (Weekly limit + 5h limit)

Open
#764 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.5k
Forks
1.2k
Avg merge
11h 53m
Merged PRs (30d)
350

Description

Summary

I would like an optional usage widget in the bottom status bar that shows the same information as the /usage slash command, especially the Weekly limit and 5h limit.

Motivation

Right now I have to run /usage manually to check my remaining quota. Having Weekly limit and 5h limit visible at a glance in the status bar would remove friction and help avoid hitting quota mid-task.

Proposed behavior

  • Add a config option in tui.toml to enable the widget, e.g.:
    [status_bar]
    usage_widget = true
    
  • When enabled, the bottom status bar displays /usage information in a compact form, for example:
    Weekly: 1234 / 5000 | 5h: 67 / 300
    
  • The widget should display at least the Weekly limit and 5h limit that /usage already shows.
  • It updates after each turn or periodically.
  • Users who prefer the current minimal status bar can leave it disabled (default false).

Scope

  • This is a display-only feature.
  • No change to the existing /usage slash command.
  • Ideally the widget format is configurable (compact/detailed) so users can choose how much quota info to show.

Related

  • The official docs currently list only theme, editor, notifications, and upgrade under tui.toml, so this would extend the TUI configuration surface.

Thanks for considering this!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing /usage slash command, the bottom status-bar implementation, and the tui.toml configuration and documentation surfaces. Trace how usage data is obtained and refreshed, then define completion as an opt-in widget showing at least the Weekly and 5h limits while leaving the default status bar and /usage command unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.