prodex
prodex is a wrapper around Codex / Claude Code setups when you want to work with multiple isolated profiles.
Main use case: one account per profile, quota checked before launch, and new sessions can hop to another ready profile when the current one is not a good candidate. Existing sessions stay pinned to the profile they started with.
It can also launch Caveman mode, and optionally wire Claude-Mem into the selected session path.
Features
- one account = one profile
- isolated profile homes
- quota preflight before launch
- rotates fresh work to another ready profile
- keeps continuation/session affinity
prodex cavemanfor Codex + Cavemanprodex caveman memfor Codex + Caveman + Claude-Memprodex claudefor Claude Code through the same poolprodex claude cavemanfor Claude Code + Cavemanprodex claude caveman memfor Claude Code + Caveman + Claude-Mem
Requirements
You need at least one logged-in Prodex profile.
Depending on what you want to run:
- Codex CLI for
prodexandprodex caveman - Claude Code (
claude) forprodex claudeandprodex claude caveman - optionally
claude-memformemvariants
Installing @christiandoxa/prodex from npm also installs the pinned Codex runtime dependency:
That pulls in @openai/codex@0.121.0 as well. Claude Code is still separate.
If you want Claude-Mem support, install it with the upstream installer:
Install
npm
Cargo
If you want a pinned version:
Quick start
If your current shared Codex home is already logged in:
Or do it from scratch:
Import a currently logged-in Copilot CLI account into Prodex metadata:
Check what Prodex sees:
Run stuff through Prodex:
prodex with no subcommand is just prodex run.
Commands
Profiles
A note on Copilot import:
prodex profile import copilot does not move the Copilot token into Prodex-managed storage. The token stays where Copilot already keeps it. Prodex only records the provider identity and API endpoint in its own metadata.
The imported profile shows up in the pool and export/import flows, but prodex run, prodex login, prodex logout, and prodex quota still only work with OpenAI/Codex profiles right now.
Codex
|
Caveman
prodex caveman uses the Caveman plugin from JuliusBrussee/caveman and launches Codex with a temporary overlay CODEX_HOME.
That matters because the base profile home is left alone after the session exits.
If you use the mem variant, Prodex points an existing Claude-Mem Codex setup at the active Prodex session path instead of the default ~/.codex/sessions tree.
Claude Code
Use prodex claude for the normal Claude Code path.
Use prodex claude caveman if you want Claude Code with Caveman preloaded.
The caveman prefix loads the plugin for that session only while still keeping state under the Prodex-managed CLAUDE_CONFIG_DIR, not global ~/.claude.
The mem prefix loads an existing Claude-Mem Claude Code install via Claude's --plugin-dir support.
prodex claude caveman mem combines both.
Export / quota / debug
Notes
This is basically a profile/session router for people who do a lot of CLI-driven agent work and do not want everything tied to one mutable global home.
If you only use one account and do not care about quota-aware routing or keeping sessions attached to their original profile, you probably do not need it.
More
See QUICKSTART.md for the longer walkthrough.