{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/codex-account-switcher",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=codex-account-switcher",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SETUP.md",
      "SKILL.md",
      "codex-accounts.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/codex-account-switcher",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Codex Account Switcher",
        "body": "Manage multiple OpenAI Codex identities (e.g. personal vs. work) by swapping the authentication token file."
      },
      {
        "title": "1. List Accounts",
        "body": "Show saved accounts (active one is marked with ACTIVE on the right). Default output is compact.\n\n--verbose includes refresh age + token TTL (debug)\n--json outputs the verbose info as JSON\n\n./codex-accounts.py list\n\nTo include emails/diagnostics:\n\n./codex-accounts.py list --verbose"
      },
      {
        "title": "2. Add an Account",
        "body": "Interactive wizard to capture login(s).\n\nAlways starts a fresh browser login (codex logout && codex login) so you explicitly choose the identity to capture.\nAfter each login it saves a snapshot.\nIn an interactive terminal it asks if you want to add another.\nWhen invoked non-interactively (e.g. via Moltbot), it runs single-shot (no \"add another\" prompt).\nWhen naming an account, press Enter to accept the default name (local-part of the detected email, e.g. oliver from oliver@…).\n\n./codex-accounts.py add"
      },
      {
        "title": "3. Switch Account",
        "body": "Instantly swap the active login.\n\n./codex-accounts.py use work"
      },
      {
        "title": "4. Auto-Switch to Best Quota",
        "body": "Check all accounts and switch to the one with most weekly quota available.\n\n./codex-accounts.py auto\n./codex-accounts.py auto --json\n\nOutput:\n\n🔄 Checking quota for 2 account(s)...\n\n  → sylvia... weekly 27% used\n  → oliver... weekly 100% used\n\n✅ Switched to: sylvia\n   Weekly quota: 27% used (73% available)\n\nAll accounts:\n   sylvia: 27% weekly ←\n   oliver: 100% weekly"
      },
      {
        "title": "Setup",
        "body": "See SETUP.md for prerequisites and setup instructions."
      }
    ],
    "body": "Codex Account Switcher\n\nManage multiple OpenAI Codex identities (e.g. personal vs. work) by swapping the authentication token file.\n\nUsage\n1. List Accounts\n\nShow saved accounts (active one is marked with ACTIVE on the right). Default output is compact.\n\n--verbose includes refresh age + token TTL (debug)\n--json outputs the verbose info as JSON\n./codex-accounts.py list\n\n\nTo include emails/diagnostics:\n\n./codex-accounts.py list --verbose\n\n2. Add an Account\n\nInteractive wizard to capture login(s).\n\nAlways starts a fresh browser login (codex logout && codex login) so you explicitly choose the identity to capture.\nAfter each login it saves a snapshot.\nIn an interactive terminal it asks if you want to add another.\nWhen invoked non-interactively (e.g. via Moltbot), it runs single-shot (no \"add another\" prompt).\nWhen naming an account, press Enter to accept the default name (local-part of the detected email, e.g. oliver from oliver@…).\n./codex-accounts.py add\n\n3. Switch Account\n\nInstantly swap the active login.\n\n./codex-accounts.py use work\n\n4. Auto-Switch to Best Quota\n\nCheck all accounts and switch to the one with most weekly quota available.\n\n./codex-accounts.py auto\n./codex-accounts.py auto --json\n\n\nOutput:\n\n🔄 Checking quota for 2 account(s)...\n\n  → sylvia... weekly 27% used\n  → oliver... weekly 100% used\n\n✅ Switched to: sylvia\n   Weekly quota: 27% used (73% available)\n\nAll accounts:\n   sylvia: 27% weekly ←\n   oliver: 100% weekly\n\nSetup\n\nSee SETUP.md for prerequisites and setup instructions."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/odrobnik/codex-account-switcher",
    "publisherUrl": "https://clawhub.ai/odrobnik/codex-account-switcher",
    "owner": "odrobnik",
    "version": "1.2.4",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}