/statusline:installfrom Status Line
Install, update, or uninstall this plugin's Claude Code status line and subagent status line. Use when the user runs /statusline:install, asks to set up / turn on / update / remove the status line from this plugin, or after a plugin update to refresh the installed scripts.
Ships in Status Line. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Plugins can't set statusLine themselves, so this skill copies the plugin's scripts to a fixed location (~/.claude/statusline/) and points the user's ~/.claude/settings.json at them. The fixed copy keeps working when the plugin updates and its install directory changes.
Tell the user what will happen: the scripts are copied to ~/.claude/statusline/, and statusLine and subagentStatusLine in ~/.claude/settings.json are set to them. Any existing values are saved to ~/.claude/statusline/previous-settings.json first. If they already have a status line, ask whether to replace both, only the main one (--main), or only the subagent one (--subagent).
Run the installer with the flag they chose:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/install.sh"
Report the installer's output. The status line appears on the next render.
Mention the optional settings, which go in the env block of ~/.claude/settings.json:
STATUSLINE_LINEAR_PREFIXES: comma-separated Linear team keys, for example "ENG". These are tried first. When it's unset, the Linear pass is skipped.STATUSLINE_JIRA_PREFIXES: comma-separated Jira project keys, for example "OPS,SUP". These are tried only when no Linear key is found. When it's unset, any KEY-123 shape matches. STATUSLINE_ISSUE_PREFIXES is still accepted as an alias.STATUSLINE_PR_TTL: how many seconds to cache the gh pr view lookup (default 300). 0 hides the PR segment.STATUSLINE_DEBUG_FILE: a path to write each render's raw input JSON to. Only for finding field names. Leave it unset otherwise.echo ENG-123 > "$(git rev-parse --git-dir)/statusline-issue"To uninstall, run the installer with --uninstall. It removes only the settings that point at ~/.claude/statusline/. Tell the user where their previous settings were saved, if any.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub craigske/claude-statusline --plugin statusline2 skills in this plugin