richard-parayno/ccsidebar

使用量上限、コンテキストウィンドウ、プロンプトキャッシュのカウントダウン、ターンごとの活動、セッション統計、変更ファイルを表示できる、切り替え式 Claude Code 右サイドバープラグインです。
richard-parayno/ccsidebar

ccsidebar は Claude Code の右サイドバープラグインで、/sidebar で表示を切り替えられます。使用量上限、コンテキストウィンドウ、プロンプトキャッシュのカウントダウンリング、ターンごとの活動、セッション統計、変更されたファイルの一覧(A/M/R 状態と行数差分を含む)を表示します。配色にはターミナルの 16 色パレットを使い、shell のテーマに従います。/plugin marketplace add richard-parayno/ccsidebar で追加し、/plugin install ccsidebar@ccsidebar を実行してインストールします。ローカル開発では repo を mods フォルダーへリンクして CLAUDE_CODE_PLUGIN_DIRS を設定すると、ファイルを保存したときにすぐ再読み込みされます。
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add richard-parayno/ccsidebar claude plugin install ccsidebar
A toggle-able right sidebar mod for Claude Code showing usage limits, context window, prompt-cache countdown, per-turn activity, session stats and touched files. Colors use your terminal's 16-color palette, so they follow your shell theme.

/sidebar toggles the pane. r refreshes, x closes while it has focus./plugin marketplace add richard-parayno/ccsidebar
/plugin install ccsidebar@ccsidebar
Link the repo into a mods folder and list it in CLAUDE_CODE_PLUGIN_DIRS (the
env block of ~/.claude/settings.json; separate several with :):
mkdir -p ~/.claude/mods && ln -s ~/Code/ccsidebar ~/.claude/mods/ccsidebar
{ "env": { "CLAUDE_CODE_PLUGIN_DIRS": "~/.claude/mods/ccsidebar" } }
The folder is watched: saving a file reloads the mod live. Don't also install it from the marketplace on the same machine, or two copies load.
claude plugin validate .
claude plugin test .
tsc -p . # after one load, which lays the types in .claude-plugin/types/
| File | What |
| --- | --- |
| hooks/register.tsx | hooks and state: usage, context, turns, tools, cache timing |
| hooks/view.tsx | the drawing: sections, cards, type scale |
| hooks/pixels.ts | box grids and the terminal/theme palettes |
| hooks/cache.ts | prompt-cache TTL rule, hit/miss prediction, countdown ring |
| hooks/files.ts | per-file status (A/M/R) and line deltas |
| hooks/format.ts | numbers, durations, pace |
| types/index.d.ts | the $.state contract |