Re:OpenClaw Had a Rough Week
by lukan on Thursday May 07, 2026 @09:16PM
(#48057324)
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.
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.