This is of course because we are limited to using agents interactively to avoid paying the API rates. An agent harness with this integrated would be much more efficient.
But, I do think something like this is a good solution! Thanks for sharing
It might make a tmux helper script, a tmux skill might help, but coming in with nothing it figures it out.