kc-statusline-setup

Install a Claude Code statusline displaying Anthropic usage quotas and session context.

3|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/iamcxa/kc-claude-plugins --skill kc-statusline-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kc-statusline-setup
Source: https://github.com/iamcxa/kc-claude-plugins/tree/main/kc-hyperfocus/skills/kc-statusline-setup
Command: npx skills add https://github.com/iamcxa/kc-claude-plugins --skill kc-statusline-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many Claude Code users lack a unified statusline that displays model, git branch, context usage, and Anthropic 5h/7d usage quotas, making it hard to monitor quota and context pressure at a glance. This Skill provides a safe, repeatable way to check whether a statusline already shows Anthropic usage and to install a vetted hyperfocus statusline by updating the settings pointer without destroying existing scripts.

Core Features & Use Cases

  • Non-destructive configuration: Only updates ~/.claude/settings.json to point to an existing statusline script; it never creates or overwrites the user's statusline script.
  • Detection and confirmation: Reads the configured script to detect usage indicators (getAnthropicUsage, oauth/usage, five_hour, seven_day) and prompts the user before replacing an existing statusline.
  • Path resolution and verification: Resolves absolute script paths in local and cache plugin directories, verifies the resolved script by executing it, and reports installation results and restart instructions.
  • Use Case: Install the hyperfocus statusline to surface Anthropic quota and context usage in your local Claude Code session while preserving your previous script reference.

Quick Start

Run the kc-statusline-setup skill to install or verify the statusline and confirm replacement when prompted.

Frequently Asked Questions about kc-statusline-setup

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

FAQPage Schema
How do I display Anthropic usage quotas in my Claude Code statusline?

To display Anthropic usage quotas in your Claude Code statusline, you need to update your ~/.claude/settings.json to point to a statusline script that tracks usage indicators like five_hour and seven_day quotas.

Can I update my Claude Code statusline without overwriting my existing script?

Yes, you can update your Claude Code statusline without overwriting your existing script by only modifying the settings.json statusLine.command pointer to reference a new node invocation, leaving the original script file intact.

How does Claude Code detect if my statusline already shows Anthropic usage?

Claude Code detects existing Anthropic usage indicators by reading your configured statusline script and checking its contents for specific markers like getAnthropicUsage, oauth/usage, five_hour, and seven_day before prompting for replacement.

What is the process to install a statusline plugin for local Claude Code sessions?

The process to install a statusline plugin involves resolving absolute script paths under ~/.claude/plugins, verifying the script output by executing it, and updating ~/.claude/settings.json to confirm the node invocation works correctly.

Do I need to manually edit settings.json to add a Claude Code statusline?

You do not need to manually edit settings.json yourself; the setup process safely updates the statusLine.command property with the resolved absolute path to the script and provides restart instructions.

Why is my Claude Code statusline not showing session context and git branch information?

Your Claude Code statusline is not showing session context and git branch information because your current script lacks these features, requiring an update to a vetted statusline script that surfaces model, git branch, and context usage data.