返回顶部
o

openai-auth-switcher-public

Web-first, publishable OpenClaw skill for OpenAI OAuth account switching. Use when you need a reusable public-track workflow for first-run takeover, environment discovery, doctor checks, runtime inspection, slot management, dry-run validation, controlled switch experiments, rollback planning, and release-safe packaging without bundling live auth snapshots, logs, callbacks, or other machine-specific runtime data.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.3.1-preview
安全检测
已通过
141
下载量
0
收藏
概述
安装方式
版本历史

openai-auth-switcher-public

# OpenAI Auth Switcher Public Use this skill as the **publishable public-track release** of the OpenAI auth switcher workflow. It is designed for OpenClaw administrators who want a **web-first, first-run-friendly, release-safe** workflow for OpenAI OAuth account takeover, inspection, dry-run validation, controlled switching, and public distribution. ## Purpose Keep the live/internal operator skill and the public distributable skill separated. This public track must: - avoid bundling live runtime state - avoid bundling auth snapshots, callbacks, backups, or token ledgers from a real machine - avoid machine-specific hard-coded paths where possible - document compatibility boundaries explicitly - provide a release-safe packaging workflow - keep temporary runtime files inside the skill runtime area, while encouraging important persistent state to live in an external state base via `OPENAI_AUTH_SWITCHER_PUBLIC_STATE_DIR` ## Core operating model Treat OpenClaw OpenAI OAuth switching as a high-sensitivity maintenance workflow. Always do work in this order: 1. Use `install.sh` as the default user-facing bootstrap entrypoint. 2. Run `doctor.py` when installation or environment checks fail. 3. Confirm runtime discovery with `env_detect.py`. 4. Inspect the current runtime before any switch logic. 5. Dry-run any target before proposing a write. 6. Keep rollback and backup behavior explicit. 7. Package only from this public skill directory or from a sanitized staging copy. ## Included scripts Primary public-release scripts: - `install.sh` — recommended user entrypoint; wraps the web bootstrap into a single shell command - `uninstall.sh` — recommended cleanup entrypoint before `clawhub uninstall` - `scripts/install_web_app.py` — one-shot web bootstrap for first-run access - `scripts/pick_port.py` — port selection helper (`9527` → `12138` → fallback) - `scripts/generate_web_credentials.py` — default admin credential generator - `scripts/doctor.py` — compatibility and environment checks - `scripts/env_detect.py` — OpenClaw path and runtime discovery - `scripts/paths.py` — centralized path resolution helpers - `scripts/inspect_runtime.py` — portable runtime inspection - `scripts/profile_slot.py` — public-safe slot metadata and local slot files - `scripts/rollback_experiment.py` — rollback helper using explicit backup sources - `scripts/switch_experiment.py` — controlled switch experiment with backup and rollback - `scripts/token_ledger.py` — local token attribution ledger rebuild - `scripts/hourly_usage.py` — hourly/daily rollup payload for local analytics - `scripts/package_public_skill.py` — release-safe packager wrapper Helper modules: - `scripts/auth_file_lib.py` - `scripts/probe_lib.py` - `scripts/lock_lib.py` - `scripts/state_lib.py` ## Compatibility and safety references Read only as needed: - `references/compatibility.md` — Python / Node / OpenClaw / OS expectations - `references/runtime-discovery.md` — path detection and override model - `references/install-and-runbook.md` — operator flow and first-run checks - `references/security-model.md` — sensitivity, boundaries, and redaction rules - `references/packaging-policy.md` — publish checklist and forbidden contents - `references/migration-notes.md` — relation to the internal/live skill ## Release rule Do not publish `skills/openai-auth-switcher` directly. Use the public skill directory for ClawHub publication and use a packaging wrapper that rejects runtime data, backups, session callbacks, and credential-bearing files. Recommended first release positioning: - version: `0.1.0` - tested on OpenClaw `2026.3.11` - tested on Python `3.11` - tested on Node.js `22.x` - Linux-first release

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 openai-auth-switcher-public-1776062767 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 openai-auth-switcher-public-1776062767 技能

通过命令行安装

skillhub install openai-auth-switcher-public-1776062767

下载 Zip 包

⬇ 下载 openai-auth-switcher-public v0.3.1-preview

文件大小: 72.77 KB | 发布时间: 2026-4-14 12:59

v0.3.1-preview 最新 2026-4-14 12:59
0.3.1-preview:修复认证后页面前端请求失败问题,确认新增账号流程可用,并保留真实接管逻辑供另一台 Claw 继续实战测试。

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部