piagent_
← ~/map

$ cat ~/map/pi-statusline.md

pi-statusline

Compact TUI statusline: model and thinking on the border, token flow and context usage in the footer.

extensions✓ Sep 3

Facts

repository
github.com/alexeyco/pi-statusline ↗
GitHub Stars
★ 0
Forks
0
license
MIT
npm / mo
—
last push
Oct 4, 2026

install

pi install npm:@alexeyco/pi-statusline

## TL;DR

A compact statusline extension for the pi TUI: a model • thinking label on the input border, a one-line footer with cwd, branch, session, and ↑in ↓out · ctx%/window flow, and color-coded context usage.

## Key points

## FAQ

Q The footer looks duplicated after installing.

An old local copy is likely still registered in ~/.pi/agent/extensions/status-layout/ — remove that directory so only the package version remains.

Q When does the context percentage change color?

Above 70% it turns orange, and above 90% it turns red.

## References

## Related entries

## Guides

Last updated: Sep 3, 2026