| name | codex-keyring |
| description | Manage multiple Codex logins with aliases, manual switching, auto-switch failover, installer automation, and account health checks through the local codex-keyring MCP tools. |
Codex Keyring
Use this skill when the user wants to list, add, switch, remove, rename, or inspect Codex accounts managed by the codex-keyring extension.
Core Rules
- Prefer the
accounts.* MCP tools exposed by this plugin.
- Treat raw auth files, tokens, API keys, and refresh credentials as secrets. Never print them.
- Use aliases in user-facing responses. Only mention fingerprints or file paths when debugging.
- Respect the native Codex approach:
codex login for sign-in, file-backed cache for managed multi-account, no proxy routing.
Typical Flows
accounts.list
- Show aliases, active alias, auth mode, and health summary.
accounts.add
- Add a new alias using the official
codex login flow or capture the current active auth.
accounts.switch
- Move the active account to the requested alias with safe auth replacement.
accounts.set_auto_mode
- Enable or disable supported auto-switch.
accounts.stats
- Show per-alias health and limit-confidence data.
accounts.doctor
- Diagnose config, marketplace installation, and managed auth readiness.
Response Style
- Keep operational instructions concise and concrete.
- Call out if a result is
exact, estimated, or manual.
- If managed mode is not ready, explain the blocker and the next command to run.