codex queue
The CLI subcommand that queues a message for an existing session (--resume since 0.166.0).
Specs
Verified:
- Kind
- CLI subcommand
- Syntax
- codex queue [--resume]
- First seen
- —unverified
The official help for `codex queue` reads "Queue a message for an existing session". The 0.166.0 (2026-10-29) release notes document the queue --resume form. First-seen version is unverified.
Timeline
- 0.166.0: the queue --resume form appears in release notes
Key features
- Append a queued message to an existing session
- --resume since 0.166.0
Use cases
Pre-queue the next instruction while a session is still running, without interrupting the current turn.
Install
`codex queue --help` shows the argument surface.
Caveats
Queueing is not immediate execution — messages enter the target session in queue order.
Added
Updated
Verified