Add queued commands alongside queued messages in Codex CLI
What variant of Codex are you using?
CLI, App
What feature would you like to see?
I’d like Codex CLI to support queuing shell commands, not just messages. This would let me line up a small batch of actions for Codex to execute in order, optionally interleaved with prompts.
Example 1: Simple test with prompts in-between
Queue message: "Do task X."
Queue command: npm test
Queue message: "If there are errors, fix the issues."
Queue command: npm run lint
Queue message: "Summarize what changed."
Example 2: Wait for an external process, then continue
Queue message: "Deploy the application to Y."
Queue command: sleep 30
Queue message: "Assuming we have deployed the app to Y already, check the feature Z."
Queue command: sleep 30
Queue message: "Summarize what you checked and any follow-up actions."
Additional information
A simple version could execute queued commands sequentially with clear confirmation and output between steps. Mixed queues of messages + commands would make multi-step workflows much smoother.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗