ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 simplecore-inc

sc-workspace

Claude Code用のワークスペースペイン:エージェント、ワークツリー、チェックポイント、ノート、変更を1つのタブペインで統合管理

simplecore-inc@simplecore-inc

simplecore-inc/claude-mods/tree/main/mods/workspace

元の投稿の画像1
翻訳済み

この mod について

SimpleCORE Claude Mods

macOS: tested Linux: untested WSL: tested Windows: untested License: MIT

Claude Code 用のプラグイン。ターミナルに複数のペイン、ステータスバンド、スラッシュコマンドを追加します。複数のClaudeアカウント間の切り替え、使用限度とトークン使用量の監視、Claude Codeがマシンに保存しているコンテンツの表示と削除、エージェント、ワークツリー、チェックポイント、diff、メモリファイルを1つのペインで管理できます。プラグイン sc 1つをインストールするだけで全機能が利用できます。

内容

Accounts · /sc:accounts

アカウントペイン

プロンプト上のステータスバンド

  • 複数のClaudeログイン情報を保存し、実行中のセッションを別のアカウントに1ステップで切り替えます。
  • 各アカウントの5時間、週単位、モデル単位の使用状況、リセット時刻、およびClaudeが報告した計画超過時の支出を表示します。
  • 使用状況:このマシンでの日単位、モデル単位、プロジェクト単位のトークン使用量(Claude Codeのトランスクリプトから計算)。
  • ストレージ:~/.claude が種類別、プロジェクト別に保有するデータ容量と、入力検証語で確認したアイドルセッションのクリーンアップ。
  • プロンプト上のステータスバンド:アカウント、モデル、思考労力、タスク、コンテキストと使用状況、ブランチとPR、変更行数を表示します。アカウント名を押すとアカウントペインが開き、ブランチまたは変更行数を押すとワークスペースが開きます。
  • オプション webhook で外部システムにステータスを送信できます。デフォルトはオフです。必要がなければオフのままにしておいてください。

Workspace · /sc:workspace

ワークスペースペイン

  • Agents:セッションのサブエージェント、各エージェントの最後の操作内容と完了した応答、およびリポジトリのワークツリーを表示します。エージェントの停止、ワークツリーの変更を開く、マージ済みの項目を削除できます。
  • Checkpoints:すべてのプロンプト前のワークツリーのスナップショット。あるチェックポイントと比較、1つのターン分の変更を表示、チェックポイントに名前を付けてピン留め、または復元できます。
  • Notes:プロジェクト単位で保存した番号付きノート。オプションで各プロンプト時にClaudeに送信できます。Claudeは完了したノートにマークを付けることで確認を求められます。
  • Diff:セッション開始時またはチェックポイント以降から現在または後のチェックポイントまでの変更ファイル。各ファイルのdiff、単一ファイルの復元、コミットメッセージのリクエストができます。
  • Memory:Claude Codeが読み取るメモリファイルをグローバルとプロジェクト別に分けて表示。Markdownとして読み取り、1行ずつ検索できます。

取り消せない操作は、まずダイアログで確認を求めます。Escでキャンセルできます。

インストール

claude plugin marketplace add simplecore-inc/claude-mods
claude plugin install sc@simplecore-mods

sc は sc-accounts と sc-workspace をインストールします。プラグインはユーザー単位でインストールされ、すべてのセッションで実行されます。既に開いているセッションで /reload-plugins を実行してください。

ローカルクローンを使用するには、そのフォルダをマーケットプレイスとして追加します。

git clone https://github.com/simplecore-inc/claude-mods.git
claude plugin marketplace add ./claude-mods
claude plugin install sc@simplecore-mods

更新

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

各セッションで /reload-plugins を実行してください。ローカルクローンの場合、クローンで git pull を実行し /reload-plugins を実行するだけです。フォルダマーケットプレイスのプラグインはそのフォルダから読み込まれます。

アンインストール

claude plugin uninstall sc@simplecore-mods
claude plugin prune
claude plugin marketplace remove simplecore-mods

prune は sc-accounts と sc-workspace を削除します。これらは sc の依存関係としてインストールされました。自分でインストールした場合は、名前で指定してアンインストールしてください。marketplace remove は、そのマーケットプレイスから再度インストールしない場合のみ必要です。

これらのmodは一部データを残します。手動で削除できます。

| 内容 | 場所 | | --- | --- | | 保存されたログイン | macOS:サービス account-switch のキーチェーン項目。その他:~/.claude/account-switch/ | | Webhookトークン | macOS:サービス sc-webhook のキーチェーン項目。その他:~/.claude/sc-accounts/webhook-token | | Webhookテンプレート | ~/.claude/sc-accounts/ | | 設定、アカウントインデックス、ノート、チェックポイントリスト | ~/.claude/plugins/store/sc-*.json | | チェックポイント | 各リポジトリで:refs/sc/ 下の参照とファイル .git/sc-snapshot-*.index |

~/.claude は CLAUDE_CONFIG_DIR が設定されている場合その値です。リポジトリのチェックポイントを削除するには。

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

現在ログインしているアカウントはログインしたままです。保存されたコピーのみが削除されます。

言語

modは英語を表示し、Claude Codeの language 設定が韓国語の場合は韓国語を表示します。その他の言語は英語にフォールバックします。その設定がない場合、LC_ALL、LC_MESSAGES、LANG の順で判定されます。

開発

modの開発 ではレイアウト、エンジンが強制するルール、チェック、リリース方法について説明しています。

ライセンス

MIT

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add simplecore-inc/claude-mods
claude plugin install sc-workspace
原文 / README

SimpleCORE Claude Mods

macOS: tested Linux: untested WSL: tested Windows: untested License: MIT

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

The accounts pane

The status band above the prompt

  • 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 ~/.claude holds 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

The workspace pane

  • 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.

License

MIT

関連作品