piagent_
← ~/map

$ cat ~/map/pi-bookmarks.md

pi-bookmarks

Keyboard-driven bookmarks for pi: save replies and tool calls, ask follow-ups, pin cards so they survive /compact.

extensions✓ Nov 8

Facts

repository
github.com/thrishma/pi-bookmarks ↗
GitHub Stars
★ 0
Forks
0
license
MIT
npm / mo
—
last push
Nov 6, 2026

install

pi install git:github.com/thrishma/pi-bookmarks (needs pi 1.4 or later of @earendil-works/pi-coding-agent; pi -e git:github.com/thrishma/pi-bookmarks tries it for one session without installing).

## TL;DR

A pi extension that bookmarks anything you or the model said — replies, your messages, tool calls with their output — into a keyboard-driven side pane whose cards can be asked to explain, summarize, locate in code, or verify, while pinned cards ride in the project's system prompt and survive /compact.

## Key points

## FAQ

Q Do pinned bookmarks survive /compact?

Yes — pins ride in the system prompt of every turn in the project folder, up to 12,000 characters in all (3,000 each), so the model keeps them in context even after /compact.

Q Where are bookmarks stored?

In ~/.pi/agent/bookmarks.json — readable only by you and shared by every project and session, with up to 500 kept.

Q Is this the same as the Bookmarks for Claude Code extension?

It is a port of it by the same author (thrishma), with the same prompts and the same card layout, driven from the keyboard.

Q Can I bookmark with the mouse?

No — pi has no hover or selection hooks, so bookmarking goes through /bm and Alt+M; /bookmarks or Alt+O opens the pane.

Q What happens if I ask the same card twice?

A button already asked shows as locked until its answer ends, so a double press does not send it twice; while the model is busy an ask waits its turn.

## References

## Related entries

## Guides

Last updated: Nov 6, 2026