baggiiiie

baggiiiie / pi-stuff

Public

my stuff for pi

18
1
100% credibility
Found Apr 08, 2026 at 18 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

An extension for an AI coding agent that opens a live interactive chart in a separate window to visualize token usage across conversation turns, including stats on memory, costs, and context limits.

How It Works

1
🔍 Discover the tool

While chatting with your AI assistant, you learn about a handy chart that shows how much 'memory' your conversations use up turn by turn.

2
📥 Add it to your setup

You install the extension with one simple command, and it's ready to use right away.

3
📈 Open the live chart

Type a quick command to pop open a beautiful window with an interactive chart tracking your conversation's memory usage.

4
💬 Chat with your AI

As you send messages and get responses, the chart updates in real time, stacking up bars or lines for each part of the talk.

5
📊 Spot insights

Glance at stats showing current memory, percentage used, total costs, and breakdowns like user inputs, AI replies, and tools.

6
👀 Monitor and optimize

Watch how close you are to limits, see savings from smart features, and make your sessions more efficient.

Smarter conversations

You now have full visibility into your AI chats, helping you stay under budget and understand every exchange perfectly.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 18 to 18 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is pi-stuff?

Pi-stuff is a free TypeScript extension for the pi AI coding agent that launches a live, interactive chart in a Glimpse window to track your token budget turn by turn. It visualizes prompt composition—system instructions, user input, agent output, tools, and memory—updating in real time across sessions, forks, compactions, and model switches. Install via `pi install git:https://github.com/baggiiiie/pi-stuff` and trigger with `/context-chart` to spot context bloat before it hits limits.

Why is it gaining traction?

Unlike basic token counters, it stacks areas for line or bar charts with tooltips showing turn summaries, plus stats cards for current usage, window percentage, cache hits, and costs—perfect for debugging pi sessions. The live updates and session persistence make it a cool pi stuff github tool that feels essential once you see your context explode. Low barrier with Chart.js CDN and auto Glimpse detection hooks devs debugging AI prompts.

Who should use this?

Pi power users running long coding sessions or tool-heavy agents who need to monitor token drift without manual logs. Ideal for AI workflow builders tweaking system prompts or memory compaction in pi, especially on high-context models like those from Anthropic or OpenAI.

Verdict

Grab it if you're deep in pi—solid docs and polished UI punch above 18 stars, despite 1.0% credibility from low activity. Early-stage tech stuff github; test in a side session first, as it relies on Glimpse setup.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.