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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cs-relogin" with this command: npx skills add anjun/cs-relogin

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:
      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:
      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:
      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:
    cs relogin status
    cs status
    
    then send acknowledgement based on those results.
  • Never end silently after command execution.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Acmesh

A pure Unix shell script ACME client for SSL / TLS certificate automation acmesh, shell, acme, acme-challenge, acme-protocol, acme-v2, ash. Use when you need...

Registry SourceRecently Updated
1050ckchzh
Coding

Webhook Tester

Webhook testing and debugging tool. Send test webhook payloads to any URL, simulate various webhook events (GitHub, Stripe, Slack), inspect responses, and lo...

Registry SourceRecently Updated
Coding

Uptime

Website and service uptime checker. Monitor URLs for availability, measure response times, check HTTP status codes, verify SSL certificates, and track uptime...

Registry SourceRecently Updated
Coding

Sslgen

Self-signed SSL certificate generator. Create SSL certificates for development, generate CA certificates, create certificate signing requests, and manage dev...

Registry SourceRecently Updated