pi-custom-footer
v1.0.0
Published
Custom footer extension for pi — shows absolute token counts, cache hit rate, and thinking level
Readme
pi-custom-footer
Custom footer extension for pi that replaces the default footer with more informative displays.
Install
pi install npm:pi-custom-footerFeatures
- Absolute token counts — Shows context usage as
120k/524kinstead of a percentage - Cache hit rate — Displays cache efficiency as
CH94%(cacheRead / total prompt tokens) - Token stats — Shows upload
↑12k, download↓8k, and cumulative cost$0.123 - Thinking level — Displays current thinking level next to the model name (e.g.
claude-4-sonnet • medium) - Session name — Appends session name to the cwd line
Footer Layout
Line 1: ~/project (main) • Session Name
Line 2: ↑12k ↓8k CH94% $0.123 120k/524k (auto) claude-4-sonnet • medium
Line 3: extension statuses...License
MIT
