Statusline setup
Skill stanlrt/cache-aware-cc-status-line/skills/statusline-setup
Set up the simple-claude-code-status-line status bar for Claude Code. Copies the statusline script to ~/.claude/ and patches settings.json. Use when the user says "set up status line", "install status line", "configure status bar", or invokes /statusline-setup.From its SKILL.md
npx -y skills add stanlrt/cache-aware-cc-status-line --skill statusline-setupAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, as published. Nobody here has run it
Install the simple-claude-code-status-line status bar. Steps:
1. Detect paths
- Home dir:
process.env.HOME(Mac/Linux) orprocess.env.USERPROFILE(Windows) - Target script path:
~/.claude/statusline-command.js - Settings path:
~/.claude/settings.json
2. Copy the script
Read the file at ${CLAUDE_PLUGIN_ROOT}/statusline-command.js and write it to ~/.claude/statusline-command.js.
Use the absolute path (not ~/) in all file operations.
3. Patch settings.json
Read ~/.claude/settings.json. Add or replace the statusLine key:
{
"statusLine": {
"type": "command",
"command": "node /ABSOLUTE/PATH/TO/.claude/statusline-command.js"
}
}
Replace /ABSOLUTE/PATH/TO/ with the actual home directory path. Never use ~ in the command value — Claude Code does not expand it.
Merge carefully: preserve all existing settings. Only add/replace statusLine.
4. Confirm
Tell the user:
- Script written to:
~/.claude/statusline-command.js - Settings updated:
~/.claude/settings.json - The status line will appear at the bottom of Claude Code after the next session start or
/reset.
Notes
- Requires Node.js installed and available on PATH.
- On Windows with Git Bash, home path looks like
/c/Users/username— use this form in the command value. - On Mac/Linux, use
/Users/usernameor/home/username. - Do not hardcode any path — always derive from the actual home directory at install time.