ops-accounts
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ops-accounts":https://skillpi.com/zh/skills/deepskill-7b9f668a7723fb3105b663457a7ce1d569dc1cc270b575521f111ffcce3383a7。安装前核对上游来源和版本:https://github.com/Lifecycle-Innovations-Limited/claude-ops。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
OPS 按需执行:当用户要求“轮换账户”或“切换……”时,应使用此技能。
介绍来源: third_party · Lifecycle-Innovations-Limited · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: ops-accounts
description: "OPS on-demand: This skill should be used when the user asks to \"rotate accounts\", \"switch…"
argument-hint: '[status|list|setup|switch|refresh|reauth|util|rotate-now|seats|gateway|help] [provider] [args…]'
allowed-tools:
- Bash
- Read
- Write
- Edit
- AskUserQuestion
effort: medium
maxTurns: 40OPS ► ACCOUNTS
Load ops-rules before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If AskUserQuestion / Workflow are missing, follow Rule 10 in ops-rules (Hermes: numbered options / two-turn Telegram card; delegate_task).
Canonical multi-provider seat manager. Same layers Anthropic has for Claude — for every provider:
| Layer | Verbs |
|---|---|
| Status / list | status, list |
| Setup / OAuth capture | setup |
| Switch active seat | switch, rotate-now (Claude) |
| Refresh tokens | refresh |
| Unattended reauth | reauth |
| Utilization / quota | util |
| Pooled seats across accounts | CLIProxyAPI (see /ops:ops-fleet) |
Aliases (compat): /ops:rotate → this skill (Claude-focused shortcuts).
/ops:rotate-setup → setup (wizard). /ops:account → same as this skill.
Providers
| Provider | Engine | Reauth | Util |
|---|---|---|---|
| Claude | scripts/account-rotation/rotate.mjs + staged enrollment |
signed stage/activate only | 5h/7d |
| Grok | slots + grok-cli-auth-proxy |
device-code + Google (dcli); residential egress cascade | weekly / 429 |
| OpenAI / Codex | codex-rotate when present |
OAuth bridge | usage best-effort |
| Factory | adapter TBD / quota-feed seeds | native | quota-feed patterns |
| Cursor | adapter TBD | browser/device OAuth | plan limits if available |
CLIProxyAPI is the only supported multi-account path. It holds one OAuth seat file per account and answers locally; rotate.mjs writes those seat files as part of a rotation. The earlier relay backend (claude-relay-service) has been removed — it required a static bearer token in settings.json for every session. For Grok, multi-seat round-robin lives on grok-cli-auth-proxy.
Router (bin/ops-accounts)
Always prefer:
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$(ls -d "$HOME/.claude/plugins/cache/ops-marketplace/ops"/*/ 2>/dev/null | sort -V | tail -1)}"
"$PLUGIN_ROOT/bin/ops-accounts" <cmd> …
| Command | Action |
|---|---|
status / list |
All configured providers (no secrets) |
util [claude\|grok\|all] |
Quota / utilization best-effort |
switch claude / rotate-now |
Claude keychain rotate (force-rotate / rotate.mjs) |
switch grok |
Next SuperGrok seat (grok-rotate switch) |
refresh [all\|claude\|grok] |
Keepalive / RT refresh |
reauth claude <email> |
Fails closed with staged-enrollment handoff |
reauth grok <email> |
Device reauth with residential cascade env |
setup / setup claude |
Claude direct auth is disabled; staged enrollment required |
setup grok |
Add/reauth SuperGrok seat |
seats |
Local multi-provider seat-state |
gateway |
Local OpenAI-compat gateway: status/start/path/self-test/config |
Claude setup / OAuth
When $ARGUMENTS is setup, setup claude, or this skill is invoked via
ops-rotate-setup alias: follow the full wizard in
skills/ops-rotate-setup/SKILL.md. That file
remains the detailed Claude setup procedure; this skill is the entrypoint.
Claude day-2 ops (status/rotate-now/list/reauth) also match
skills/ops-rotate/SKILL.md — treat that as Claude detail appendix.
Local seat-state
"$PLUGIN_ROOT/bin/ops-accounts" seats status
"$PLUGIN_ROOT/bin/ops-accounts" seats import-claude-config
node "$PLUGIN_ROOT/scripts/account-rotation/seat-state.mjs" toggle claude <email> false
File: $CLAUDE_PLUGIN_DATA_DIR/account-rotation/seat-state.json (or OPS_ACCOUNTS_STATE_PATH).
Grok notes
- CLI models often use
base_url→ host OAuth proxy → SuperGrok seats. grok-rotate/auth.jsonis the SuperGrok seat set; keep auth-slots in sync after reauth.- Reauth egress: EFG SOCKS (
GROK_REAUTH_SOCKS) → Bright Data tiers via
scripts/account-rotation/grok-reauth-egress.sh(residential cascade). - Proxy RR status:
curl -sS http://127.0.0.1:31845/accounts(no tokens).
Rules
- Never print tokens, cookies, OTP codes, or vault dumps.
- Never write real emails into committed files.
- Prefer
bin/ops-accountsover ad-hoc host paths. - A missing CLIProxyAPI is not a failure — single-seat rotation works without it.
- Dead RT →
reauth, never a relay install. - Background long OAuth (Rule 4).
Phase map
0 contract + this skill · 1 Claude parity · 2 CLIProxyAPI pool · 3 Grok complete ·
4 Codex+Factory · 5 Cursor · 6 companions · 7 host cutover · 8 local gateway
版本历史
-
v3.12.1
GitHub ↗
原版更新说明
### Fixed - ops-task-reminder: the portable lock now runs the whole counter transaction under a real fcntl.flock, so one worker can no longer remove another's fresh lock and lose counter updates.
-
v3.12.0
GitHub ↗
原版更新说明
### Changed Add /ops:ops-mix and evidence-only A&R mix-evidence mode using the configured Mixforge engine.
-
v3.11.0
GitHub ↗
原版更新说明
### Changed Release safety, maintenance and inbox fixes from #1033: passive daemon monitoring, timezone-safe AWS audit dates, fail-closed release merge gates (same-head CI, Copilot review, resolved threads), progressive inbox with attachment and archive read-back proofs, and gate-only outbound wording in ops-desk and ops-leadgen.
-
v3.10.29
GitHub ↗
原版更新说明
### Fixed - `ops-speedup --clean` stays under 60s: on macOS it skips the slow login-items query (#1036); on Linux it skips the unused disk-reclaim scan and keeps the page cache unless `--aggressive` is set (#1035). - `ops-inbox` shows validated drafts as soon as each one is ready instead of after the whole scan (#1031). ### Changed - Hooks `ops-pretool-skill-update` and `ops-task-reminder` run async; the reminder takes a per-session lock so concurrent runs no longer lose counts, and it now also resets on Task* tools (#1032).
-
v3.10.28
GitHub ↗
原版更新说明
### Changed ops-ar: Cyanite schema drift (fileUploadRequest id, ID! upload var), real auth test via libraryTracks, webhook must verify HMAC-SHA512 Signature, bpmRangeAdjusted vs bpmPrediction, Soundcharts app-id/key pairing.
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决多 AI 提供商账户轮换与 OAuth 管理的核心运维痛点
- 面向开发者/运维高频刚需场景,具备明确生产价值
亮点
- 触发词覆盖完整(rotate/switch/refresh/reauth)
- argument-hint 提供清晰命令结构
亮点
- Phase map 清晰划分开发阶段
- 命令路由表与端到端示例完整
- frontmatter 规范齐全
亮点
- 关键操作有安全门控(禁止打印 tokens)
- 覆盖 missing CLIProxyAPI 等异常路径
- 不可逆操作需用户确认
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 25, 41, 43, 45, 70 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- 127.0.0.1
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。