ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 Rocha101

quickswitch

ccswitch로 구동되며 상태 표시줄에서 Claude 계정을 한 번 클릭해 바꾸고 Token 상태 표시와 session 새로 고침을 추가하는 Claude Code mod입니다.

번역 완료

이 mod 소개

quickswitch는 Claude Code mod(hooks/register.tsx)로, 현재 계정을 mode label 옆의 status line에 표시합니다. 클릭하면 관리 계정 목록과 Token 만료 상태가 펼쳐지고, 하나를 선택하면 ccswitch switch를 실행합니다. session.start와 turn.complete hooks로 새로 고치며 ui.render는 PromptHint slot에 그립니다. Claude Code 2.1.287+, ccswitch, jq, git이 필요하고 curl 설치 스크립트와 수동 plugin-dir 설정도 제공합니다.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add Rocha101/claude-code-quickswitch
claude plugin install quickswitch
원문 / README
<div align="center">

quickswitch

Switch Claude accounts in one click — from the Claude Code status line.

Work seat, personal seat, the team account: one click on your email and pick.

MIT Claude Code mod powered by ccswitch Stars

English · Português

<img src="assets/demo.gif" alt="The account next to the mode label opens into a list of accounts with their token status" width="100%"> </div>

Why

Hitting the usage limit on one seat while another sits idle is the worst. ccswitch already swaps Claude Code credentials without the log-out/log-in dance — quickswitch puts it one click away, right where you're looking.

What you get

Your current account lives in the status line, next to the mode label:

<img src="assets/closed.png" alt="auto mode on · ⇄ [email protected]" width="100%">

Click it and the same spot turns into every account you manage, with how long each token has left:

<img src="assets/open.png" alt="the account list: active highlighted, expired dimmed" width="100%">
  • ● the active account, highlighted · ○ the others · expired tokens dimmed
  • click one → ccswitch switch → a toast confirms; ✕ closes without switching
  • the list refreshes on session start, after each switch and every turn — switches made in another terminal show up too
  • zero extra rows: no band, no panel, it is part of the status line

Install

You need ccswitch with your accounts added (ccswitch add).

curl -fsSL https://raw.githubusercontent.com/Rocha101/claude-code-quickswitch/main/install.sh | bash

Then open a new Claude Code session.

<details> <summary>Manual install</summary>
git clone https://github.com/Rocha101/claude-code-quickswitch ~/.claude/mods/claude-code-quickswitch

Add the folder to CLAUDE_CODE_PLUGIN_DIRS in the env block of ~/.claude/settings.json (:-separated), or start Claude Code with claude --plugin-dir ~/.claude/mods/claude-code-quickswitch.

</details>

Requirements: Claude Code 2.1.287+ (mods), ccswitch, jq, git. Clicking needs a terminal that reports the mouse (Claude Code's fullscreen mode); without one, ctrl+x tab focuses it and Enter presses.

Good to know

A switch applies on restart. ccswitch swaps the stored credentials; a running Claude Code keeps the old session until it restarts. After switching: /exit, then claude -c to continue right where you were. The toast reminds you.

If you also print your email in a custom status line script, drop it — quickswitch already shows it.

How it works

A Claude Code mod (hooks/register.tsx, ~80 lines):

  1. session.start and turn.complete run ccswitch list and parse the accounts.
  2. ui.render on PromptHint draws the account (or the open list) in the hint slot under the prompt.
  3. A press runs ccswitch switch <n> and refreshes.

Contributing

claude plugin validate .
claude plugin test .

Issues and PRs welcome. If quickswitch rescued you from a rate limit, leave a star ⭐

See also: glance — images and rendered HTML inline in Claude Code.

License

MIT © Rocha101 · account switching by ccswitch

비슷한 프로젝트