/beast-mode:install-statuslinefrom beast-mode
Installs a dual-line status bar into Claude Code settings showing folder, git status, context usage, and rate-limit bars with color thresholds.
Ships in beast-mode. Installing the plugin adds it to Claude Code.
You are installing the Beast Mode statusline into the user's Claude Code settings (~/.claude/settings.json).
The statusline displays:
📁 folder 🌿 branch +staged ~modified ?untracked (cached for 5s)🧠 context-bar ⏳ 5h-bar reset-in 📅 7d-bar reset-inBar colors are threshold-driven (green <70%, yellow 70–89%, red 90%+).
The statusline script lives at ${CLAUDE_PLUGIN_ROOT}/scripts/statusline.sh. This command writes its absolute path into the user's settings.
The script depends on jq. Check that it's installed:
command -v jq >/dev/null && echo "ok" || echo "missing"
If missing, tell the user how to install it (apt install jq / brew install jq) and stop.
${CLAUDE_PLUGIN_ROOT} is set in this slash command's environment, but not when Claude Code later spawns the statusline. Resolve to an absolute path now:
realpath "${CLAUDE_PLUGIN_ROOT}/scripts/statusline.sh"
Store the result as SCRIPT_PATH. Also confirm it's executable:
test -x "$SCRIPT_PATH" && echo "ok" || echo "not-executable"
If not executable, run chmod +x "$SCRIPT_PATH".
Read ~/.claude/settings.json:
cat ~/.claude/settings.json 2>/dev/null
Three cases:
File missing — create a new minimal settings.json in Step 4.
File exists, no statusLine field — merge the new field in.
File exists with statusLine already set — show the current value and ask via AskUserQuestion:
If the user keeps the existing one, stop.
Use jq to merge the new block in without disturbing other fields. This is safer than hand-editing JSON.
If the settings file exists:
tmp=$(mktemp)
jq --arg cmd "$SCRIPT_PATH" \
'.statusLine = {type: "command", command: $cmd, padding: 2}' \
~/.claude/settings.json > "$tmp" && mv "$tmp" ~/.claude/settings.json
If the settings file is missing:
jq -n --arg cmd "$SCRIPT_PATH" \
'{statusLine: {type: "command", command: $cmd, padding: 2}}' \
> ~/.claude/settings.json
After writing, verify it's still valid JSON:
jq . ~/.claude/settings.json >/dev/null && echo "ok" || echo "invalid"
If invalid, restore from a backup (always make ~/.claude/settings.json.bak before the merge).
Run the script once with no stdin so it falls back to the bundled test JSON. This confirms it produces output before Claude Code calls it for real:
"$SCRIPT_PATH"
Expect two lines of output. If the script errors, surface the error and tell the user to check jq is installed and the script path is readable.
Display:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BEAST MODE STATUSLINE INSTALLED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Settings updated: ~/.claude/settings.json
Script path: <SCRIPT_PATH>
Settings reload automatically — the statusline
will appear at the bottom of the interface on
your next message.
To remove later: delete the "statusLine" block
from ~/.claude/settings.json, or run
/statusline delete.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
~/.claude/settings.json to ~/.claude/settings.json.bak before modifying it. Restore from the backup if jq validation fails after the merge.${CLAUDE_PLUGIN_ROOT} literally into settings.json — that env var isn't set when Claude Code spawns the statusline command. Always write the resolved absolute path.jq so other fields (permissions, enabledPlugins, hooks, etc.) are preserved exactly.statusline skipped · restart to fix, they need to restart Claude Code and accept the prompt.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub aaronstatic/beast-mode --plugin beast-mode7 commands in this plugin
/connect-discordProcessConnect the current project to the Beast Mode Discord Bridge. Requires the bot to already be running. Usage: /connect-discord/install-beast-modeInstall Beast ModeYou are setting up the **Beast Mode** workflow system in this project!/integrate-web-appProcessScaffold a feature that integrates the Beast Mode web dashboard (@beast-mode/web) into this project's own app, then hand off to /plan-feature. Usage: /integrate-web-app/setup-discord-bridgeSetup ProcessGuided first-time setup for the Beast Mode Discord Bridge. Configures the central bot, per-project channel, and starts services. Usage: /setup-discord-bridge/setup-web-appSetup ProcessStand up the @beast-mode/web standalone dashboard for all your Beast Mode projects, running always-on in the background via your OS's service manager. Usage: /setup-web-app/upgrade-beast-modeProcessUpgrade Beast Mode installation in this project with latest templates, commands, and improvements from the plugin. Usage: /upgrade-beast-modeOther plugins' commands for the same job