← ClaudeAtlas

ops-rotatelisted

Multi-account Claude Max rotator. Status, manual rotation, account list, add-account wizard. Requires account_rotation_enabled=true in plugin settings.
Lifecycle-Innovations-Limited/claude-ops · ★ 17 · AI & Automation · score 86
Install: claude install-skill Lifecycle-Innovations-Limited/claude-ops
# OPS ► ROTATE Manage the optional multi-account Claude Max rotator. Off by default — flip `account_rotation_enabled` in plugin settings to use it. ## Subcommands | `$ARGUMENTS` | Action | | -------------- | ---------------------------------------------------------------- | | (none) or `status` | Show current account, 5h%/7d%, total rotations, daemon health | | `rotate-now` | Force rotation to the most-cooled candidate (or `--to <email>`) | | `list` | List every configured account with token state + last util | | `add-account` | Interactive wizard: collect email, OAuth into rotator vault | ## Pre-flight (every invocation) 1. Read `account_rotation_enabled` from plugin preferences. If false, tell the user how to enable and exit. 2. Resolve paths: - `ROT_DIR=${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops}/account-rotation` - `ROT_SRC=${CLAUDE_PLUGIN_ROOT}/scripts/account-rotation` 3. If `$ROT_DIR` doesn't exist yet, mirror the runtime layout: ``` mkdir -p "$ROT_DIR" cp "$ROT_SRC/config.example.json" "$ROT_DIR/config.json" # only if missing ``` 4. Verify Node 20+: `node --version`. If missing, fail fast with install hint. ## status (default) Run: ``` node "$ROT_SRC/rotate.mjs" --status node "$ROT_SRC/rotate.mjs" --utilization 2>/dev/null | head -40 launchctl list 2>/dev/null | grep com.claude-ops.account-rotation || echo "daemon: not loaded" ``` Render a compact pa