/claude-config:statusline-setupfrom claude-config
交互式配置 Claude Code 终端状态栏,支持 GLM Coding Plan、OMC HUD 和关闭三种方案切换。
Ships in claude-config. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
yolo:config yolo:modeauto-advance</yolo:mode> yolo:safety-gates 修改 settings.json 中 statusLine 以外的字段 </yolo:safety-gates> </yolo:config>
gsd:workflow gsd:meta statusline-setup 状态栏、statusline、配置状态栏 Read, Edit, AskUserQuestion 仅修改 settings.json 中的 statusLine 字段 YOLO 模式下安全门仍需人工确认 </gsd:meta>
gsd:goal根据用户选择,将 settings.json 的 statusLine 字段配置为指定方案</gsd:goal>
<gsd:phase name="detect" order="1"> gsd:step读取 ~/.claude/settings.json</gsd:step> gsd:step检测当前 statusLine 配置,识别已激活的方案</gsd:step> </gsd:phase>
<gsd:phase name="select" order="2"> gsd:step使用 AskUserQuestion 展示可选方案(标注当前方案)</gsd:step> gsd:step收集用户选择</gsd:step> </gsd:phase>
<gsd:phase name="apply" order="3"> gsd:step根据选择更新或删除 statusLine 字段</gsd:step> gsd:step确认配置结果</gsd:step> </gsd:phase> </gsd:workflow>
🚀 YOLO 模式 — 自动推进,低风险操作跳过确认。
| 方案 | 命令 | 说明 |
|---|---|---|
| GLM Coding Plan | npx @wangjs-jacky/glm-coding-plan-statusline@latest | 编码计划实时状态 |
| OMC HUD | node $HOME/.claude/hud/omc-hud.mjs | oh-my-claudecode HUD |
| 关闭状态栏 | (删除 statusLine) | 不显示 |
目标:读取并识别当前状态栏方案
步骤:
~/.claude/settings.jsonstatusLine.command 字段:
glm-coding-plan-statusline → 当前为 GLM Coding Planomc-hud → 当前为 OMC HUDstatusLine 字段 → 当前已关闭目标:让用户选择目标方案
使用 AskUserQuestion,格式如下:
目标:写入用户选择的方案
步骤:
statusLine 字段:
"statusLine": { "type": "command", "command": "npx @wangjs-jacky/glm-coding-plan-statusline@latest" }
"statusLine": { "type": "command", "command": "node $HOME/.claude/hud/omc-hud.mjs" }
statusLine 字段(含其前一行逗号)statusLine 字段被修改statusLine 字段已完全移除What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub wangjs-jacky/jacky-skills --plugin claude-configOther plugins' skills for the same job