New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@leing2021/pi-stats-footer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@leing2021/pi-stats-footer

Pi extension that replaces the footer with project path, tool usage stats, and subagent count

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

A Pi extension that replaces the default footer with enhanced session stats.

What it shows

code/my-app (main)            sub:2 │ tools(8) read:3 bash:2 edit:2
claude-sonnet-4-20250514 ↑12.5k ↓1.2k $0.042
  • Line 1: Project path (last 2 segments) + git branch │ subagent count │ tool call count with top 3 tools
  • Line 2: Model name + token usage + cost

Install

pi install npm:@leing2021/pi-stats-footer

The footer activates automatically on every new session. No configuration needed.

How it works

  • Listens to tool_call events to count tool usage and subagent invocations
  • Uses ctx.ui.setFooter() to replace the default footer
  • Re-renders on every tool call for real-time updates

Uninstall

pi uninstall @leing2021/pi-stats-footer

Keywords

pi

FAQs

Package last updated on 19 Apr 2026

Related posts