simplecore-inc/claude-mods/tree/main/mods/accounts
sc-accounts
여러 Claude 계정을 전환하고 사용량과 저장 공간을 보여 주며 프롬프트 위에 상태 밴드를 추가하는 SimpleCORE Claude Mods Accounts 플러그인입니다.
이 mod 소개
sc-accounts는 simplecore-inc/claude-mods의 일부입니다. /sc:accounts로 여러 Claude 로그인을 저장하고 실행 중인 세션을 전환하며 5시간·주간·모델별 사용량과 재설정 시간을 표시합니다. 날짜·모델·프로젝트별 로컬 token 사용량을 집계하고 ~/.claude를 확인·정리하며 프롬프트 위에 계정·모델·작업·브랜치·변경 줄 상태를 표시합니다. 선택형 webhook 전송은 기본적으로 꺼져 있습니다. 설치: claude plugin marketplace add simplecore-inc/claude-mods; claude plugin install sc@simplecore-mods.
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add simplecore-inc/claude-mods claude plugin install sc-accounts
원문 / README
SimpleCORE Claude Mods
Plugins for Claude Code that add panes, a status band and slash commands to the terminal: switch between several Claude accounts, watch their usage limits and token use, see and clean up what Claude Code keeps on the machine, and keep agents, worktrees, checkpoints, diffs and memory files in one pane. Install one plugin, sc, and you get them all.
What's inside
Accounts · /sc:accounts
- Keep several Claude logins and switch every running session to another in one step.
- See each account's five-hour, weekly and per-model usage, with reset times, and what it spent past its plan when Claude reports it.
- Usage: the tokens used on this machine by day, model and project, counted from Claude Code's transcripts.
- Storage: what
~/.claudeholds by kind and project, and a cleanup of idle sessions confirmed by typing a word. - A status band above the prompt: account, model and effort, task, context and usage, branch and PR, lines changed. Press the account's name to open the accounts pane, or the branch or the lines changed to open the workspace.
- An optional webhook sends the status to an external system. It is off by default; leave it off if you have nothing to send to.
Workspace · /sc:workspace
- Agents: the session's subagents, what each did last and the answers of those that finished, and the repository's worktrees; stop an agent, open a worktree's changes, remove a merged one.
- Checkpoints: a snapshot of the working tree before every prompt; compare with one, see one turn's changes, name and pin one, or restore it.
- Notes: numbered notes kept per project, optionally sent to Claude with every prompt; Claude can mark one done for you to confirm.
- Diff: the files changed since the session started or since a checkpoint, up to now or a later checkpoint; each file's diff, restoring one file, and a request for a commit message.
- Memory: the memory files Claude Code reads, global and project apart, to read as Markdown and search line by line.
Anything that cannot be taken back asks in a dialog first; Esc cancels.
Install
claude plugin marketplace add simplecore-inc/claude-mods
claude plugin install sc@simplecore-mods
sc installs sc-accounts and sc-workspace with it. The plugins are installed for your user, so they run in every session. Run /reload-plugins in a session that was already open.
To use a local clone instead, add its folder as the marketplace:
git clone https://github.com/simplecore-inc/claude-mods.git
claude plugin marketplace add ./claude-mods
claude plugin install sc@simplecore-mods
Update
claude plugin marketplace update simplecore-mods
claude plugin update sc@simplecore-mods
claude plugin update sc-accounts@simplecore-mods
claude plugin update sc-workspace@simplecore-mods
Then run /reload-plugins in each open session. With a local clone, git pull in the clone and /reload-plugins are enough: a plugin from a folder marketplace is read from that folder.
Uninstall
claude plugin uninstall sc@simplecore-mods
claude plugin prune
claude plugin marketplace remove simplecore-mods
prune removes sc-accounts and sc-workspace, which were installed as dependencies of sc; uninstall them by name instead if you installed them yourself. marketplace remove is only needed when you will not install from it again.
The mods leave some data behind, which you can delete by hand:
| What | Where |
| --- | --- |
| Saved logins | macOS: keychain items of the service account-switch. Elsewhere: ~/.claude/account-switch/ |
| Webhook token | macOS: the keychain item of the service sc-webhook. Elsewhere: ~/.claude/sc-accounts/webhook-token |
| Webhook template | ~/.claude/sc-accounts/ |
| Settings, account index, notes, checkpoint lists | ~/.claude/plugins/store/sc-*.json |
| Checkpoints | in each repository: the refs under refs/sc/ and the files .git/sc-snapshot-*.index |
~/.claude is CLAUDE_CONFIG_DIR when that is set. To delete a repository's checkpoints:
git for-each-ref --format='%(refname)' refs/sc/ | xargs -n 1 git update-ref -d
rm -f "$(git rev-parse --git-dir)"/sc-snapshot-*.index
The account you are logged in with stays logged in; only the saved copies go.
Language
The mods show English, and Korean where Claude Code's language setting is Korean; any other language falls back to English. Without that setting, LC_ALL, LC_MESSAGES and LANG decide, in that order.
Developing
Developing a mod covers the layout, the rules the engine enforces, the checks and how to release.
