Agentline banner
OFCode-dev OFCode-dev

Agentline

Git community

Description

Zero-dependency Claude Code statusline: cost, context %, rate limits, git branch, MCP servers, system health.

Installation

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

README

agentline

**agentline** is a free, zero-dependency bash status line (statusline) for [Claude Code](https://claude.ai/code) that displays session cost, context-window usage, Claude rate limits, git branch, MCP servers, and system health in up to four adaptive lines. It turns the bottom of your terminal into a mission-control panel: model, tokens, running subagents, and the health of the machine itself, rendered by a single bash script.

It is open source under the MIT license, runs on macOS and Linux, and needs nothing beyond the tools already on your machine.

![agentline rendering four lines of session, environment, Claude and system information in a terminal](docs/preview.svg)

![License: MIT](https://img.shields.io/badge/license-MIT-green) ![Platform: macOS and Linux](https://img.shields.io/badge/platform-macOS%20%7C%20Linux-blue) ![Made with bash](https://img.shields.io/badge/made%20with-bash-1f425f) ![Dependencies: none](https://img.shields.io/badge/dependencies-none-success)

Why agentline?

Most Claude Code status lines show a model name and a folder. agentline is the most complete one available: it treats the status bar as four distinct layers and uses every column it is given:

  1. Session — what this conversation costs and consumes, at a glance.
  2. Environment — where you are: version, path, owner/repo@branch, session name, account, clock.
  3. Claude layer — what Claude is running right now: active MCP servers, live subagents, and a ready-to-paste claude --resume recovery command.
  4. System layer — what the host is doing: systemd service health, SSH sessions, cron jobs, listening dev servers.

What makes it different:

  • Zero dependencies. One bash file using python3, awk, git, top — tools already on every macOS and Linux box. No npm, no cargo, no daemon, no network requests.
  • Adaptive layout. Lines 3 and 4 disappear entirely when they have nothing to say, merge into one line when their combined width f