用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/duclm1x1/Dive-Ai --skill codex-account-switcher命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Persistent memory system for AI agents following Model Context Protocol (MCP). Use for storing long-term memories across sessions, semantic search of past knowledge, building knowledge graphs, auto-injecting context, deduplicating memories, syncing to cloud storage. Essential for agents that need to remember decisions, solutions, preferences, and learned patterns over time.
Persistent memory system for AI agents following Model Context Protocol (MCP). Use for storing long-term memories across sessions, semantic search of past knowledge, building knowledge graphs, auto-injecting context, deduplicating memories, syncing to cloud storage. Essential for agents that need to remember decisions, solutions, preferences, and learned patterns over time.
Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.
正在显示 SKILL.md
基于 SOC 职业分类
| name | codex-account-switcher |
| description | Manage multiple OpenAI Codex accounts. Capture current login tokens and switch between them instantly. |
| metadata | {"clawdbot":{"emoji":"🎭","requires":{"bins":["python3"]}}} |
Manage multiple OpenAI Codex identities (e.g. personal vs. work) by swapping the authentication token file.
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
Interactive wizard to capture login(s).
codex logout && codex login) so you explicitly choose the identity to capture.oliver from oliver@…)../codex-accounts.py add
Instantly swap the active login.
./codex-accounts.py use work
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
auth.json files in ~/.codex/accounts/<name>.json.id_token to find the email address.~/.codex/auth.json with the saved copy.Add the script to your path for easy access:
ln -s $(pwd)/codex-accounts.py ~/bin/codex-accounts