Who it is forA developer who wants to evaluate fresh-window rollover on a real task before committing to an install in their Pi setup.
The problemInstalling a context extension permanently is a bigger change than a developer may want to make before seeing how it behaves.
The outcomeThe developer runs one Pi session with Posthorse loaded, watches rollover happen, and decides whether to keep it.
What you need first
- Node 24.12.0 or later
- Pi 1.0.0 or later (official Pi or the fitchmultz/pi fork)
- A terminal where you can run pi commands
- A decision on whether notes under .pi/notes/ should be added to .gitignore
Steps
- Confirm Node 24.12.0 or later and Pi 1.0.0 or later are available.
- Run
pi -e npm:pi-posthorseto start Pi with Posthorse for one session. - Give Pi a long task and watch for the Compacted from card and any new_context request.
- Run
pi remove npm:pi-posthorselater if you decide not to keep it, since removal leaves notes and history in place.
Prompt for your agent
Using the pi-posthorse repo (fitchmultz/pi-posthorse), start a single Pi session for the project at <project-path> with `pi -e npm:pi-posthorse`, run a long task, and report whether a new_context request or a Compacted card appears. Verify that pi list does not show a permanent install if the developer asked for a one-session test.
Caveat. Two Posthorse copies can compete for rollover, so keep only one copy loaded, and check installed sources with pi list.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for fitchmultz/pi-posthorse and "Test Posthorse in one Pi session before installing"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer