Skip to content

Add queued commands alongside queued messages in Codex CLI #13968

Closed as not planned

Description

@mjenrungrot

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.

Activity

  1. added
    enhancement
    on Mar 8, 2026
  2. added
    CLI
    on Mar 8, 2026
  3. etraut-openai commented on Apr 18, 2026

    @etraut-openai
    Contributor

    This feature request hasn't received any upvotes in over a month, so I'm going to close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions