Skip to main content
pitboard statusline prints one line with the account in use and what every Claude Code account has left.

Add it to Claude Code

Claude Code runs the command in a shell, so pitboard must be on your PATH. If you installed only the app, see Add the app’s command line to your PATH. Add the statusLine field to ~/.claude/settings.json, beside any fields already there. If it already has a statusLine, see Combine it with your own status line instead.
~/.claude/settings.json
Claude Code runs the command after each response. With refreshInterval, Claude Code also runs it every 10 seconds, so an idle session shows what your busy sessions passed to pitboard. Each session then shows a line such as:

Read the line

The account in use comes first, in bold, then every other Claude Code account you enrolled. The line leaves out accounts of OpenAI’s Codex CLI and limits for a single model. For those, see Check what each account has left. Claude Code passes the account’s usage to its status line only on Pro and Max plans, after the session’s first response. Before that, or on other plans, the line shows pitboard’s last reading of the account in use.

Combine it with your own status line

If your status line script reads its input with input=$(cat), add this line to it:
Pass the input unchanged. Without the session’s session_id, pitboard still prints the line but records nothing.

What it reads and writes

pitboard statusline makes no network request, does not read the keychain and does not touch a login. It reads only what Claude Code passes, Claude Code’s config and pitboard’s files. It writes only in ~/.pitboard, where it records the usage each session passes, so pitboard and the app show it. For when it records usage, see How usage is read.