Back to browse
My custom Statusline for Claude Code (Python wrapper around claudeline)

My custom Statusline for Claude Code (Python wrapper around claudeline)

by Reebz·May 21, 2026·3 points·4 comments

AI Analysis

●●SolidNiche GemCozy

Parses transcript JSONL to show true 1M context % when claudeline caps out.

Strengths
  • Direct JSONL parsing avoids API limits and captures real-time session state accurately.
  • Custom compaction window env var lets users tune auto-compact triggers before hitting limits.
  • Git dirty-state detection and TODO summary integration add genuine workflow visibility.
Weaknesses
  • Fragile dependency on claudeline's stdout format; any upstream change breaks the wrapper.
  • Requires manual JSONL file access and env var configuration, adding setup friction.
Target Audience

Developers using Claude Code CLI who want enhanced status information

Similar To

claudeline

Post Description

Hey everyone - After lots of tweaking and tinkering to find what I like, sharing my favorite way to see my Claude Code statusline. Hope you like it too.

The linked GH gist is a Python wrapper around claudeline that pipes its output through a few transformations and adds custom behaviors like a true-1M context %, and a custom context window alert threshold with some emoji tweaks.

Similar Projects