agentleFS
Chy-Zaber-Bin-ZahidChy-Zaber-Bin-Zahid/claude-code-statusline/skills/configure/SKILL.md

configure

Skill1 starsChanged 51 days agoMITView on GitHub

Change what the Statuslines plugin shows, such as hiding or reordering parts, showing percentages without bars, or changing bar width, shapes, colors and reset times. Use when the user runs /statuslines:configure, or asks to change a status line drawn by this plugin's statusline-plugin.sh.

46 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use calendar, status and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • jacobraskSkill

    calendar

    Interact with Apple Calendar via AppleScript. Use when the user asks to check calendar, view events, create events, manage schedule, find free time, or list calendars. Triggers include "my calendar", "my schedule", "calendar events", "create event", "add to calendar", "what's on my calendar", "free time", "available slots", "upcoming events", "today's events". Requires macOS with Calendar.app.

    Also in 3 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 3 projects that use this

  • MicrosoftSkill

    release

    Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 46 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read statusLine.command in ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/settings.json.

    line 15
  2. Distinctive:

    If the request above is empty, read the current file (no file means all defaults), describe the current setup in plain words, list what can …

    line 19
  3. Very specific:

    Keep the keys the user already set unless they asked to change them.

    line 50

“Common” is measured: kept by at least 6 in 10 of the 46 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Configure Statuslines

The options live in statusline-plugin.json in ${CLAUDE_CONFIG_DIR:-$HOME/.claude}. Every key is optional, and a missing key uses its default. The status line reads the file each time it refreshes, so changes show up after the user's next message, with no restart.

The user asked for: $ARGUMENTS

1. Check this plugin draws their status line

Read statusLine.command in ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/settings.json. If it doesn't mention statusline-plugin.sh, these options change nothing: tell the user, suggest /statuslines:setup, and stop unless they still want to go on.

2. Work out the change

If the request above is empty, read the current file (no file means all defaults), describe the current setup in plain words, list what can change, and ask what they want.

KeyValuesDefaultWhat it does
partslist of part names["folder", "git", "model", "context", "five_hour", "weekly"]Which parts show, left to right. Leave a part out to hide it
bar_style"both", "percent", "bar""both"Bar and percent, percent only, or bar only
bar_width1 to 4010Number of cells in each bar
efforttrue, falsetrueEffort level after the model name
labelstrue, falsetrueThe ctx, 5h and week labels
reset_time"off", "on", "near-limit""off"Time until the 5-hour and weekly limits reset. near-limit shows it only once that bar reaches danger_at
colorstrue, falsetruefalse prints plain text
warn_at0 to 10150Percent where a bar turns yellow
danger_at0 to 10180Percent where a bar turns red
context_sizetrue, falsefalseThe context window size after the context meter, like 42% of 1M
asciitrue, falsefalsePlain ASCII only: ASCII bar shapes, git: before the branch, | between parts, reset before reset times. Shapes set in shapes still win
stale_afterminutes, 0 turns it off15Turn the 5-hour and weekly bars grey, with updated 25m ago, once the session has had no reply from Claude for this long, since their numbers may be out of date
shapesobject, see belowblocks, squares, dotsThe characters each bar is drawn with

Parts: folder, git (branch and uncommitted changes), model, context, five_hour, weekly, plus five that are off by default: duration (session time), lines (lines added and removed), cost (session cost in dollars, hidden while it is $0.00), agent (the agent's name, only while running as an agent) and worktree (the worktree's name, only while in one).

shapes sets a [filled, empty] pair per bar, for example {"context": ["█", "░"], "five_hour": ["■", "□"], "weekly": ["●", "○"]}. Leave out a bar to keep its default.

How requests usually map:

  • "hide X" or "turn off X": remove X from parts.
  • "show X" or "turn on X": add X to parts. Put the extras (duration, lines, cost) at the end unless the user says where.
  • "only percentages" or "no bars": "bar_style": "percent".
  • "reset to defaults": delete the file.

3. Write the file

Keep the keys the user already set unless they asked to change them. Write plain JSON with no comments, then check it with jq . <file>. Anything outside the table is ignored, so stick to it.

4. Show the result

Preview the new line with sample data, run from the user's project so the folder and branch are real:

now=$(date +%s)
jq -n --argjson f $((now + 8100)) --argjson w $((now + 385200)) '{
  workspace: {current_dir: env.PWD}, model: {display_name: "Opus"}, effort: {level: "high"},
  context_window: {used_percentage: 42},
  rate_limits: {five_hour: {used_percentage: 63, resets_at: $f}, seven_day: {used_percentage: 85, resets_at: $w}},
  cost: {total_cost_usd: 1.5, total_duration_ms: 4380000, total_lines_added: 120, total_lines_removed: 30}
}' | bash "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/statusline-plugin.sh" | sed $'s/\x1b\\[[0-9;]*m//g'

Show the user that line, say it uses sample numbers, and tell them their real status line changes after their next message.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.