install-meter · git:20260923.b0410a1 · 2026-09-23 · sha256 4a8879534466bcfd
install-meter git:20260923.b0410a1A
Immutable. This exact content never changes and is served at /api/v1/blob/4a8879534466bcfd.
---
name: install-meter
description: Add the terse context meter to the Claude Code status line. Use when the user asks to install, enable or show the context meter or percentage in the status line.
---
Add this entry to the user's `~/.claude/settings.json` (create the key if missing, keep every other key as is):
```json
"statusLine": {
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/statusline/context-meter.js\""
}
```
Use the absolute path shown above verbatim. Claude Code reloads the status line on save, no restart needed.
Then tell the user: the meter shows model name and context fill percentage. Colours: green below 37%, yellow from 37%, orange from 49%, skull from 60%. Thresholds sit low on purpose: retrieval quality degrades long before a large window fills (sources linked in the plugin README, meter section). The thresholds are the three numbers near the top of `context-meter.js`.