I wonder, is it easier to modify a script that agent wrote before to satisfy your prompt, or is it easier to write a new one from scratch each time a retry happens?
Are input tokens more expensive than output tokens?
Or, maybe your prompts are not good enough. And it's not my problem to fix, as you claim you are very experienced.