r/PiCodingAgent • • 23d ago

Discussion Are there any unique plugins you are using?

I usually see the more typical plugins recommended. But are there any hidden gems out there that you use regularly?

20 Upvotes

35 comments sorted by

12

u/funbike 23d ago edited 23d ago

Yeah, I asked Pi to generate several small ones.

Load .env, bookmarks (/mark <mark-id>, /goto <mark-id>), prompt enhancer (/rewrite), AI API functions (tts, stt, image gen), function wrapper for Pi slash commands, user questions/feedback via the default text editor.

I prefer skills and scripts when practical. I have written many more skills and scripts than extensions.

1

u/behopkinsj 22d ago

Bookmarks seem really useful.

3

u/bitzap_sr 23d ago

What do you mean by bookmarks?

8

u/funbike 23d ago edited 23d ago

I mean assigning an ID to a point in your chat history so you might go back to it later (possibly to /fork it).

/mark <mark-id> remembers where you currently are in the chat history. You can rewind back to that point with /goto <mark-id>.

You can do /goto -2 to go back 2 user messages or /goto <mark-id> -2 to go 2 user messages before the id. /goto --git <mark-id> will also restore the git commit id from that point. /compactto <mark-id> will do a partial compaction. If you don't supply an id, "_" is used. Built-in marks: The _prior mark is the where you were before you ran /goto, and _first/_last marks are the first/last messages in this session.

It's persistent and it works across sessions, so marks from last month will still work, so long as you haven't deleted the session files. Marks are local to a project by default. IDs starting with _underscore are local to the current Pi instance (memory) and are not persistent. IDs starting with ~tilde are global to all Pi instances and projects.

If you want to mark a past user message, just use /tree to go back and then run /mark <mark-id>

I added /mytree that's like /tree but displays mark IDs within the tree. The /marks command interactively lists all marks, including the timestamp and a portion of the prompt and timestamp.

3

u/bitzap_sr 23d ago

Whoo, exactly what I hoped it would be. That sounds awesome. Interested in sharing it? The "I modified /tree" sounds like requires a patched Pi, though? I guess an alternative /mark-tree or some such command would avoid that.

4

u/funbike 23d ago edited 23d ago

The "I modified /tree" sounds like requires a patched Pi, though?

I didn't say that correctly. Edited. I added a command that was a copy-paste of /tree. (I should instead make it an option: /marks --tree|-t.)

Interested in sharing it?

I plan to package all of my extensions sometime soon. I'll bookmark this reddit comment so I can let you know.

The /mark and /goto commands were easy for Pi to create. Just write a prompt for it.

→ More replies (5)

1

u/VinceS_94 19d ago

How does rewrite work?,

1

u/funbike 19d ago edited 19d ago

It attempts to rewrite the prompt with more effective wording. It does not submit it; you can still edit and you must hit enter. The work happens in a separate throw-away session. The source code explains itself:

https://gist.github.com/mikeslattery/248d10bf17ba31a6b1896307f83606bc

I plan to add web search tools and instructions on how to do research. You can do that yourself quite easily.

3

u/gaz_0001 23d ago

CodeGraph, Serena - for coding faster.
Model Gate - custom, for me to define what Providers & Models get sent upstream to T3 Code/Paseo.
pi-orcarouter - because OrcaRouter is not supported via /login
pi-live-speed - so i can see live & historical TPS & TTFT.

Interested to see what everyone else is using.

1

u/behopkinsj 22d ago

Oh, those seem really cool. I hadn't heard of any of them.

6

u/timlauf 23d ago

i wrote my own /tools extension to toggle tools per session and save a default, so my context is clean

1

u/Express_Quail_1493 23d ago

self evolving harness inspired by google's research https://www.npmjs.com/package/@izhimu/pi-harness2

1

u/behopkinsj 22d ago

Is that similar to how Hermes works? Does it change its system prompt automatically through interactions with the user?

1

u/Hubba_Bubba_Lova 21d ago

What’s the experience like with this. Has it fixed infinite looping or tool call errors? Very curious about this

1

u/Qusic7 23d ago

https://pi.dev/packages/@qusic/pi-dynamic-mcp let pi add/remove mcp servers on demand so i dont have to manage mcp.json config myself. sometimes i also find claude creating mcp server using python as a way to save script snippets for reusing between turns.

1

u/behopkinsj 22d ago

Can't Pi just write to the mcp.json by itself?

1

u/Qusic7 22d ago

you have to manually /reload after editing the config. it's more useful for me at work, where lots of mcp servers of different quality scattered everywhere. so pi can try them out from wiki pages or mcp config saved for other harnesses like claude.

2

u/QuotableMorceau 23d ago

pi-voicekit, local copy modified to use paradee for real time voice output .

1

u/bondaly 23d ago

Any chance of a repo?

2

u/QuotableMorceau 23d ago edited 23d ago

unfortunately no, I just told an llm to add paradee to voicekit , and 30 minutes later I had it running .
edit: wrote 3 instead of 30

1

u/bondaly 23d ago

That's enough, thank you!

2

u/TheTyand 23d ago

Yes, quite a few. But just because I need them does bit mean all people need them

https://schneiderdaniel.github.io/cheasee-pi/

1

u/bsdemon 23d ago

pi-infer-questions

Extract questions/decision from agent output and allows to fill in responses by clicking on them.

1

u/Pringled101 22d ago

1

u/OwnTechnology1872 17d ago

Do you have any recommendation for goal mode extension? I still haven't found a satisfying one🙁 Basically, I would like to install permission extension, subagent extension, and what changed extension

1

u/Pringled101 16d ago

It's not really a "goal mode" extension but https://pi.dev/packages/@juicesharp/rpiv-todo is quite nice I think and can achieve the same thing when you make Pi permissive enough, but all it will do is show you what steps it's doing, so it's more about creating transparency than actually a "goal mode".

1

u/OwnTechnology1872 15d ago

Thanks a lot. Actually, I don't know how to make agent complete a complex task effectively. So I tried those goal mode extensions. Could you like to share some experience?

1

u/mrclrchtr 22d ago

I couldn't live without my very small quality of life tools https://github.com/mrclrchtr/supi/blob/main/packages/supi-extras/README.md
Stash prompts for example. But the most important thing is a Tab-title spinner and Session Capability Profiles

And https://github.com/mrclrchtr/supi/blob/main/packages/supi-ask-user/README.md is helping make decisions more easy.