hanzhangzzz

Coding Usage Bar — Development skill for Claude Code

Development community

macOS menu bar usage monitor for Claude Code, Codex, GLM, DeepSeek, and MiniMax.

How to install Coding Usage Bar

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

What Coding Usage Bar does

macOS menu bar usage monitor for Claude Code, Codex, GLM, DeepSeek, and MiniMax.

Alternatives in Development

  • Cc Bar — Native macOS menu bar app: track quota, usage and cost for Codex (multi-account) and Claude Code, from your me 119 ★
  • CoderBar — Native macOS agent control for Codex and Claude — monitor, approve, ask, and jump back from the menu bar 100 ★
  • Claude Code Config Switcher — Switch between multiple Claude Code providers (Kimi, GLM, MiniMax, etc.) with a single command 85 ★

README

Coding Usage Bar

[English](README.md) · [简体中文](README.zh-CN.md)

**Claude Code and Codex usage monitoring in your macOS menu bar.** Track rolling plan limits across Claude Code, OpenAI Codex, GLM (Zhipu AI), DeepSeek, MiniMax, and Kimi (Moonshot AI) before a coding session hits the wall.

[![npm](https://img.shields.io/npm/v/coding-usage-bar.svg)](https://www.npmjs.com/package/coding-usage-bar) [![CI](https://github.com/hanzhangzzz/coding-usage-bar/actions/workflows/test.yml/badge.svg)](https://github.com/hanzhangzzz/coding-usage-bar/actions/workflows/test.yml) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![platform](https://img.shields.io/badge/platform-macOS-lightgrey.svg?logo=apple)](#requirements)

![Coding Usage Bar showing Claude Code, Codex, GLM, DeepSeek, MiniMax, and Kimi plan usage in the macOS menu bar](docs/assets/hero.png)

Coding Usage Bar does more than display quota percentages. It compares short rolling windows with the weekly budget and labels your pace as learning, under-burning, on track, over-burning, or close to a limit.

Claude Code and Codex data stays local and is read from files those tools already produce. Provider API keys for GLM, DeepSeek, and MiniMax are stored only in `~/.coding-usage-bar/config.json` and sent directly to their respective quota APIs. Kimi reads its key from `~/.coding-usage-bar/config.json` or, when unset, from the kimi.com lane in `~/.config/claude-lanes/config.env`.

Live SwiftBar Menu

The menu bar title and the dropdown panel are captured from the live SwiftBar plugin and placed on a plain backdrop. The animation reproduces opening and closing that menu without altering the captured usage data.

Opening the live Coding Usage Bar SwiftBar menu with Codex, Claude, GLM, DeepSeek, MiniMax, and Kimi usage

Quick Start

npx coding-usage-bar install
coding-usage-bar doctor
coding-usage-bar status