ClaudeCodeMod

All shelves / Mods / Usage

sidebar

By FayequeP

sidebar is a Claude Code usage mod by FayequeP.

Docks a stats sidebar beside the chat: tasks, context, tokens, the limits or cost a session used, cache hit rate and expiry, output speed, and git.

Draws

Install

The marketplace name is claude-mod-sidebar.

In your shell
claude plugin marketplace add FayequeP/claude-mod-sidebar
claude plugin install sidebar@claude-mod-sidebar
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.20
License
MIT
Repo stars
3
Last change
2026-10-04

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Sees tool calls

Claude Code 2.1.269 or later with function hooks turned on: CLAUDE_CODE_ENABLE_FUNCTION_HOOKS set to 1 in the env block of ~/.claude/settings.json. To dock it as a sidebar in the terminal, use the fullscreen renderer, /tui fullscreen; on the classic screen it shows as a strip above the prompt. It turns Claude Code's task tools back on for its own sessions, unless you set CLAUDE_CODE_ENABLE_TODO_TOOLS to 0. /sidebar shows and hides it. The marketplace line names the repository's old name, FayequeP/claude-mod-sidebar.

The marketplace, claude-mod-sidebar, holds only this plugin. Context, tokens, and the cache in view is why this page files it under usage. cockpit, by drkokorev, opens a panel beside the transcript with context, rate limits, cost, subagents, tool calls, changed files, and tests. paneline, by markneonin, draws a side pane of activity, files, agents, context, MCP, skills, and spend. This one measures the model's real output speed and time to first token, works out the prompt cache's lifetime the way Claude Code does and counts down to its expiry, and shows what the session used of your 5-hour and weekly limits on a subscription, or its cost in dollars on an API key.

Demo

The author's picture of the sidebar in the terminal, toggled with ctrl+x s: the context at 0.0% of 1M tokens; input, output, cache read, cache write, and total tokens; a cache hit rate of 99.2% that expires in 55:06 of an hour on a subscription; the time to the first token and output speed; and the workspace's folder, branch, status, and lines changed.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/sidebar
  • ui.renderDraws into the sessionAbovePromptPane
  • ui.closeWhen its pane closes
  • tool.callAround a tool call, where it can hold one
  • turn.stepAt each step of a turn

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /sidebarShow or hide the sidebar

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
FayequeP
Category
Usage
Marketplace
claude-mod-sidebar
Repo
FayequeP/sidebar
Version
0.1.20
License
MIT
Repo stars
3
Last change
2026-10-04
Language
TypeScript
Files
16

Other mods in Usage

subagent-statusline-desktopGerardoFC8Draws the subagent statusline as a band above the prompt in the desktop app: model, effort, cost, context, running subagents, and the 5-hour and weekly limits.pulselineGregoryHoDraws a band above the prompt when a tool fails three times in a row, a call runs past a minute, or autocompact is a few turns off; /pulseline opens a ledger.session-radaribrahimkobeissyDocks a sidebar of limits, context, subagents, MCP servers, skills, background shells, and the task list, with a toast when a shell or agent ends.token-speedliuyejinghongDraws a line above the prompt for the main agent and each running subagent: model, effort, context fill, and the last and 24-hour output speed from Magpie.effort-routernextscapePicks the main thread's effort for each prompt with a Haiku judgment, raises it a level when a turn runs long, and shows the level on the status line.quality-routernextscapeHolds a commandPicks each prompt's effort and each subagent's model and effort with Haiku, refuses rule-breaking Workflow scripts, and shows its state on the status line.context-meternoash-xrcDraws two rows at the right of the band above the prompt: context fill, the rate-limit windows, session cost, the prompt cache, the model, and its effort.idle-compactnoash-xrcRuns /compact on a session idle for 55 minutes with 120k tokens or more, just before the prompt cache expires, and shows a toast when it did.swiss-knifenocodehackHolds a commandChimes and turns its strip red when Claude needs you, forecasts when plan limits run out, writes handoffs, and asks before destructive commands.sesscloneNotTahaAliReports each turn's tokens, model, and timings to a SessClone dashboard, with a line above the prompt that shows whether this session is synced.context-widgetoMaN-RodDraws the context window as a stacked bar, one color per /context category, on a card under the prompt or docked beside the transcript.cost-visibilitypatitowHolds a commandDraws a two-line band above the prompt with the plan windows, this chat's list-price cost split into main and subagents, and context. /spend opens a pane.
All 183 in Usage