ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
GitHub repositories · by richard-parayno

ccsidebar

A toggleable Claude Code right sidebar plugin showing usage limits, context window, prompt-cache countdown, per-turn activity, session statistics and changed files.

richard-parayno@richard-parayno

richard-parayno/ccsidebar

Original post image1
Translated

About this mod

ccsidebar is a Claude Code right-sidebar plugin that you can toggle with /sidebar. It covers usage limits, the context window, a prompt-cache countdown ring, per-turn activity, session statistics and a list of changed files (including A/M/R status and line deltas). Its colors use the terminal's 16-color palette and follow your shell theme. Install with /plugin marketplace add richard-parayno/ccsidebar, then run /plugin install ccsidebar@ccsidebar. For local development, link the repo to the mods folder and set CLAUDE_CODE_PLUGIN_DIRS; saving a file then reloads it immediately.

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

claude plugin marketplace add richard-parayno/ccsidebar
claude plugin install ccsidebar
Original text / README

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.

ccsidebar showing limits, context, cache, activity, session and files

Use

  • /sidebar toggles the pane. r refreshes, x closes while it has focus.
  • Opens on its own at 144+ columns if you left it open last time.

Install

/plugin marketplace add richard-parayno/ccsidebar
/plugin install ccsidebar@ccsidebar

Develop locally

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.

Develop

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 |

Similar projects