Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 4 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# pi-usage-bars

Usage indicator for **pi**.
Usage viewer for **pi**.

![Codex footer bar](https://raw.githubusercontent.com/javargasm/pi-usage-bars/main/assets/codex.png)

It adds:
- a footer status bar for the active provider
- a `/usage` command with all connected providers
It adds a `/usage` command with all connected providers. Usage is shown only while this command is open; it does not persist in the footer status line.

Supported providers:
- OpenAI Codex (multiple subscriptions)
Expand Down Expand Up @@ -35,19 +31,8 @@ pi install npm:@javargasm/pi-usage-bars

## Use

### 1) Footer usage bars
When your active model is supported, the footer shows color-coded bars for:
- Session usage (5-hour rolling window)
- Weekly usage (7-day rolling window)
- Monthly usage (when available)
- Reset countdowns

Bar colors: 🟢 green (<70%) → 🟡 yellow (70-89%) → 🔴 red (≥90%)

![Claude footer bar](https://raw.githubusercontent.com/javargasm/pi-usage-bars/main/assets/claude.png)

### 2) `/usage` command
Opens an interactive list with all providers that have credentials. Supports search/filter and shows the active provider with a ✓ badge.
### `/usage` command
Opens an interactive list with all providers that have credentials. Supports search/filter and shows the active provider with a ✓ badge. Bars are color-coded: 🟢 green (<70%) → 🟡 yellow (70–89%) → 🔴 red (≥90%).

![/usage command](https://raw.githubusercontent.com/javargasm/pi-usage-bars/main/assets/usage-command.png)

Expand Down
Loading