Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.
taviksPublic archive

About

A small pi extension that adds a /usage command to show LLM subscription usage in an overlay.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

pi-llm-usage

A small pi extension that adds a /usage command to show LLM subscription usage in an overlay.

pi-llm-usage overlay

Install

Recommended (global convention)

pi install git:github.com/taviks/pi-llm-usage

This installs the package in pi's global location and updates global settings (~/.pi/agent/settings.json).

Manual settings entry (global)

{
  "packages": ["git:github.com/taviks/pi-llm-usage"]
}

Then run /reload in pi.

Usage

/usage

Shows usage windows for:

  • Anthropic (5h / weekly / model-specific when available)
  • OpenAI Codex (session / weekly)

Close with Esc, Enter, or q.

Notes

  • Uses your existing OAuth sessions (no API keys required)
  • Reads credentials from ~/.pi/agent/auth.json and falls back to ~/.codex/auth.json for Codex
  • Launch at any time, even when a session is active
  • Feel free to open an issue/pr to add support for more providers

License

MIT

About

A small pi extension that adds a /usage command to show LLM subscription usage in an overlay.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages