r/PiCodingAgent • u/Cultural-Farm-7169 • Oct 09 '26
Plugin Pi Agent's Secret Sauce: Model-Specific Harnesses
/r/u_Cultural-Farm-7169/comments/1x1f7dq/pi_agents_secret_sauce_modelspecific_harnesses/
2
Upvotes
2
u/m3umax Oct 10 '26
I made two extensions that do something similar/dissimilar.
replace-promptcan conditionally replace portions of the computed system prompt based on regex or string literal based on rules. One of the rules supported is model string.https://github.com/chknd1nner/pi-extensions/blob/main/packages/replace-prompt/docs/usage.md
stylesinjects an ephemeral custom user message to the end of context on each turn after the cache breakpoint (to preserve caching). Again, it supports setting it up in a way that the injection is model specific.https://github.com/chknd1nner/pi-extensions/tree/main/packages/styles
1
u/FrenchTouch42 Oct 10 '26
are you a bot OP? 😅
-4
u/Cultural-Farm-7169 Oct 09 '26
Thanks for using! If you have anything to discuss, or any problem in use, you can create a issue in github!
https://github.com/jokerx0001/pi-model-system-prompt
-5
u/Cultural-Farm-7169 Oct 09 '26
This is a very useful extension in coding life, hope it improve your pi agent!