Skip to content

Instantly share code, notes, and snippets.

View AmanThuL's full-sized avatar

Rudy Zhang AmanThuL

View GitHub Profile
@AmanThuL
AmanThuL / statusline-command.sh
Last active April 22, 2026 19:58
My Claude Code Statusline
#!/usr/bin/env bash
# Claude Code statusline script
# Layout matching reference screenshot:
# Row 1: <cwd-basename> ⎇ <branch> (+adds,-dels)
# Row 2: Model: <name> Thinking: <style> v<version>
# Row 3: Context: [████░░░] used/total (pct%) Cached: X Cost: $X
# Row 4: Limits: (subscription) 5h [bar] used/total (pct%) 7d [bar] ...
# OR (API key): API: session tokens in=X, out=X
# Row 5: Session: <name> Session ID: <uuid>