← Catalog

pi-claude-shimmer

Claude Code-style working spinner for Pi — shimmer, thinking glow, token count, stall detection

Extension

Install

Install with PiG

pig install npm:pi-claude-shimmer

Install with Pi

pi install npm:pi-claude-shimmer
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 1.0.8 (README.md). PiG does not review it.

pi-claude-shimmer

Claude Code-style working spinner for Pi — shimmer, thinking glow, token count, stall detection, and smooth animations.

npm version License: MIT

Why

Pi's built-in working indicator is functional but minimal. pi-claude-shimmer brings the same polished spinner experience from Claude Code to your Pi sessions:

  • Verb shimmer — The verb text has a moving color sweep (shimmer), with different speed and direction depending on whether Pi is sending a request or receiving a response
  • Thinking timer — Detects when the model is thinking, shows a glowing "thinking" label with a sine-wave shimmer (3s delay, like Claude Code), then transitions to "thought for Ns"
  • Token count — Live ↓ N tokens with smooth counter animation (no jumps)
  • Elapsed time — Appears after 30s alongside the thinking/token status
  • Stall detection — After 3s without new tokens, the verb smoothly transitions to red via color interpolation (not a hard binary switch)
  • Tool-use flash — When tools are executing, the entire verb text oscillates between base and shimmer colors (sine wave)
  • Spinner ping-pong — The spinner characters animate forward then backward (· ✢ ✳ ✶ ✻ ✽ ✻ ✶ ✳ ✢), matching Claude Code's animation
  • Completion notification — Shows a brief ✻ Brewed for Ns notification when the agent finishes

Install

pi install npm:pi-claude-shimmer

Or install from GitHub:

pi install git:github.com/ouzhenkun/pi-claude-shimmer

Usage

No configuration needed — the extension works automatically once installed. Just use Pi as normal.

States

· Building…                                     ← requesting (no status yet)
✢ Crafting…  (thinking with high effort)        ← thinking (< 3s, no glow)
✳ Crafting…  (↓ 127 tokens · thinking)          ← thinking with tokens
✶ Cooking…   (↓ 1,234 tokens)                   ← responding (< 30s)
✻ Crunching… (32s · ↓ 3,678 tokens)             ← responding after 30s
✽ Brewing…   (1m 3s · ↓ 4,567 tokens)           ← tool-use (flash animation)
✻ Crunched for 2m 5s                            ← completion (notify)

Features at a Glance

FeatureDescription
Verb shimmerMoving color sweep on verb text
Request/respond arrows↑ when sending, ↓ when receiving
Thinking glowSine-wave shimmer on "thinking" text after 3s
Token counterSmooth animated ↓ N tokens
Elapsed timerDuration shown after 30s
Tool-use flashVerb oscillates between colors during tool execution
Stall detectionVerb smoothly transitions to red after 3s without tokens
Spinner ping-pongCharacters animate forward then backward
Completion notifyPast-tense verb notification on finish

Dependencies

  • @earendil-works/pi-coding-agent (peer)

License

MIT