# Send Codex Account Switcher to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "codex-account-switcher",
    "name": "Codex Account Switcher",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/odrobnik/codex-account-switcher",
    "canonicalUrl": "https://clawhub.ai/odrobnik/codex-account-switcher",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/codex-account-switcher",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=codex-account-switcher",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SETUP.md",
      "SKILL.md",
      "codex-accounts.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "codex-account-switcher",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T22:37:24.008Z",
      "expiresAt": "2026-05-08T22:37:24.008Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=codex-account-switcher",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=codex-account-switcher",
        "contentDisposition": "attachment; filename=\"codex-account-switcher-1.4.3.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "codex-account-switcher"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/codex-account-switcher"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/codex-account-switcher",
    "downloadUrl": "https://openagent3.xyz/downloads/codex-account-switcher",
    "agentUrl": "https://openagent3.xyz/skills/codex-account-switcher/agent",
    "manifestUrl": "https://openagent3.xyz/skills/codex-account-switcher/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/codex-account-switcher/agent.md"
  }
}
```
## Documentation

### Codex Account Switcher

Manage multiple OpenAI Codex identities (e.g. personal vs. work) by swapping the authentication token file.

### 1. List Accounts

Show saved accounts (active one is marked with ACTIVE on the right). Default output is compact.

--verbose includes refresh age + token TTL (debug)
--json outputs the verbose info as JSON

./codex-accounts.py list

To include emails/diagnostics:

./codex-accounts.py list --verbose

### 2. Add an Account

Interactive wizard to capture login(s).

Always starts a fresh browser login (codex logout && codex login) so you explicitly choose the identity to capture.
After each login it saves a snapshot.
In an interactive terminal it asks if you want to add another.
When invoked non-interactively (e.g. via Moltbot), it runs single-shot (no "add another" prompt).
When naming an account, press Enter to accept the default name (local-part of the detected email, e.g. oliver from oliver@…).

./codex-accounts.py add

### 3. Switch Account

Instantly swap the active login.

./codex-accounts.py use work

### 4. Auto-Switch to Best Quota

Check all accounts and switch to the one with most weekly quota available.

./codex-accounts.py auto
./codex-accounts.py auto --json

Output:

🔄 Checking quota for 2 account(s)...

  → sylvia... weekly 27% used
  → oliver... weekly 100% used

✅ Switched to: sylvia
   Weekly quota: 27% used (73% available)

All accounts:
   sylvia: 27% weekly ←
   oliver: 100% weekly

### Setup

See SETUP.md for prerequisites and setup instructions.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: odrobnik
- Version: 1.2.4
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T22:37:24.008Z
- Expires at: 2026-05-08T22:37:24.008Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/codex-account-switcher)
- [Send to Agent page](https://openagent3.xyz/skills/codex-account-switcher/agent)
- [JSON manifest](https://openagent3.xyz/skills/codex-account-switcher/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/codex-account-switcher/agent.md)
- [Download page](https://openagent3.xyz/downloads/codex-account-switcher)