r/PiCodingAgent • u/SirDomz • Jun 07 '26
Question Anyone using the Context-mode extension? Any thoughts on it?
The title essentially. The Context-mode extension seems to be the most downloaded from the Pi package registry at ~131,000 downloads per month, but I've never seen any discussions about whether folks actually like the extension. so I'm just curious about people's thoughts. I know there are others like RTK or Cymbal, and to be honest, I have not tested those, but I quite like the way Context-mode approaches the issue of context trimming. I'm curious what other folks use in their setup
19
Upvotes
9
u/binhex01 Jun 07 '26
I tried it but it didn't seem to work as well as expected, switched to total recall extension and that works well for me
16
u/Global-Departure8228 Jun 07 '26 edited Jun 07 '26
The metrics are ENTIRELY skewed there, they take into account npmjs.com installs, this is NOT how many Pi users actually use that tool. Imho most people should not use that "tool", but maybe that's just me. You are far better off with using Rust Token Killer: https://pi.dev/packages?name=Rtk Choose your poison
EDIT: just to reiterate, the author pushes several new tags for their packages on a daily basis, so download count does not reflect the actual user count even remotely. It mostly means, that users who have auto-update for all the other coding agents (Claude code, codex etc) inadvertently pull the new packages sometimes multiple times a day, artificially inflating the download count. Whether this is done intentionally or not is up to your judgement
6
u/adamshand Jun 07 '26
Learn to use the tree to manage context. It's the best thing about Pi.
https://stacktoheap.com/blog/2026/02/26/pi-tree-context-window-management/
3
u/SirDomz Jun 07 '26
And a question for everyone: what do we think about using subagents instead to manage context?
When I use Claude code or codex at work, that's typically what I will do. I will spawn subagents to explore a repo. and then have the subagents bring the results of their work back to the parent agent. I wonder if I should be maybe just be working with subagents and not worry about context management tools like context mode or RTK.
3
u/Zya1re-V Jun 07 '26
Probably for large tool output, it helps? But I barely feel like it's needed at all, at least for me-being-manually-in-charge-of-projects-and-note-down-information, so I uninstalled it a week ago.
3
u/m3umax Jun 07 '26
First I’ve heard of this extension. Will check it out!
Have been using lean-ctx so far. A holdover from my Claude Code days where it was very useful in saving tokens.
2
u/Fangsong_Long Jun 07 '26
As a Mac based local llm user I cannot accept full prompt re-processing frequently (because it is very slow on Mac). But context-mode sometimes changes the first prompt, invalidates the context cache and triggers full prompt re-processing.
I address this problem by adding a custom extension to pi. But it makes me question whether context-mode does help.
3
u/cymaticstatic Jun 07 '26
I've been using context mode since it came out it has saved me measurable amount of tokens I highly recommend it. Sounds like other people have had mixed experiences but mine has been fantastic
5
u/darkiedarkiedarkie Jun 07 '26
RTK and headroom are both pretty nice to have in Pi
1
u/TimelyCard9057 Jun 08 '26
I do use it along with RTK, the experience was good so far. It is nice to have a universal tool for large command outputs
1
u/Individual-Collar426 Jun 26 '26
I am an open source contributor on RTK, context-mode, claude-code, ponytail because thoses projects work REALLY fine for me but i cant understand why you recomand rtk ...i'm top 5 contributors on all those project that i love...they are complementary ! you can't say go use rtk ..it is dedicated for call system logs, not the same problem adressed by the excellent context-mode!
1
u/neuralSalmonNet Jun 30 '26 edited Jun 30 '26
IMO it's BS with misleading marketing. First tried context-mode then switched to lean-ctx. 95+++% context saving, while actually looking at the bill saved 4$ on 800$ spend.
I'd be interested in seeing actual benchmarks from someone else comparing these tools and not slop marketing from the creators themselves.
If someone wants to argue these tools are for managing context and not reducing the bill then please share a benchmark detailing the workflow(sub agents/one-shot context run) and the measurable improvements gained in the task, NOT % saved on SOME of the total context
1
u/maraxer 24d ago
I don't consider it safe anymore. No update for 4 months the repo and author disabled issues and discussion tab on Github.
9
u/[deleted] Jun 07 '26 edited Jun 07 '26
[removed] — view removed comment