I made a small Bash profile manager for Codex CLI
I’ve been using Codex CLI with different accounts / working contexts, and switching between them manually started to get messy.
So I made a small Bash tool called codex-profile.
It lets you create and switch between isolated Codex profiles by changing CODEX_HOME, while optionally sharing useful local context like:
- sessions
- memories
- rules
- skills
- MCP config
The idea is simple: keep auth/runtime state separated per profile, but avoid duplicating the parts you actually want to reuse across profiles.
It also has a safety reminder to back up your original .codex directory before using it.
Repo:
https://github.com/yalcin/codex-profile
Feedback, bug reports, and suggestions are welcome.
u/yalcin — 4 days ago