codex-switcher
Installation
SKILL.md
Codex Switcher
Use this skill to manage multiple local Codex accounts on one OpenClaw host with a simple snapshot workflow.
Bundled executable:
scripts/cs.sh
What this skill is
This is a small local account manager for Codex on OpenClaw.
Core idea:
- keep OpenClaw's active Codex slot as
openai-codex:default - store each account as a separate snapshot under
~/.openclaw/auth-snapshots/ - switch accounts by injecting snapshot credentials into
~/.openclaw/agents/main/agent/auth-profiles.json - inspect account identity and quota from the active token itself
- refresh snapshot tokens before expiry
This avoids filling openclaw.json with a growing roster of Codex aliases.