This skill should be used when the user says "hud", "statusline", "install statusline", "setup statusline", "configure statusline", "reset statusline", "restore statusline", or wants to install or restore the smart plugin's statusline.
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
This skill should be used when the user says "hud", "statusline", "install statusline", "setup statusline", "configure statusline", "reset statusline", "restore statusline", or wants to install or restore the smart plugin's statusline.
Preflight: ensure jq (required, run first for any install)
The statusline parses Claude's JSON with jq. If jq is missing, almost every field renders blank — this is the #1 cause of "statusline shows only partial info on Linux/WSL" (macOS usually has jq via Homebrew, Linux often does not).
Check availability: command -v jq. If found, skip to the install action.
If missing, auto-install by detecting the platform's package manager (run via Bash):
macOS (uname -s = Darwin) with brew: brew install jq
Linux with apt-get: sudo apt-get update && sudo apt-get install -y jq
Linux with dnf: sudo dnf install -y jq
Linux with pacman: sudo pacman -S --noconfirm jq
Linux with apk: sudo apk add jq
Re-verify with command -v jq. If now present, continue. If install failed (no package manager, no sudo, network error), do NOT abort — warn the user with the exact manual command for their platform and continue (the script itself prints a one-line jq not found hint until resolved).
Action: install-level1 / install-level2
Run Preflight: ensure jq above first.
Read the appropriate source script from the plugin's skills/hud/scripts/ directory: