codex-addons packages battle-tested utilities for developers who live inside the Codex CLI. The star of the toolkit is an interactive session explorer that helps you jump back into previous conversations in seconds.
- Faster context switching: Resume Codex CLI sessions from any repository without manually scraping JSON logs or remember your prompt (by using "codex resume")
- Worktree aware: Filter sessions by Git branch so multi-worktree setups stay tidy.
| Feature | Description |
|---|---|
| Interactive picker | Arrow keys or j/k navigation with instant codex resume <id> execution. |
| Plain-text output | Use --plain in scripts, shell prompts, or TUIs. |
| Git branch filter | --git shows only sessions recorded on the current branch/repo, perfect for worktrees. |
| Safety switches | --no-resume prints the command instead of running it. |
| Lightweight install | Pure Python, no dependencies beyond the standard library. |
Install directly from GitHub tags:
pip install --upgrade git+https://github.com/svendvd/codex-addons.git@v0.2.0The install step registers a global CLI entry point called codex-sessions.
codex-sessions # interactive picker
codex-sessions --plain --limit 5 # machine-friendly output
codex-sessions --git # only show sessions for the current Git branch
codex-sessions --no-resume # print, don’t execute, the resume commandBehind the scenes the CLI scans ~/.codex/sessions, hoists the first meaningful user prompt, and formats results as timestamp | session-id | cwd [branch] | prompt snippet.
- Check the releases page for the latest tag.
- Install it with
pip install --upgrade git+https://github.com/svendvd/codex-addons.git@vX.Y.Z. - Your existing
codex-sessionscommand picks up the new version automatically.
pip install -e .
python3 -m codex_addons.list_sessions --helpRun the interactive picker locally with python3 list_codex_sessions.py or hit the package entry point as shown above.
- Bump the version in
codex_addons/__init__.pyandpyproject.toml. git committhe changes and tag them (git tag v0.3.0).git push origin main --tags– GitHub Actions builds wheels via.github/workflows/release.ymland attaches them to the release so users can upgrade with a single pip command.
- richer search (prompt text, directory focus, custom limits)
- additional Codex CLI helpers (command history, telemetry analyzers, auto switch to worktree/branch)
- optional SQLite cache for faster lookups on huge session directories
MIT © Sven Nähler – Contributions welcome!