claude

cs

claudeswitch for Claude Code: quota context at session start, and /cs skills to check usage, explain rotation, and switch or add accounts.

3 on GitHubby claudeswitchv0.8.22MITupdated 2 days agoproductivity
/

Plugin cs from marketplace claudeswitch in bogdan-alexandrescu/claudeswitch. Commands read from the repo's manifest — yesterday.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (10)

  • clean

    Clean up what Claude left behind once its work is merged — worktrees, local branches, lane clones, ended sessions' scratch, old plugin versions — to the Trash, reversibly. Use when asked to "clean up worktrees", "remove merged branches", "free disk space from old agent work", or "what can be cleaned

  • cs

    The claudeswitch command, like `cs` in a terminal. `/cs status`, `/cs why`, `/cs switch <id>`.

  • doctor

    Diagnose a claudeswitch installation — config, vault, keychain access, usage API, daemon, refresh policy, status line and plugin — and explain how to fix what fails. Use when claudeswitch misbehaves, a command errors, or accounts are not polling.

  • login

    Sign in to a Claude account and store it in the claudeswitch vault, verifying it is the right account — for adding an account or renewing one whose credential died. Use when asked to "add an account", "log in to X", or when doctor/switch reports a credential that needs signing in again.

  • pool

    Show and change claudeswitch's pools — which accounts each pool holds and which Claude Code profiles use it — and share accounts between profiles. Use when asked "which profiles can use X", "share this account with my other profile", "move X to another pool", or to create, rename or delete a pool.

  • session

    Report token usage for a span of work across every Claude account it touched, since rotation splits one session over several accounts. Use when asked "how much have I used today", "what did this session cost", or "usage across accounts".

  • setup

    Set up claudeswitch for Claude Code — check the binary is installed, add the quota status line to Claude Code's settings, and check the installation. Use after installing the claudeswitch plugin, or when asked to "set up claudeswitch" or "add the status line".

  • status

    Show how much Claude quota every claudeswitch account has left — session (5-hour) and weekly windows, resets, and which account is active. Use when asked "how much quota is left", "am I near my limit", "which account am I on", or before starting a long task when usage may be high.

  • switch

    Switch Claude Code to another claudeswitch account, hot and without a restart. Use when asked to "switch accounts", "move me to X", "use the account with the most room", or when the active account is at its limit.

  • why

    Explain claudeswitch's rotation decision — why it did or did not switch accounts, account by account. Use when asked "why didn't it switch", "why did it switch to X", "what will it do next", or when rotation looks wrong.

Hooks (4)

  • SessionStart

    sh "${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh"

  • PostToolUseFailure

    sh "${CLAUDE_PLUGIN_ROOT}/hooks/chrome-hint.sh"

  • PreToolUse

    sh "${CLAUDE_PLUGIN_ROOT}/hooks/claude-ai.sh" pre

  • PostToolUse

    sh "${CLAUDE_PLUGIN_ROOT}/hooks/claude-ai.sh" post

View source on GitHub

Similar plugins

caveman

claude

Talk like caveman. Cut filler. Keep technical details explicit.

22 skills · 1 command · 3 agents · hooks

JuliusBrussee/caveman 119,462

claude-mem

claudecodex

Persistent memory for Claude Code: the next session starts where the last one left off.

29 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

Taste Skill

claudecodex

tasteskill 2.5.1: professional company websites at the figma.com and x.ai level, with one section per screen, real photographs, real product UI, effects kept for tech and gaming pages, and a real-browser checker and finish gate.

1 skill

Leonxlnx/taste-skill 114,391

career-ops

claudecodex

Open-source AI job search that runs locally in your AI coding CLI: scan job portals, evaluate listings into a structured A-H report with a 1-5 score, tailor your CV, track applications

5 skills · hooks

career-ops-hq/career-ops 82,253

mem0

claudecodex

Cross-session memory and token savings for coding agents.

6 skills · 1 agent · 1 MCP server · hooks

mem0ai/mem0 68,893

pake

claudecodex

Package any website or local web build into a lightweight desktop app with Pake CLI.

1 skill

tw93/Pake 63,463

Maintain cs?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted