pi-context-bar

A one-line Pi footer with the model, git branch, a context bar and the session cost

Packages

Package details

extension

Install pi-context-bar from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-context-bar
Package
pi-context-bar
Version
0.1.2
Published
Nov 4, 2026
Downloads
693/mo · 218/wk
Author
pringled
License
MIT
Types
extension
Size
6.7 KB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "image": "https://raw.githubusercontent.com/Pringled/pi-extensions/main/assets/images/pi-context-bar-dark.gif",
  "extensions": [
    "./extensions/context-bar.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-context-bar

A one-line footer for Pi, styled after ccstatusline: the model, git branch, a context bar and the session cost.

pi install npm:pi-context-bar

What it shows

  • The current model, as provider/model, and its thinking level.
  • The git branch, or no git outside a repository.
  • A context bar with used and total tokens. It turns yellow at 50% and red at 80%.
  • The total cost of the session so far, left out for local and other free models while it's $0.
  • Statuses other extensions set, such as a quota or a running job, when there's room for them.

It replaces Pi's default footer.

License

MIT