I just learned, that you can also invoke claude code from the terminal with a specific prompt for this without API access
claude - p "prompt"
Just for one prompt/job, though. But that might be enough for some of my use cases. Because you can also prompt again. And again .. a targeted prompt with one exact job, then custom deterministic logic and go on, maybe another prompt. I might get into that, it also just worked telling it "claude -p 'analyze picture.png" where picture was in the folder and it gave a correct description back to terminal. I wonder why that is not more advertized .. I would have liked to known earlier and will do some experiments now.
Assuming you’re not using OpenClaw to do it, you’re right, that may work just fine.
But, if I did find a viable model, I wouldn’t see why a script would be better than OC.