Install the bluera-knowledge statusline module into the user's Claude Code statusline.
Steps
- Locate the plugin root by finding
scripts/statusline-module.shrelative to this command file - Read
scripts/statusline-module.shfrom the plugin directory to get the latest module content - Read
~/.claude/statusline.sh(or$CLAUDE_CONFIG_DIR/statusline.sh) - If the file doesn't exist, tell the user to first set up a statusline with
/bluera-base:claude-code-statusline - Look for existing boundary comments
# --- bluera-knowledge ---/# --- end bluera-knowledge --- - If found: replace everything between the boundary comments (exclusive) with the module content (the function and call site from
statusline-module.sh, excluding the shebang and header comments) - If not found: insert the full boundary-commented section before the final output
printfstatements, and ensure$BK_STATUSis referenced in thePLUGIN_SEGvariable - Ensure the call site passes
"$PROJECT_DIR"toget_bk_status - Show the user the updated section and confirm success