statusline-generator

Generate Claude Code statuslines with model, costs, path, and Git status.

1.3k|212|Updated Oct 22, 2025
One-click install
npx skills add https://github.com/daymade/claude-code-skills --skill statusline-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: statusline-generator
Source: https://github.com/daymade/claude-code-skills/tree/main/statusline-generator
Command: npx skills add https://github.com/daymade/claude-code-skills --skill statusline-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @anthropic-ai/ccusage, jq, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the customization and configuration of Claude Code's statusline, allowing users to display essential information like costs, git status, and current path in a clear, multi-line format.

Core Features & Use Cases

  • Multi-Line Layout: Optimizes statusline for portrait screens, separating information into distinct lines.
  • Cost Tracking: Integrates with ccusage to display real-time session and daily costs.
  • Use Case: Set up a custom statusline that shows your current conversation cost, the git branch you're working on, and your project path, all in a glance.

Quick Start

Install the default multi-line statusline for Claude Code.

Frequently Asked Questions about statusline-generator

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

FAQPage Schema
How do I customize my Claude Code statusline to show costs and git status?

You can customize your Claude Code statusline using this Skill to display model, costs tracked via ccusage, current path, and git branch status in a multi-line layout optimized for portrait or narrow screens. The Skill provides scripts for installation and settings.json integration with color customization options.

Can I track session and daily costs in my Claude Code statusline?

Yes, this Skill integrates with ccusage to display real-time session and daily costs in your statusline. It includes caching and background refresh to keep cost data current without impacting performance.

What's the best way to set up a multi-line statusline for Claude Code on narrow screens?

This Skill generates a three-line statusline layout that separates model information, costs, path, and git status into distinct lines. It handles model name shortening and path shortening to fit narrow screens while maintaining readability.

Do I need additional tools to display git status in my Claude Code statusline?

This Skill requires jq as a dependency to process and display git status indicators alongside your statusline information. It automates git-status integration so you see your branch and repository state at a glance.

How does this Skill handle statusline installation and configuration?

The Skill provides script-based installation that automatically integrates with Claude Code's settings.json. It manages configuration, applies color customization, and sets up ccusage-based cost display with background refresh.