statusline-config

statusline-config is a skill for Claude Code from sd0xdev/sd0x-harness. It costs 92 tokens per session (3,396 once invoked), scanned B, original, MIT.

A configuration tool for the status line in Claude Code, the command-line coding assistant. It controls which project, Git, model, context, cost, and theme details appear there.

In plain words
What is it for?
Use it to change status-line segments, colors, themes, and displayed context or usage information.
Why use it?
It keeps important session information visible while coding and lets developers tailor the display to their workflow.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; names the AskUserQuestion tool; positional $N argument.

Part of the sd0x-dev-flow plugin — 98 skills, 16 agents, 5 hooks shipped together

Good fit Use it to change status-line segments, colors, themes, and displayed context or usage information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sd0xdev/sd0x-harness/statusline-config
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sd0xdev/sd0x-harness --skill statusline-config
Clone the repo
git clone --depth 1 https://github.com/sd0xdev/sd0x-harness

Made for: Claude Code.

Or install sd0x-dev-flow, the plugin that ships this one along with the rest of its 98 skills, 16 agents, 5 hooks.

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 statusline-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/statusline-config/github.svg)](https://agentmods.dev/skills/sd0xdev/sd0x-harness/statusline-config)
Your own site
<a href="https://agentmods.dev/skills/sd0xdev/sd0x-harness/statusline-config"><img src="https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/statusline-config/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 statusline-config

Your own site · 80×15
<a href="https://agentmods.dev/skills/sd0xdev/sd0x-harness/statusline-config"><img src="https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/statusline-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,396 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Agent Snooping · line 75
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • medium Rogue Agent · line 79
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00092 $0.03396
Opus 5 $0.00046 $0.01698
Sonnet 5 $0.00018 $0.00679
Haiku 4.5 $0.00009 $0.00340

Measured 6d ago against content hash 302ea14f5a24, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

statusline-config 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 6d 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.

1. Read current script: `cat ~/.claude/statusline-command.sh`
skills/statusline-config/SKILL.md · 183 lines

How it starts

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

StatusLine Config

Customize ~/.claude/statusline-command.sh — segments, themes, and colors.

When NOT to Use

Scenario Use Instead
Setting statusline for the first time (no customization needed) Built-in statusline-setup agent (Claude Code agent type) — applies defaults automatically
Editing settings.json directly Manual edit — this skill manages statusline-command.sh, not settings.json
Debugging Claude Code startup issues /claude-health — config health check

Segments

Segment JSON Field Default Notes
Directory workspace.current_dir ON Truncate deep paths: ~/.../last-dir
Git branch shell git ON --no-optional-locks, cache 5s
Agent agent.name ON (conditional) Show when present; color: C_MODEL
Model model.display_name + context_window.context_window_size ON Smart tier suffix: Opus 4.6 (1M) — auto-skip if display_name already contains context info
Context % context_window.remaining_percentage + context_window_size ON ctx 60% left (600k/1M) — Green >40%, Yellow 20-40%, Red <=20%
Token Usage context_window.total_input_tokens + total_output_tokens ON (conditional) {in}k/{out}k session cumulative; color: C_COST
Cost cost.total_cost_usd ON Show when >= $0.005, est $X.XX
Rate Limits rate_limits.five_hour.used_percentage + seven_day.used_percentage ON (conditional) 5h: 85% left · 7d: 82% left — displays remaining (100 - used); color thresholds match context %: Green >40%, Yellow 20-40%, Red <=20%; OAuth users only
Worktree worktree.name + worktree.branch ON (conditional) [WT:{name}] {branch} or [WT:{name}] if branch absent; replaces Directory + Git branch when present; color: C_BRANCH

Read the full file on GitHub · 183 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 183 lines · 92 tokens per session scan B 302ea14f5a24

Subscribe to this mod's changes

statusline-config is a skill published in the GitHub repository sd0xdev/sd0x-harness (188 stars, last pushed 4d ago), licensed MIT. It adds 92 tokens to every session and 3,396 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories

cron

Use this skill only for scheduled or recurring tasks. Manage jobs with qwenpaw cron list/create/get/state/update/pause/resume/delete/run, and always pass --agent-id explicitly.

agentscope-ai/QwenPaw · 39 tokens

cron

A procedure for creating and managing tasks that run automatically at a future time or repeat on a schedule. It uses QwenPaw's scheduling commands and requires an agent identifier.

agentscope-ai/QwenPaw · 49 tokens

mailbox

A guide for performing email and mailbox tasks through the QwenPaw mailbox system. It covers supported personal email providers, credentials, configuration, and the required mailbox workflow.

agentscope-ai/QwenPaw · 79 tokens

channel_message

Use this skill to proactively send a one-way message to a user/session/channel, usually only when the user explicitly asks to send to a channel/session or when proactive notification is needed. First query sessions with qwenpaw chats list, then push with qwenpaw channels send.

agentscope-ai/QwenPaw · 58 tokens

building

Implementation skill for writing production code with TDD. Covers the RED-GREEN-REFACTOR cycle, false-RED detection, vertical slicing, scope escalation, test process discipline, and code generation patterns. Loaded by component-builder and bug-investigator.

romiluz13/cc10x · 53 tokens

diff-driven-docs

Use when a BUILD phase completes, a commit is staged, or a PR is about to be created, and the diff has not yet been reflected in documentation. Also use when the user says "update docs", "sync docs", "document this", or asks whether documentation is up to date.

romiluz13/cc10x · 64 tokens