用途:帮助配置与排查 Claude Code 的 statusline 插件,在修改设置前先检查现有配置与脚本。
主要能力:可选择布局、可见区块、上下文显示样式、图标主题与分隔符;支持模板套用(如 detailed、balanced、minimal、monitor、developer、performance),模板位于 scripts/templates/。配置写入 ~/.claude/statusline.config.json,可用测试命令预览生成的状态栏命令。
使用方式:通过 /statusline:setup 或 /statusline:config 选择模板后,读取插件目录内 scripts/templates/<name>.json,写入 ~/.claude/statusline.config.json 并预览。示例:cp "$PLUGIN_DIR/minimal.json" ~/.claude/statusline.config.json。
配置字段:line_format、separator、context_style、icon_style、show_cache、cache_ttl、show_cost、show_session、show_reasoning、show_context、show_rate_limits、show_git_branch、show_tools、show_agents 等。
双提供商:自动适配 Anthropic Claude 与 z.ai GLM;GLM 下速率限制可能为空、缓存统计隐藏。
限制:仅在用户要求或明确属于设置流程时更新 Claude 设置;排查时检查提供商检测、速率限制字段与空区块隐藏。其余细节暂未提供。