vargus-setuplisted
Install: claude install-skill zhoufanscut/VArgus
# VArgus status line setup
The vargus plugin's mod writes the status line to a file; Claude Code shows it through a
`statusLine` command that prints that file. A plugin can't set `statusLine` itself, so this
skill edits the person's settings once.
The reader command for this install, with this plugin's data folder already filled in:
```sh
cat "${CLAUDE_PLUGIN_DATA}/$CLAUDE_CODE_SESSION_ID/line" 2>/dev/null
```
With the plugin's `blankStopped` option on, the reader instead prints the file only while it is
under two minutes old, so the row goes blank when the plugin stops mid-session:
```sh
f="${CLAUDE_PLUGIN_DATA}/$CLAUDE_CODE_SESSION_ID/line"; [ -n "$(find "$f" -mmin -2 2>/dev/null)" ] && cat "$f"
```
`$CLAUDE_CODE_SESSION_ID` and `$f` stay as written: the shell fills them in when Claude Code runs
the command.
## Set up
0. On Windows (the session's platform is `win32`, or the data folder above starts with a drive
letter such as `C:`), check for Git Bash before changing anything: Claude Code runs the
`statusLine` command through Git Bash when it is installed, else through PowerShell, where
these readers fail and the row stays blank. Claude Code gives the session a Bash tool only
when it found Git Bash, so that is the check: with no Bash tool (only PowerShell), tell the
person VArgus on Windows needs Git for Windows (https://git-scm.com/downloads/win): install
it, restart Claude Code, then ask for setup again. Stop there, with the settings unchanged.