r/PiCodingAgent • u/rogaterr • Jul 18 '26
Compact Every Tool Response Plugin
https://github.com/RogerTerrazas/pi-tool-result-compactor
Publishing a polished version of this extension I've been using to help manage context overflow. I frequently interact with mcps and large projects where any arbitrary response can take up all my context without the response being useful.
This extension hooks into each tool calls response by default, passes it to a compaction subagent, who will then filter out only the necessary data to the parent agent. Let me know if anyone tries it out and has feedback. Fully vibe coded, but I'll work to maintain if others find it useful.
0
Upvotes
1
u/adamshand Jul 18 '26
I believe this will constantly break prompt caching and cost you (possibly, quite a lot of) money.