← Back to Skills Marketplace
tutouguai1933

OpenClaw OpenAI Multi Account

by tutouguai1933 · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
409
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install openclaw-openai-multi-account
Description
Manage multiple OpenAI OAuth login accounts inside OpenClaw, including OpenAI Codex OAuth account snapshots, switching, real active-account detection, 5-hour...
Usage Guidance
This skill legitimately manipulates your OpenClaw account files (reading/writing openclaw.json and agent auth-profiles.json) to snapshot and switch accounts. The red flag is the default quota-probe URL in the script (CODEX_USAGE_URL) pointing at chatgpt.com—a non-official host—which the script may call while sending Authorization tokens. Before installing: 1) Inspect the full scripts yourself (you have them bundled); search for network calls and confirm the endpoint(s). 2) If you want to use quota probing, set OPENCLAW_CODEX_USAGE_URL to a trusted internal/mock server or remove/disable probing. 3) Run the tool in an isolated/test environment first (use a disposable OPENCLAW_HOME with test credentials). 4) Backup your OpenClaw configs (openclaw.json and agents/*/agent/auth-profiles.json) before use. 5) If you cannot verify the endpoint or author, treat this as untrusted code and avoid giving it access to real credentials.
Capability Analysis
Type: OpenClaw Skill Name: openclaw-openai-multi-account Version: 1.0.2 The skill manages OpenAI OAuth tokens by reading/writing sensitive files in `~/.openclaw/` and transmitting them to a remote endpoint (`chatgpt.com`) to monitor usage. While these actions align with the stated purpose of account switching and the script uses restricted file permissions (0o600), the inherent risk of credential handling and the ability to override the usage URL via environment variables (`OPENCLAW_CODEX_USAGE_URL`) qualify it as suspicious under the review criteria. Furthermore, the script contains a `NameError` in `cmd_import_codex` (undefined `CODEX_ACCOUNTS_DIR`) and references specific local developer paths in `SKILL.md`, indicating potential quality issues or an incomplete state.
Capability Assessment
Purpose & Capability
The code and SKILL.md align with the stated purpose of reading/writing OpenClaw auth files, snapshotting profiles, rotating accounts, and probing quota. However there are several mismatches: the SKILL.md and scripts reference invoking `openclaw` and an optional `codex` CLI even though the registry declares no required binaries; the default usage probe URL in the script is set to an unexpected domain (https://chatgpt.com/backend-api/wham/usage) rather than an OpenAI or clearly-official Codex endpoint. Those items are disproportionate or unexplained by the description.
Instruction Scope
The runtime instructions and the Python implemention read and write sensitive files (openclaw.json and every agent's agent/auth-profiles.json), modify agent config ordering, and propagate tokens across agent workspaces—this is expected for an account-switcher. However the code also probes quota by calling an external HTTP endpoint and (when present) will include bearer tokens in requests. That network probe is outside the minimal scope of local account management and could transmit sensitive auth data to a remote host.
Install Mechanism
This is an instruction-only skill with bundled Python scripts and no install spec. No arbitrary remote install or archive download is present in the registry metadata; the code runs locally. That lowers install risk, but the provided scripts will be written to disk as part of skill files and will operate on the user's OpenClaw home directory.
Credentials
The script uses several environment variables (OPENCLAW_HOME, OPENCLAW_PRIMARY_AGENT, OPENCLAW_FALLBACK_MODEL, OPENCLAW_CODEX_USAGE_URL) to control behavior, but the registry lists no required env vars. Most are legitimate for configuration, but OPENCLAW_CODEX_USAGE_URL defaults to a non-OpenAI domain (chatgpt.com). The code uses stored OAuth access tokens when probing usage; an attacker-controlled or unintended endpoint here could receive bearer tokens or account-identifying data. This is the clearest disproportionate risk.
Persistence & Privilege
The skill does not request always:true and doesn't alter other skills' configs. It will create and maintain a local state directory (~/.openclaw/openai-codex-accounts/) and update OpenClaw agent auth files, which is expected for its purpose and proportional to its function.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-openai-multi-account
  3. After installation, invoke the skill by name or use /openclaw-openai-multi-account
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
Add live auth alias reconciliation, session-safe auto switching, 10-minute checks, and 5h/weekly soft+hard thresholds.
v1.0.1
Clarify that this skill manages multiple OpenAI OAuth login accounts inside OpenClaw; refine description and intro wording.
v1.0.0
Initial public release: OpenClaw-native OpenAI/Codex multi-account management, quota probing, ACTIVE repair, auto-enroll, threshold-based auto-switch, and fallback model support.
Metadata
Slug openclaw-openai-multi-account
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is OpenClaw OpenAI Multi Account?

Manage multiple OpenAI OAuth login accounts inside OpenClaw, including OpenAI Codex OAuth account snapshots, switching, real active-account detection, 5-hour... It is an AI Agent Skill for Claude Code / OpenClaw, with 409 downloads so far.

How do I install OpenClaw OpenAI Multi Account?

Run "/install openclaw-openai-multi-account" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is OpenClaw OpenAI Multi Account free?

Yes, OpenClaw OpenAI Multi Account is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does OpenClaw OpenAI Multi Account support?

OpenClaw OpenAI Multi Account is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created OpenClaw OpenAI Multi Account?

It is built and maintained by tutouguai1933 (@tutouguai1933); the current version is v1.0.2.

💬 Comments