ucsandman

Context Health Bar — Development skill for Claude Code

Development community

A Chrome extension that visualizes Claude context health as a compact orb and helps you hand off long chats to a fresh conversation.

How to install Context Health Bar

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ucsandman/context-health-bar and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Context Health Bar does

A Chrome extension that visualizes Claude context health as a compact orb and helps you hand off long chats to a fresh conversation.

Alternatives in Development

  • Chrome Devtools MCP — Chrome DevTools for coding agents 29504 108 1 31.7k ★
  • Create Handoff — You are tasked with writing a handoff document to hand off your work to another agent in a new session 10k ★
  • Mem0 Chrome Extension — OpenMemory Chrome Extension: Long-term memory for ChatGPT, Claude, Perplexity, Grok etc 671 ★

README

Context Health Bar for Claude

A Chrome extension that visualizes Claude context health as a compact orb and helps you hand off long chats to a fresh conversation.

![Orb UI](docs/screenshots/refresh_context.png)

What It Does

Context Health Bar gives a real-time, heuristic signal for when Claude may start degrading due to instruction drift and long context. It does not read Claude's internal state and does not track or send data anywhere.

![Hover Panel](docs/screenshots/yellow_50.png)

Features

  • Compact orb UI with colored ring and percentage (green, yellow, red)
  • Hover panel with char/token/message stats
  • Manual pinning of important user messages
  • Auto-detect core instructions
  • Refresh Context handoff (opens a new chat with a formatted summary)
  • Copy Handoff button (clipboard fallback)
  • Auto-load history (pulls older messages into the DOM)
  • Handoff detail level: compact / standard / rich

Installation (Local)

  1. Open chrome://extensions/
  2. Enable Developer mode
  3. Click "Load unpacked"
  4. Select this folder

Usage

  • The orb appears at the top-right. Hover to see stats and settings.
  • Click Refresh Context when health drops. It opens a new Claude chat and inserts a formatted handoff.
  • Click Copy Handoff if you want to paste the handoff manually.
  • Hover over a user message to pin it; pinned messages are treated as core instructions.

Release Zip (GitHub)

Create a clean zip for releases:

.\scripts\package.ps1

This outputs `dist\context-health-bar.zip`. Upload that file to a GitHub Release.

How Health Is Calculated

Health starts at 100 and drops based on three factors:

  1. Instruction distance

    • If the last core instruction is far back in the conversation, health drops.
    • If no instructions are detected, a small penalty ramps with length.
  2. Length penalty (uses the maximum of these three):

    • Token estimate (chars / 4)
    • Visible conversation character count
    • Message count
  3. Noise penalty