/install cs-relogin
CS Relogin Skill
Use this skill to perform OpenAI Codex account switching without openclaw onboard.
Hard rules
- Always execute
csdirectly, never callopenclaw onboardfor this task. - Keep flow non-interactive.
- If user provided a callback URL/code, do completion step immediately.
Workflow
-
If user input is exactly
cs relogin:- Run:
cs relogin - Return the login URL from command output.
- Ask user to finish browser auth and paste callback URL.
- Run:
-
If user input contains callback URL/code:
- Run:
cs relogin "\x3Ccallback-url-or-code>" - Return key result lines:
- relogin completed status
- gateway restart status
- active profile/account summary
- Run:
-
If user asks status/debug:
- Run:
cs relogin status cs status - Summarize pending state and active account.
- Run:
Output format
- Keep response concise and actionable.
- Include exact next command when another step is needed.
- Never expose full tokens/secrets.
- On command failure, include raw cs stderr first (do not guess the reason).
Acknowledgement rule (MUST)
- Every successful action must have an explicit acknowledgement (回执) to the user.
- Minimum acknowledgement content:
- what was executed (e.g.
cs relogin,cs relogin \x3Ccallback>,cs status) - whether it succeeded
- current state summary (pending relogin / active account)
- what was executed (e.g.
- If command output is missing or tool callback is flaky, immediately run:
then send acknowledgement based on those results.cs relogin status cs status - Never end silently after command execution.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install cs-relogin - After installation, invoke the skill by name or use
/cs-relogin - Provide required inputs per the skill's parameter spec and get structured output
What is CS Relogin?
Fast OpenAI Codex account switch for OpenClaw via the local cs command. Use when user sends `cs relogin`, asks to re-login or switch ChatGPT Codex account, o... It is an AI Agent Skill for Claude Code / OpenClaw, with 391 downloads so far.
How do I install CS Relogin?
Run "/install cs-relogin" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is CS Relogin free?
Yes, CS Relogin is completely free (open-source). You can download, install and use it at no cost.
Which platforms does CS Relogin support?
CS Relogin is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created CS Relogin?
It is built and maintained by Ajun (@anjun); the current version is v1.1.2.