---
title: "made a claude code mod that shows what's actually eating your context"
url: "https://claudemods.dev/en/builds/made-a-claude-code-mod-that-shows-what-s-actually-eating-you-b61b37"
source: "https://github.com/bcanozgur/cc-side-context"
source_type: "github"
repo: "https://github.com/bcanozgur/cc-side-context"
author: "Substantial_Row7215"
author_handle: "Substantial_Row7215"
stars: 4
category: "Dashboards & HUD"
categories: ["hud"]
tags: ["context-window", "desktop-app", "hooks", "plugin", "token-usage"]
permission_level: 2
scan_complete: false
install: "claude plugin marketplace add bcanozgur/cc-side-context\nclaude plugin install cc-side-context@cc-side-context"
added: "2026-11-25T04:38:10.096Z"
updated: "2026-11-24T16:07:41Z"
locale: "en"
content_locale: "en"
---

# made a claude code mod that shows what's actually eating your context

A Reddit author released cc-side-context, a Claude Code plugin that shows a side pane breaking down what is consuming your context window: the biggest outputs, how much each one takes, and when the prompt cache expires. It also adds a compact variant that preserves early instructions and a guard that bounces a repeated file read once if that file previously blew up context.

## Description

cc-side-context is an MIT-licensed Claude Code mod installed via /plugin marketplace add bcanozgur/cc-side-context and /plugin install cc-side-context@cc-side-context. It renders a pane beside the chat (plus an optional small bar above the prompt) listing the largest context consumers, their sizes, and prompt-cache expiry, and works in both the terminal and the desktop app through the new function-hooks mods API with TSX-rendered UI. Features include a compact mode whose summary retains early user instructions, and an opt-in guard that skips a file read once when that file has previously grown context substantially, letting the read through if Claude asks again. Requires Claude Code 2.1.287+ (desktop app 2.1.286). The author notes it runs locally and only contacts the network for exact token counts via the same API /context uses.

## Install

```
claude plugin marketplace add bcanozgur/cc-side-context
claude plugin install cc-side-context@cc-side-context
```

## Original README

got annoyed that /context only ever says "conversation 320k" and nothing else. dug into a transcript once and like 60k of it was the same package-lock.json getting read 3 times. so yeah

made a mod that sits next to the chat and just shows that. biggest outputs, how much each one takes, when the cache is gonna expire. theres a small bar above the prompt too if you dont want the whole pane. works in the terminal and the desktop app (left/right in the pic)

the thing i actually use most is c, its compact but it makes the summary keep the stuff i told it early on. compact kept dropping that for me. theres also a guard thing (x) that bounces a file read once if that file already blew up your context before. if claude asks again it just goes through so it never really blocks you  
needs claude code 2.1.287 or newer, desktop app 2.1.286  


`/plugin marketplace add bcanozgur/cc-side-context`

`/plugin install cc-side-context@cc-side-context`

  
built the whole thing in claude code sessions, mostly me describing what i wanted to see and claude writing the hooks + pane. it uses the new mods api (function hooks) so the pane is just tsx that claude code renders, same file draws in the terminal and the desktop app. biggest pain was the desktop side, the layout there is real html boxes not terminal cells so stuff that looked fine in iterm broke at narrow widths, took a bunch of rounds with screenshots back and forth

stuff i learned along the way: 4 chars per token is way off for non english text, turkish/accented stuff is closer to 2 and cjk is \~1, so my first estimates were lying. the 5h/7d usage only shows up with an api response so you cant really show it on startup without caching stale numbers (i chose not to). and the prompt cache is 1h on a sub but drops to 5m once youre on usage credits, which i didnt know

free and MIT, runs locally, doesnt send anything anywhere except when you ask for an exact token count (same api /context uses)

[https://github.com/bcanozgur/cc-side-context](https://github.com/bcanozgur/cc-side-context)

lmk if something breaks
