mufeiyu-ayu

Pi Quota Dashboard — Development skill for Claude Code

Development community

Read-only provider quota, balance and session dashboard for the pi coding agent — Claude, OpenAI Codex and DeepSeek in one footer line.

How to install Pi Quota Dashboard

This entry records only its repository, not the path inside it, so there is no exact command to give. Open mufeiyu-ayu/pi-quota-dashboard and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Pi Quota Dashboard does

Read-only provider quota, balance and session dashboard for the pi coding agent — Claude, OpenAI Codex and DeepSeek in one footer line.

Alternatives in Development

  • OpenAI Codex CLI — (Rust implementation) 67.8k ★
  • Herdr Reviewr — Review your coding agent's diff in a terminal pane and send line comments back to Claude Code, Codex, OpenCode 823 ★
  • Dsh Usage — 🌊 Persistent dock & fully-customizable balance/usage panel for DeepSeek Harness — activity heatmap, dual-chan 74 ★

README

pi-quota-dashboard

**English** · [简体中文](./README.zh-CN.md)

A read-only quota, balance and session dashboard for the [pi coding agent](https://pi.dev) — **Claude, OpenAI Codex and DeepSeek in a single footer line**.

Every other pi extension covers either subscription windows (Anthropic OAuth, Codex) *or* API balance (DeepSeek). This one does both, because they are different billing concepts and a dashboard should not pretend otherwise.

![The merged footer line](./docs/footer.png)

That shot is a Codex Pro account: `7d 25% (4d9h)` is the single 7-day window it returns — no 5h, because Pro does not have one. The branch segment is absent because that session is not in a git repository. The quota segment on the other providers:

5h 98% (3h12m) · 7d 49% · Fable 13%   Claude — one entry per window
(nothing)                             DeepSeek — a funded balance stays out of the way

Verified against **pi 0.85.1 / Node 22.20.0**.

What it does

  • Shows remaining quota, not consumed — you care about what is left.
  • One line, not three. pi's built-in footer takes three rows (cwd / stats / extension statuses). This collapses all of them into one.
  • Only the windows your account actually has. A Codex Pro account returns exactly one 7-day window — no 5h, no code-review bucket. Those are not invented as "unavailable" rows.
  • Never writes credentials. No auto-login, no token refresh, no writes to auth.json. An expired credential is reported as expired and left alone.
  • Never claims more than it knows. activeAccountVerified is permanently false — see Honest by construction.

Install

pi install npm:pi-quota-dashboard

Or straight from the repository:

pi install git:github.com/mufeiyu-ayu/pi-quota-dashboard

Then run `/reload` in your pi session. No `npm install` needed — pi provides the dependencies.

For local development, clone it and point pi at the directory:

git clone https: