给 Claude Code 加了个状态栏,效率真的不一样!!

给 Claude Code 加了个状态栏,效率真的不一样!!(必备)

ccstatusline:🚀 Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more. - AtomGit | GitCode

 

在ccstatusline配置文件里配置一下,在claude code终端最底下,把模型信息、Git 状态、token 使用量、会话时长、5 小时块计时这些关键信息集中显示出来

"~\.config\ccstatusline\settings.json"

{
  "version": 3,
  "lines": [
    [
      {
        "id": "1",
        "type": "model",
        "color": "cyan"
      },
      {
        "id": "2",
        "type": "separator"
      },
      {
        "id": "3",
        "type": "git-branch",
        "color": "magenta"
      },
      {
        "id": "4",
        "type": "separator"
      },
      {
        "id": "5",
        "type": "git-changes",
        "color": "yellow"
      },
      {
        "id": "6",
        "type": "separator"
      },
      {
        "id": "7",
        "type": "tokens-total",
        "color": "green"
      },
      {
        "id": "8",
        "type": "separator"
      },
      {
        "id": "9",
        "type": "context-percentage",
        "color": "brightBlack"
      }
    ],
    [
      {
        "id": "10",
        "type": "session-clock",
        "color": "blue"
      },
      {
        "id": "11",
        "type": "separator"
      },
      {
        "id": "12",
        "type": "block-timer",
        "color": "red"
      },
      {
        "id": "13",
        "type": "separator"
      },
      {
        "id": "14",
        "type": "session-cost",
        "color": "brightYellow"
      }
    ]
  ],
  "flexMode": "full-minus-40",
  "compactThreshold": 60,
  "colorLevel": 2,
  "inheritSeparatorColors": false,
  "globalBold": false,
  "powerline": {
    "enabled": false,
    "separators": [
      ""
    ],
    "separatorInvertBackground": [
      false
    ],
    "startCaps": [],
    "endCaps": [],
    "autoAlign": false
  }
}

image

 

posted @ 2026-02-25 10:50  _海阔天空  阅读(866)  评论(0)    收藏  举报