Skip to main content

Local queue and auto-continue runner for Claude Code sessions and Codex App tasks.

Project description

Claude + Codex Queue icon

Claude + Codex Queue

Queue prompts for existing Claude Code sessions and Codex App tasks.
Wait out usage limits, send continua, then resume the queue without wasting the next prompt.

CI Latest release PyPI Python 3.10+ MIT license GitHub stars

Quick start | Limit recovery | Roadmap | Discussions

Claude + Codex Queue dashboard with anonymized sample data

Why use it?

AI coding sessions often stop at the usage-limit boundary. Sending the next real prompt immediately can waste it on another limit response. Claude + Codex Queue keeps that prompt pending, waits for the reset, resumes the interrupted work with continua, and only then processes the rest of the queue in order.

The app works with sessions you already use. It does not create a separate chat system and does not require external Anthropic or OpenAI API keys.

What it supports

Source Discover Queue prompts Auto-continue Preserve settings
Claude Code in VS Code Yes Yes Yes Model, effort, permissions
Claude Desktop Code sessions Yes Yes, when locally resumable Yes Model, effort, permissions
Claude Code over Remote SSH Yes When enough metadata exists Yes Remote effective settings
Codex App tasks Yes Yes Yes Model, reasoning, sandbox, approvals

Additional capabilities:

  • newest-real-message sorting across Claude and Codex;
  • persistent FIFO queue with per-prompt priorities;
  • one-minute safety delay after a parsed reset time;
  • multi-account Claude metadata synchronization and chat transfer;
  • account mismatch and view-only checks before actions are enabled;
  • transcript confirmation after every Codex send;
  • local web UI plus a scriptable CLI;
  • no runtime Python dependencies outside the standard library.

Quick start

Windows app and Desktop shortcut

Requirements: Windows, WSL, Python 3.10+ in WSL, and at least one authenticated Claude Code or Codex CLI installation.

git clone https://github.com/ravhello/claude-codex-queue.git
cd claude-codex-queue
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\install-desktop-shortcut.ps1

Open Claude + Codex Queue from the Desktop. The launcher starts the local server and opens http://127.0.0.1:8765/.

To run it without installing a shortcut:

.\start-claude-codex-queue.ps1

Install the CLI from the latest wheel

Run this inside WSL:

python3 -m pip install claude-codex-queue
claude-codex-queue doctor
claude-codex-queue-web --host 127.0.0.1 --port 8765

The source checkout is recommended if you want the Windows launcher and Desktop shortcut. The wheel is useful for CLI-only installations.

How limit recovery works

flowchart LR
    A["Queued prompt"] --> B["Resume selected session"]
    B --> C{"Usage limit?"}
    C -- "No" --> D["Confirm prompt in transcript"]
    C -- "Yes" --> E["Keep prompt pending"]
    E --> F["Wait until reset + 60 seconds"]
    F --> G["Send 'continua'"]
    G --> H{"Previous work finished?"}
    H -- "Not yet" --> G
    H -- "Yes" --> A

Auto-continue can also monitor a selected session with an empty queue. It sends nothing while no active limit is detected.

Safety guarantees

  • The project does not bypass or evade provider limits.
  • The next queued prompt remains pending when a limit is detected.
  • Chat settings are fingerprinted and checked before sending.
  • External Anthropic and OpenAI API-key/base-URL overrides are removed from child processes, so local CLI authentication remains authoritative.
  • Codex dangerous bypass mode is never enabled implicitly.
  • Controls are disabled for sessions that are genuinely view-only.
  • Queue state and logs stay local under the detected Windows profile.

Read SECURITY.md before sharing diagnostics. Never publish private transcripts, authentication files, tokens, or unredacted logs.

CLI

claude-codex-queue doctor
claude-codex-queue list --limit 30
claude-codex-queue add --chat <selector> [--priority 100] "message"
claude-codex-queue status -v
claude-codex-queue check-settings
claude-codex-queue run
claude-codex-queue remove <item-id>
claude-codex-queue reset <item-id>
claude-codex-queue clear

<selector> accepts a visible row number, session-ID prefix, title fragment, or working-directory fragment. Multiple messages can be supplied in order or loaded from @prompt.md.

State and compatibility

New installations use:

<Windows user profile>\.claude-codex-queue

Existing installations automatically keep using .claude-vscode-queue, so an upgrade does not reset queues or logs. The old Python modules, commands, and launcher names remain as compatibility aliases.

Development

python3 -m unittest discover -s tests -v
python3 -m build
python3 -m twine check dist/*

See CONTRIBUTING.md, ARCHITECTURE.md, and the roadmap. Questions and setup help belong in Discussions; reproducible defects belong in Issues.

Project status

Current release: v0.2.3. The project is alpha software tested on Windows/WSL with local Claude Code and Codex App workflows. Upstream desktop metadata is not a public compatibility contract and may change between provider releases.

Claude + Codex Queue is an independent open-source project. It is not affiliated with, endorsed by, or sponsored by Anthropic or OpenAI.

Released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_codex_queue-0.2.3.tar.gz (73.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_codex_queue-0.2.3-py3-none-any.whl (63.0 kB view details)

Uploaded Python 3

File details

Details for the file claude_codex_queue-0.2.3.tar.gz.

File metadata

  • Download URL: claude_codex_queue-0.2.3.tar.gz
  • Upload date:
  • Size: 73.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for claude_codex_queue-0.2.3.tar.gz
Algorithm Hash digest
SHA256 82c4f0eafb0605e49fbf9c9d2b29e97b5309902c964ac841e10fa46703ac2e17
MD5 22b9de2acd025db201a27aafba96fb37
BLAKE2b-256 0dadc1d965d988f8c5ac1933ef78206048c3c469afc8da6453cb71321a9efa4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_codex_queue-0.2.3.tar.gz:

Publisher: publish-pypi.yml on ravhello/claude-codex-queue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file claude_codex_queue-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_codex_queue-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f1086d1631c2ebe2f6c841e01f37922e12c17abded268b863a2e1569c9b0489e
MD5 2f11857eaf60558cb73c81e0b6d95401
BLAKE2b-256 6d4c2888716e34b8a8de440e8bd820bacbfb74b9db49effefd0f1cfbd78972ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_codex_queue-0.2.3-py3-none-any.whl:

Publisher: publish-pypi.yml on ravhello/claude-codex-queue

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page