360 Secure SkillHub
360 安全技能中心

Codex Profile Orchestrator

面向 Windows OpenClaw 工作区的 Codex 多账号管理脚本:检测重复档案与同邮箱工作区变体,按 5 小时剩余量与周可用性选择最健康账号,隔离失效令牌,并把 Telegram 等会话覆盖同步到所选档案,附安装与自检流程。

分类:自动化
ugurinanc12
ugurinanc12
热度 36.60
最近更新 2026-05-18 11:46:21

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add ugurinanc12/codex-profile-orchestrator
兼容性
OpenClaw 专属
联网要求
需要联网
数据出网
必须出网
Metadata
name
codex-profile-orchestrator
description
deterministic openclaw codex profile failover for windows workspaces with duplicate detection, workspace variant aliases, quota-aware profile choice, telegram session sync, network outage protection, and install helpers. use when chatgpt needs to stabilize or rebuild multi-account codex switching, inspect auth-profiles.json, select the healthiest account, or package a safer replacement for fragile profile rotation logic.

Codex Profile Orchestrator

Use this skill to manage multiple Codex OAuth profiles without a fuzzy AI loop.

Core resources

  • scripts/codex_profile_orchestrator.py contains the full orchestrator, reporting, and self-test flow.
  • scripts/install_codex_profile_orchestrator.py writes a Windows-friendly config and starter script into an OpenClaw workspace.
  • references/state-model.md explains how identities, variants, duplicates, and invalid streaks are tracked.

Recommended workflow

  1. Install the config into the target workspace.
  2. Run a dry run first and inspect the JSON payload.
  3. Apply once.
  4. Start daemon mode only after the dry run looks correct.

Rules

  • Treat internet or ChatGPT reachability failures as transport incidents, not as broken accounts.
  • Quarantine only 401, 403, 400, missing-token, or clearly expired-token profiles.
  • Keep weekly availability as a hard gate. Keep five-hour remaining as the primary tie-breaker for switching.
  • Detect same email plus same user plus same account as a duplicate.
  • Detect same email plus same user plus different account as a workspace variant and register it as ws2, ws3, and so on.
  • Sync Telegram and other OpenClaw session overrides to the selected profile.