Live·typescript · pi

pi-extensions

Extensions for the Pi coding agent – view files and diffs, track tokens, iteration loops, and more.


Overview

A collection of extensions for Pi, a coding agent harness. These extensions add capabilities that help manage long-running tasks and improve the developer experience.

Extensions

Slash commands

  • /files – in-terminal file browser with diffs and line selection
  • /usage – get your Pi metrics per provider + model
  • /code – copy/insert code snippets from your agent
  • /raw-paste – paste editable text instead of [paste #1 +21 lines]

/ralph-wiggum

Run arbitrarily-long tasks without diluting model attention. A "flat" iteration loop without subagents – the model works through a checklist, reflecting periodically.

arcade

Because sometimes you need a break:

  • 👾 sPIce-invaders
  • 👻 picman
  • 🏓 ping
  • 🧩 tetris
  • 🍄 not-mario

All in ASCII, all in your terminal.

pi-nes

Because I can. A full NES emulator running inside Pi with a Rust core and Kitty graphics support.

tab-status

Terminal tab indicators showing session state at a glance:

  • ✅ Done
  • 🚧 Stuck / needs input
  • 🛑 Timed out

Helps manage multiple parallel agent sessions. Currently set up for one session/tab.

Installation

First, install Pi:

npm install -g @mariozechner/pi-coding-agent

Then install individual extensions via npm:

npm install @tmustier/pi-files-widget
npm install @tmustier/pi-usage-extension
npm install @tmustier/pi-code-actions
npm install @tmustier/pi-raw-paste
npm install @tmustier/pi-ralph-wiggum
npm install @tmustier/pi-arcade
npm install @tmustier/pi-tab-status

Or install the full collection via git:

pi install git:github.com/tmustier/pi-extensions

Why?

Pi is great out of the box, but I wanted better task management for long sessions and quality-of-life improvements like tab indicators and quick code insertion.