kc-statusline-setup

kc-statusline-setup is a skill for Claude Code from iamcxa/kc-claude-plugins. It costs 75 tokens per session (1,292 once invoked), scanned B, original, MIT.

A setup tool for Claude Code’s statusline, the small information line shown while it works. It can install a display for the model, Git branch, context use, and Anthropic’s five-hour and seven-day usage quotas.

In plain words
What is it for?
Installing or checking the usage statusline in Claude Code. It is for setup, not for directly displaying usage on request.
Why use it?
It avoids manually editing the Claude Code settings and statusline script, while checking whether the display is already configured.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the kc-hyperfocus plugin — 4 skills, 1 agent, 1 MCP server shipped together

Good fit Installing or checking the usage statusline in Claude Code. It is for setup, not for directly displaying usage on request.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add iamcxa/kc-claude-plugins
Claude Code
/plugin install kc-hyperfocus

Made for: Claude Code.

Or install kc-hyperfocus, the plugin that ships this one along with the rest of its 4 skills, 1 agent, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kc-statusline-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/iamcxa/kc-claude-plugins/kc-statusline-setup/github.svg)](https://agentmods.dev/skills/iamcxa/kc-claude-plugins/kc-statusline-setup)
Your own site
<a href="https://agentmods.dev/skills/iamcxa/kc-claude-plugins/kc-statusline-setup"><img src="https://agentmods.dev/badge/skills/iamcxa/kc-claude-plugins/kc-statusline-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kc-statusline-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/iamcxa/kc-claude-plugins/kc-statusline-setup"><img src="https://agentmods.dev/badge/skills/iamcxa/kc-claude-plugins/kc-statusline-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,292 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.01292
Opus 5 $0.00037 $0.00646
Sonnet 5 $0.00015 $0.00258
Haiku 4.5 $0.00007 $0.00129

Measured 8d ago against content hash 72bea929f70a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

kc-statusline-setup scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

find ~/.claude/plugins/cache/local/kc-hyperfocus -name "hyperfocus-statusline.js" 2>/dev/null | head -1
kc-hyperfocus/skills/kc-statusline-setup/SKILL.md · 171 lines

How it starts

The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Statusline Setup

Install a Claude Code statusline that shows model, git branch, context usage bar, and Anthropic 5h/7d usage quota.

Flow

digraph setup {
  rankdir=TB;
  node [shape=diamond];
  has_config [label="settings.json\nhas statusLine?"];
  has_usage [label="Script contains\nusage display?"];

  node [shape=box];
  read [label="Read settings.json"];
  check_script [label="Read statusline script\ngrep for usage indicators"];
  already [label="Already configured\nNothing to do"];
  confirm [label="STOP: ask user\nReplace? (y/n)"];
  install [label="Install hyperfocus-statusline.js\nUpdate settings.json"];
  verify [label="Verify + restart notice"];

  read -> has_config;
  has_config -> check_script [label="yes"];
  has_config -> install [label="no"];
  check_script -> has_usage;
  has_usage -> already [label="yes"];
  has_usage -> confirm [label="no"];
  confirm -> install [label="user says y"];
  confirm -> already [label="user says n"];
  install -> verify;
}

Step 1: Read Current Config

Read → ~/.claude/settings.json

Look for the "statusLine" key. If no entry exists → go to Step 3.

If found, extract the script file path from the command field. The command is typically node "/path/to/script.js" — extract the quoted JS path after node.

If the referenced script file does not exist (dead reference) → treat as "no statusLine" → go to Step 3.

Step 2: Check Existing Statusline

Read the extracted script file.

Usage indicators (any one = already configured):

  • getAnthropicUsage function name
  • oauth/usage API path
  • five_hour or seven_day response field

If ANY indicator found:

Your statusline already displays Anthropic usage quota. Nothing to do.

Current: <command path>

→ DONE. Do not modify anything.

If NO indicator found:

Your statusline does not include Anthropic usage quota.

Current: <command path>

Replace with hyperfocus statusline? This includes:
  - Model display
  - Directory + git branch
  - Context usage bar (with bridge file for context pressure hooks)
  - Anthropic 5h/7d usage quota

Your current statusline script will NOT be deleted — only the settings.json
pointer changes. You can revert by pointing back to the old script.

Replace? (y/n)

Read the full file on GitHub · 171 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 171 lines · 75 tokens per session scan B 72bea929f70a

Subscribe to this mod's changes

kc-statusline-setup is a skill published in the GitHub repository iamcxa/kc-claude-plugins (3 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 1,292 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.