So i just build this - with a few changes to the approach and usable as a simple pi-extention without having to use what-the-pi. It seems to work pretty well so far.
I suspect doing it only ever 5th line would make it less clear for the llm.
I'm just experimenting, I wouldn't suggest you use this by default unless you're looking to experiment.