ookla-ariel-ride

Claude Code Statusline Ps — Git skill for Claude Code

Git community

PowerShell 7 status line for Claude Code on Windows: context meter, cost, rate limits, git branch, mode badges.

How to install Claude Code Statusline Ps

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ookla-ariel-ride/claude-code-statusline-ps and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Statusline Ps does

PowerShell 7 status line for Claude Code on Windows: context meter, cost, rate limits, git branch, mode badges. One or two lines, plain or powerline, configured by a small JSON file. Nerd Font glyphs, no modules.

Alternatives in Git

  • Cc Usage — by ryoppippi - Handy CLI tool for managing and analyzing Claude Code usage, based on analyzing local Claude Co 11.7k ★
  • 40+ Claude Code Tips — Tips for getting the most out of Claude Code, including a custom status line script, cutting the system prompt 5.8k ★
  • Skill Copilot Provider — GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode 2.8k ★

README

claude-code-statusline-ps

A PowerShell status line for [Claude Code](https://code.claude.com) on Windows. One script, one small JSON config, a Nerd Font.

[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![PowerShell 7+](https://img.shields.io/badge/PowerShell-7%2B-5391FE.svg?logo=powershell&logoColor=white)](https://github.com/PowerShell/PowerShell) [![Windows](https://img.shields.io/badge/platform-Windows-0078D4.svg?logo=windows&logoColor=white)](#requirements)

![Status line rendered in Windows Terminal with JetBrainsMono Nerd Font](docs/statusline.png)

Left to right: model, context meter, cost, lines changed, rate limits, mode badges, folder, and the branch with its change counts. Each segment starts with a Nerd Font icon, which GitHub cannot show in text, so the rest of this file names the icons instead.

![Two-line powerline layout](docs/statusline-two-line.png)

The same data in the two-line powerline layout. Both come from one script; a small JSON file picks the layout and style.

About

Claude Code can hand its status bar to any command that reads a JSON payload on stdin and prints a line. The examples in its docs are bash scripts. This one is PowerShell 7. It needs a Nerd Font and nothing else, and it installs into your user settings with one command. It shows the numbers you would otherwise have to go looking for: how full the context window is, what the session has cost, how close you are to a rate limit, and which modes are on.

Features

  • Context meter with a ten-block bar, percent, and used/total tokens. Green, then yellow, then red.
  • Rate limits for the 5-hour and 7-day windows, with a countdown to the next 5-hour reset, and the spend limit when Claude Code reports one (accounts behind a Claude apps gateway with a spend limit).
  • Session cost and lines added or removed.
  • Badges for fast mode, extended thinking, effort level, and vim mode. They disappear when nothing is on.
  • Folder and git branch, with a hom