statusline-generator

Configure Claude Code statuslines with multi-line layouts, cost tracking, and git indicators.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/HuuBar/skill-routing-experiment --skill statusline-generator-huubar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: statusline-generator
Source: https://github.com/HuuBar/skill-routing-experiment/tree/main/unified_skills/daymade/statusline-generator
Command: npx skills add https://github.com/HuuBar/skill-routing-experiment --skill statusline-generator-huubar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, ccusage, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Claude Code statuslines are often terse and lack key context like session costs and repository state. This Skill provides a configurable, multi-line statusline that surfaces user, model, cost, and git information in a compact portrait-friendly layout.

Core Features & Use Cases

  • Multi-line statuslines optimized for narrow screens and portrait displays.
  • Cost tracking integration via ccusage for session and daily costs.
  • Git status indicators (clean/dirty, branch, and simple markers) and color customization for visibility.

Quick Start

Install the default multi-line statusline and restart Claude Code to apply the statusline.

Frequently Asked Questions about statusline-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I display Claude Code session costs in my statusline?

You can display Claude Code session costs by integrating the ccusage tool into a custom statusline script. This Skill configures a multi-line statusline that uses ccusage to fetch and cache session and daily cost data directly in your terminal view.

How do I customize a multi-line Claude Code statusline for a portrait display?

To customize a multi-line Claude Code statusline for portrait displays, you apply shell scripts that format a 3-line layout. This Skill provides an installation method to configure narrow-screen layouts with ANSI color codes and git indicators.

Does the Claude Code statusline support git branch and dirty status indicators?

Yes, the Claude Code statusline supports git branch and dirty status indicators. It uses shell scripts to detect your repository state and displays clean or dirty markers with customizable ANSI color codes for high visibility.

Do I need jq and ccusage installed to configure cost tracking in my statusline?

Yes, you need jq and ccusage installed to configure cost tracking in your statusline. These dependencies are required to parse the JSON data and calculate the session and daily costs displayed in the multi-line layout.

Why is my Claude Code statusline not showing the cached cost data?

Your Claude Code statusline might not show cached cost data if the temporary caching directory in /tmp is missing or if ccusage fails to run. This Skill relies on /tmp for cost caching to prevent delays and ensure the statusline renders quickly.