lexfrei

Ailine — Development skill for Claude Code

Development community

Claude Code statusline with real usage limits from Anthropic API.

How to install Ailine

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

What Ailine does

Claude Code statusline with real usage limits from Anthropic API.

Alternatives in Development

  • Claude API — Build apps with the Claude API or Anthropic SDK 94.1k ★
  • Codenotch — A macOS app that pins usage limits from Claude Code, Cursor, Codex, and Antigravity to a screen edge 1.3k ★
  • Claude Auto Resume — A shell script utility that automatically resumes Claude CLI tasks when usage limits are lifted 732 ★

README

ailine

[![CI](https://github.com/lexfrei/ailine/actions/workflows/ci.yaml/badge.svg)](https://github.com/lexfrei/ailine/actions/workflows/ci.yaml) [![Go](https://img.shields.io/github/go-mod/go-version/lexfrei/ailine)](https://go.dev/) [![License](https://img.shields.io/github/license/lexfrei/ailine)](LICENSE)

Real-time statusline for [Claude Code](https://docs.anthropic.com/en/docs/claude-code) showing live quota usage directly from stdin data.

Renamed from claudeline

This project used to be called claudeline. Upgrading through Homebrew or `apt upgrade` moves an existing install to ailine, and the `claudeline` command stays available as a link to `ailine`, so a `statusLine` pointing at it keeps working. `~/.claudelinerc.toml` is still read when `~/.ailinerc.toml` does not exist. Plain `apt-get upgrade` holds the transitional `claudeline` package back because it needs a new package; run `apt upgrade` or `apt install ailine` instead.

Example output

🤖 Opus 4.7 ⏫💭 | 🧠 67% | 🔄 2 | 🟡 7d: 42% (4d 2h) | 🔴 5h: 91% (27m) | 🐙 lexfrei/ailine 📝 #19 🌳 feat-api 🌿 feat/api

Segments

Segment Description
🤖 Model Active model name, with effort / thinking / fast-mode indicators (Claude Code v2.1.119+)
🐙 Repo Repository host icon, owner/name, optional #PR (!MR for GitLab merge requests, v2.1.234+), optional 🌳 worktree (linked worktrees only) and 🌿 branch (Claude Code v2.1.145+)
🌳 Worktree / 🌿 Branch Linked-worktree directory name and current branch; branch alone falls back here when no repository info is available
💰 Cost Cumulative session cost in USD (hidden by default for subscribers, see Cost mode)
⚠️/🔶/🔴 Status Anthropic platform status: ⚠️ degraded, 🔶 major outage, 🔴 critical (hidden when all clear)
🧠 Context Context window usage percentage (color-coded)
🧊 Prompt cache Shown only when the prompt cache has gone cold, naming the session's m