Claude Rotator
Description
Local OAuth proxy that auto-rotates Claude Code accounts across usage limits on macOS and Linux.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
claude-rotator
[](https://github.com/taskbrain/claude-rotator/actions/workflows/ci.yml) [](./LICENSE) 
Claude Code の複数アカウントを、リクエストのモデルと利用枠に応じてローカルで自動的に使い分ける非公式プロキシツールです。macOS と Linux で動作します。
`claude-rotator` は `127.0.0.1` だけで待ち受ける Anthropic 互換の HTTP プロキシを起動し、Claude Code の `~/.claude/settings.json` の `ANTHROPIC_BASE_URL` をこのプロキシへ向けます。インストール後も、Claude Code は通常どおり `claude` コマンドで起動できます。
**依存パッケージはゼロです**([package.json](./package.json) に `dependencies` はなく、Node.js 標準ライブラリのみで実装されています)。外部パッケージ経由のサプライチェーンリスクが無いため、コードを読んで監査するコストが低く抑えられています。
npm レジストリでは配布していません(`package.json` は `"private": true`)。使うにはこのリポジトリを clone して `npm install -g .` でローカルインストールします。
目次
- v0.2.0 の主な更新
- なぜ作ったか
- できること
- しくみ
- 利用上の注意
- 動作環境
- セットアップ
- アカウント登録
- モニター
- OAuth認証情報の自動更新
- 設定ファイルと環境変数
- ログと切り替え診断
- 主なコマンド
- アップデート
- アンインストール
- トラブルシュート
- 安全設計
- 開発
- English
v0.2.0 の主な更新
- モデル別ルーティング: Fable リクエストは Fable 枠が利用可能なアカウントへ、Sonnet / Opus / Haiku は共通枠が利用可能なアカウントへ、HTTP リクエストごとに振り分けます。
- 並列利用に対応: 複数ターミナルやサブエージェントが異なるモデルを同時に使っても、それぞれのリクエストを独立して判定します。
- 復帰順が見える status / monitor: モデル系列ごとに、今使えるアカウントと、次に復帰するアカウント・時刻・その後の順番を表示します。十分に広い端末ではアカウント詳細を2列にします。
- OAuth更新の安定化: 保存済みの Keychain / credential file を使い、通常の Claude Code ログインを切り替えずに OAuth token を更新します。競合や結果不明時は誤った認証情報を使わず停止します。
既存環境から更新する場合は [アップデート](#アップデート) を参照してください。
なぜ作ったか
Claude Code は、5時間ごとにリセットされる短期の利用枠(以下「5時間枠」)と、7日ごとにリセットされる長期の利用枠(以下「7日枠」)の2種類の上限で使用量を管理しています。どちらかが100%に達すると、そのアカウントでは応答が返らなくなります。
複数の Claude アカウントを契約していれば、枠に達したアカウントから別のアカウントへ切り替えることで作業を継続できます。しかし手作業での切り替えには
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11