What do you want to do?
3 use cases
-
Keep a long Pi coding task going across fresh windows
Run a long Pi task that rolls into fresh context windows using saved notes instead of summaries.
- REPO
fitchmultz/pi-posthorse - Software and DevOps
- Intermediate
View prompt
Using the pi-posthorse repo (fitchmultz/pi-posthorse), set up Posthorse for the project at <project-path>, then give Pi a multi-step coding task and ask it to save task state in notes before rolling over. Expected output: a task note saved under .pi/notes/ in the project and a fresh context window started. Verify by running `pi list` and confirming pi-posthorse appears as an installed source.
- REPO
-
Find an earlier decision in past Pi sessions
Search prior conversation and sub-agent runs in the project to recover a decision or error detail.
- REPO
fitchmultz/pi-posthorse - Software and DevOps
- Intermediate
View prompt
Using the pi-posthorse repo (fitchmultz/pi-posthorse), use the history tool in the project at <project-path> to search earlier sessions for the decision about <topic>, including other sessions with all: true. Expected output: the matching history entries with their session context. Verify that each quoted detail appears in the returned history entries before you rely on it.
- REPO
-
Test Posthorse in one Pi session before installing
Load Posthorse for a single session to check rollover behavior without a permanent install.
View prompt
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.
Quick start with Pi Posthorse
- Check you have what it needs: 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.
- Open fitchmultz/pi-posthorse on GitHub and read the README and license.
- Confirm your Node version with
node --version; it must be 24.12.0 or later. (inferred, check the README) - Update an older Pi installation before you install Posthorse.
- Run
pi install npm:pi-posthorse. - Run
pi, then restart Pi after installation.
These steps come from our top use case, Keep a long Pi coding task going across fresh windows, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for fitchmultz/pi-posthorse
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 freeAbout this repo
- Who it is forDevelopers who run long coding sessions in the Pi coding agent and hit context limits.
- Why it is hot287 stars, launched 70 days ago
- LanguageTypeScript
- Sourcegithub.com/fitchmultz/pi-posthorse · Back to Hot repos
Requirements
- 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
Add this badge to your README
Maintain Pi Posthorse? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/fitchmultz-pi-posthorse/?utm_source=github&utm_medium=badge&utm_campaign=fitchmultz-pi-posthorse)
HTML
<a href="https://dedupedai.com/use-cases/fitchmultz-pi-posthorse/?utm_source=github&utm_medium=badge&utm_campaign=fitchmultz-pi-posthorse"><img src="https://dedupedai.com/badge/fitchmultz/pi-posthorse.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Pi Posthorse
What is Pi Posthorse?
Posthorse is a TypeScript extension for the Pi coding agent that starts fresh context windows for long tasks and keeps earlier conversation recoverable, without a model-written summary. It is an open-source project on GitHub: https://github.com/fitchmultz/pi-posthorse.
How do I use Pi Posthorse?
Confirm your Node version with node --version; it must be 24.12.0 or later; then Update an older Pi installation before you install Posthorse; run pi install npm:pi-posthorse. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Pi Posthorse for?
Developers who run long coding sessions in the Pi coding agent and hit context limits.
What can I do with Pi Posthorse?
3 use cases so far, for example: Keep a long Pi coding task going across fresh windows; Find an earlier decision in past Pi sessions; Test Posthorse in one Pi session before installing. Each has steps and a copy-paste agent prompt.
What do I need to run Pi Posthorse?
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.
What are alternatives to Pi Posthorse?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is Pi Posthorse safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.