# Context Bar

> Show a single-line context usage progress bar with color-coded statusline

- Skill: `abhattacherjee/context-bar` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add abhattacherjee/context-bar`
- Raw SKILL.md: https://api.skillmd.com/api/skills/abhattacherjee/context-bar/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: abhattacherjee (https://skillmd.com/u/abhattacherjee)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/abhattacherjee/context-bar

---


Run this command. The Bash output IS the result — do NOT echo or repeat it in your response. Say nothing after the command runs.

```bash
bash ~/.claude/skills/context-bar/context-bar.sh
```

## Setup: Statusline with Context Bar

To always see context usage in your Claude Code statusline, copy `statusline-command.sh` to `~/.claude/` and add to your settings.json (user-level or project-level `.claude/settings.local.json`):

```json
{
  "statusLine": {
    "type": "command",
    "command": "bash ~/.claude/statusline-command.sh"
  }
}
```

The statusline shows model, directory, git branch, and a color-coded context bar (green <50%, amber 50-79%, red 80%+).

