pi-powerline-melbourne

Custom pi extensions, including a nerd-style powerline footer with context token count

Package details

extension

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

$ pi install npm:pi-powerline-melbourne
Package
pi-powerline-melbourne
Version
0.1.5
Published
Apr 27, 2026
Downloads
674/mo · 162/wk
Author
jsmenzies
License
MIT
Types
extension
Size
19.9 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

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

README

pi-powerline-melbourne

A compact pi footer extension with a powerline-style status line focused on context usage.

pi-powerline-melbourne footer

Install

pi install npm:pi-powerline-melbourne

Segments (left → right)

  • pi: pi icon/label
  • path: current working directory (home is shortened to ~)
  • git: current branch
  • model: selected model + thinking level (min, med, xhi, etc.)
  • context_tokens: used/window token view
  • mcp: MCP server status (connected/total)

Context warnings (default)

  • < 50%: OK (green)
  • 50% to < 70%: warning (yellow)
  • >= 70%: high usage (red)

You can also show percent by setting showPercentInContext: true in powerline-context/index.ts.

Command

  • /powerline-melbourne on|off