本文へ移動
cccskills
無料GitHub で公開

caam

Manage AI coding CLI accounts with sub-100ms switching. Use when hitting rate limits on Claude Max, GPT Pro, or Gemini Ultra subscriptions and need instant account swapping without browser OAuth.

インストール方法を見る

含まれるファイル(4)

  • SKILL.md5.2 KB
  • references/COMMANDS.md4.6 KB
  • references/ISOLATED-PROFILES.md3.8 KB
  • references/VAULT.md4.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

<!-- TOC: Quick Start | THE EXACT PROMPT | Smart Rotation | TUI | Isolated Profiles | References -->

CAAM — Coding Agent Account Manager

Core Problem: You hit rate limits on your $200/mo Claude Max subscription. Browser OAuth takes 30-60 seconds. CAAM swaps accounts in ~50ms.

Quick Start

# Install
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/coding_agent_account_manager/main/install.sh?$(date +%s)" | bash

# Backup current account
caam backup claude alice@gmail.com

# Clear, login with another account, backup that too
caam clear claude
claude  # /login with bob@gmail.com
caam backup claude bob@gmail.com

# Switch instantly forever
caam activate claude alice@gmail.com   # ~50ms
caam activate claude bob@gmail.com     # ~50ms

THE EXACT PROMPT — Daily Commands

Check Status

caam status

Shows active profile for each tool based on content hash matching.

Instant Switch

caam activate claude bob@gmail.com

Restores auth files from vault. ~50ms, no browser.

Smart Auto-Switch

caam activate claude --auto

Rotation algorithm picks best profile based on health, recency, cooldowns.

Mark Rate Limited

caam cooldown set claude

Marks current profile for 60min. Rotation skips it.

Zero-Friction Aliases

# Add to .bashrc/.zshrc
alias claude='caam run claude --'
alias codex='caam run codex --'
alias gemini='caam run gemini --'

# Now these auto-failover on rate limits
claude "explain this code"

How It Works

Each AI CLI stores OAuth tokens in plain files. CAAM backs them up and restores them:

~/.claude.json ←→ ~/.local/share/caam/vault/claude/alice@gmail.com/
~/.codex/auth.json ←→ ~/.local/share/caam/vault/codex/work@company.com/

That's it. No daemons, no databases, no network calls. Just cp with extra steps.


Supported Tools

ToolSubscriptionAuth Files
Claude CodeClaude Max ($200/mo)~/.claude.json, ~/.config/claude-code/auth.json
Codex CLIGPT Pro ($200/mo)~/.codex/auth.json
Gemini CLIGemini Ultra (~$275/mo)~/.gemini/settings.json, ~/.gemini/oauth_credentials.json

Smart Rotation

When you have multiple accounts, rotation picks the best one:

# Preview what rotation would select
caam next claude

# Let it pick automatically
caam activate claude --auto

Health Indicators

IconStatusMeaning
🟢HealthyToken valid >1hr, no recent errors
🟡WarningToken expiring <1hr, minor issues
🔴CriticalToken expired, repeated errors
⚪UnknownNo health data yet

Rotation Algorithms

AlgorithmDescription
smart (default)Cooldown + health + recency + jitter
round_robinSequential, skipping cooldowns
randomRandom among non-cooldown

Cooldown Tracking

# Mark current profile (60min default)
caam cooldown set claude

# Specify profile and duration
caam cooldown set claude/work@company.com --minutes 120

# View active cooldowns
caam cooldown list

# Clear early
caam cooldown clear claude/work@company.com

TUI Dashboard

caam tui

Keybindings

KeyAction
↑/↓Navigate profiles
EnterActivate selected
pSet project association
cMark/clear cooldown
rRefresh
qQuit

Project Associations

Link profiles to directories:

cd ~/projects/work-app
caam project set claude work@company.com

# Now in this directory:
caam activate claude  # Auto-uses work@company.com

Command Reference

CommandDescription
caam backup <tool> <email>Save current auth to vault
caam activate <tool> <email>Restore auth from vault
caam activate <tool> --autoAuto-select best profile
caam status [tool]Show active profiles
caam ls [tool]List saved profiles
caam clear <tool>Remove auth files (logout)
caam run <tool> [-- args]Wrap with auto-failover
caam cooldown set <profile>Mark as rate limited
caam cooldown listShow active cooldowns
caam next <tool>Preview rotation selection
caam tuiInteractive dashboard

Flywheel Integration

ToolIntegration
NTMEach tmux pane uses different account via isolated profiles
Agent MailAgents coordinate account switching across sessions
CASSSearch sessions by account for usage patterns

References

TopicReference
Complete commandsCOMMANDS.md
Isolated profilesISOLATED-PROFILES.md
Vault structureVAULT.md

Validation

# Verify installation
caam --version

# Check all profiles
caam status

# Test switch
caam activate claude --auto && caam status

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

The philosophy and practical benefits of agent fungibility in multi-agent software development. Why homogeneous, interchangeable agents outperform specialized role-based systems at scale.

日本語の概要は準備中です。原文の説明を表示しています。

Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations732026年9月6日 更新

MCP Agent Mail for multi-agent coordination. Use when agents need file locks, messaging, inboxes, or conflict prevention. Handles macro_start_session, file_reservation_paths, send_message, threading, pre-commit guards.

日本語の概要は準備中です。原文の説明を表示しています。

Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations732026年9月6日 更新

Jeffrey Emanuel's multi-agent implementation workflow using NTM, Agent Mail, Beads, and BV. The execution phase that follows planning and bead creation. Includes exact prompts used.

日本語の概要は準備中です。原文の説明を表示しています。

Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations732026年9月6日 更新

Convert markdown plans into beads with dependencies using br CLI. Use when creating task graphs, polishing beads before implementation, or bridging planning to agent swarm execution.

日本語の概要は準備中です。原文の説明を表示しています。

Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations732026年9月6日 更新

bv

無料

Beads Viewer - Graph-aware triage engine for Beads projects. Computes PageRank, betweenness, critical path, and cycles. Use --robot-* flags for AI agents.

日本語の概要は準備中です。原文の説明を表示しています。

Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations732026年9月6日 更新

cass

無料

Mine past agent sessions for working prompts, decisions, and patterns. Use when "what did I ask?", "find that prompt", session archaeology, or agent history.

日本語の概要は準備中です。原文の説明を表示しています。

Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations732026年9月6日 更新

Dicklesworthstone のスキルをすべて見る

このスキルの問題を報告する