返回 Skill 列表
extension
分类: 开发与工程无需 API Key

status-line-live

自定义或排查实时状态行的问题。在修改statusline.sh、调试令牌显示或理解渲染管道时使用。状态行是被动运行的——这项技能是为了对它进行操作,而不是使用它。

person作者: jakexiaohubgithub

status-line-live

Custom status line renderer adding live session data to Claude Code: token metrics, session titles, git state, and cost tracking.

Distinguished from the built-in /status_line command -- this is the renderer and its supporting scripts.

Components

| File | Role | |------|------| | scripts/statusline.sh | Main renderer (called by Claude Code via stdin JSON) | | scripts/get-session-tokens.sh | Token data extraction from session JSONL | | docs/architecture.md | Data flow, caching, troubleshooting |

Output Format

project branch (3) Opus 4.6 $0.66 +28 -5 (70+210K+1.6M):7K [1:267] | session title

Dependencies

jq, bc, git

Related

  • /status_line command -- verbose explainer with ASCII diagrams
  • session-titles/ -- runtime data (titles + token cache)