Security v1.1.2

cs-relogin

Fast OpenAI Codex account switch for OpenClaw via the local cs command. Use when user sends `cs relogin`, asks to...

anjun 更新于 2026-03-03 1 浏览
下载 SKILL

技能说明

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, or pastes OAuth callback URL/code to complete login.

使用场景

Use this skill to perform OpenAI Codex account switching without openclaw onboard.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/cs-relogin
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 22 kB
SKILL.md text/markdown
---
name: cs-relogin
description: 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, or pastes OAuth callback URL/code to complete login.
allowed-tools: ["Bash(cs:*)"]
metadata: {"clawdbot":{"emoji":"🔐"}}
---

# CS Relogin Skill

Use this skill to perform OpenAI Codex account switching without `openclaw onboard`.

## Hard rules

- Always execute `cs` directly, never call `openclaw onboard` for this task.
- Keep flow non-interactive.
- If user provided a callback URL/code, do completion step immediately.

## Workflow

1. If user input is exactly `cs relogin`:
   - Run:
     ```bash
     cs relogin
     ```
   - Return the login URL from command output.
   - Ask user to finish browser auth and paste callback URL.

2. If user input contains callback URL/code:
   - Run:
     ```bash
     cs relogin "<callback-url-or-code>"
     ```
   - Return key result lines:
     - relogin completed status
     - gateway restart status
     - active profile/account summary

3. If user asks status/debug:
   - Run:
     ```bash
     cs relogin status
     cs status
     ```
   - Summarize pending state and active account.

## 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 <callback>`, `cs status`)
  - whether it succeeded
  - current state summary (pending relogin / active account)
- If command output is missing or tool callback is flaky, immediately run:
  ```bash
  cs relogin status
  cs status
  ```
  then send acknowledgement based on those results.
- Never end silently after command execution.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。