finally ported my fav Claude Code feature into Pi: `/subtask`
@victormustar33K followers
18,595 views
33 Comments
Comments from the original post on X (Twitter)

@victormustar
repo:
13 likes

@pidotdev
😍😍
5 likes

@onsails
Recently published similar plugin which relies on herdr or tmux: /fork-in-herdr or /fork-in-tmux to create a tab with a forked session
2 likes

@bengi_dev
Is that each stack can have different model, or just inherited from its parent?
1 like

@victormustar
inherited from parent but easy to change if needed

@rcarmo
Erm. How different is that from using /tree really?
1 like

@victormustar
/tree is navigation. this spawns another Pi with a copy of your conversation that runs in the background while you keep working then reports back its final output

@rcarmo
Well, I use sub sessions in piclaw that do the same without a sub process, and that fold back into tree

@victormustar
i don’t know piclaw it’s probably prompted to know how to use Pi so that’s something else

@rcarmo
I wrote it. The kind of session forking and folding you are describing does not need subprocesses, and can be built atop the session tree -

@victormustar
interesting I'll take a look if I can make this work inside the TUI and take a look at piclaw

@victormustar
how do you handle extensions in a single process?

@rcarmo
There’s an entire extension and add-on subsystem - most of piclaw is a separate event loop and extensions, just point pi at the repo.
1 like

@artale93
Let's gooo
1 like

@alekgrygier
Good stuff
1 like

@mont_py
sweet
1 like

@Lakshman2302
Thank you 😊
1 like

@buswe_com
Que la subtask solo devuelva la respuesta final mantiene limpio el hilo padre y evita arrastrar todo el ruido del trabajo intermedio.
1 like

@alexmrv
Oooo really nice! Might submit a pr to detect if you are in herdr and have the sub task start in a pane
1 like

@victormustar
i don’t understand herdr but people seem to like it maybe i should try lol










