← ClaudeAtlas

statuslinelisted

Installs and configures the Claude Code statusline that ships with this plugin, including which segments appear, in which order, how wide the bars are, and at which percentage they turn yellow or red. Use this skill whenever the user wants to set up, change, reorder, trim or remove their statusline, for example "set up my statusline", "install the statusline", "show the cost in my statusline", "hide the rate limits", "my statusline is too long", "reorder the statusline", "remove the statusline", or the German equivalents "statusline einrichten", "statusline anpassen", "statusline kürzen", "was steht in meiner statusline", "statusline entfernen". Also use it when the statusline is misbehaving, for example a missing context bar, a missing cost, a wrong percentage, or a statusline that does not appear at all.
josefheld/claude-plugins · ★ 1 · AI & Automation · score 72
Install: claude install-skill josefheld/claude-plugins
# Configurable statusline The plugin ships `statusline-command.sh` plus an installer that points Claude Code's `statusLine` setting at it. Because the setting points into the plugin directory, every plugin update also updates the script. Nothing gets copied into `~/.claude`. ## Prerequisite `jq` must be on the PATH (`brew install jq`, `apt-get install jq`). Without it the script prints nothing. ## Install Run the installer. `${CLAUDE_PLUGIN_ROOT}` is set when the skill runs, so use it verbatim: ```sh sh "${CLAUDE_PLUGIN_ROOT}/scripts/install-statusline.sh" ``` It backs up `settings.json` first (`settings.json.bak-<timestamp>`), refuses to touch the file if it is not valid JSON, and prints the resulting `statusLine` entry. `${CLAUDE_PLUGIN_ROOT}` points into `~/.claude/plugins/cache/<marketplace>/<plugin>/<sha>/`, and that `<sha>` changes with every plugin update. The installer therefore rewrites it to the stable `~/.claude/plugins/marketplaces/<marketplace>/plugins/<plugin>/` before writing `settings.json`. Check the path it prints, and never hand-write a cache path into `settings.json`. The statusline appears in the next session, not the current one, so tell the user to restart Claude Code. Variants: | Command | Effect | |---|---| | `install-statusline.sh model,context,git` | only these segments, in this order | | `install-statusline.sh --project` | writes `.claude/settings.json` in the current repo instead of the user settings | | `install-statusline.sh --show` |