Claude Code statusline 扩展,以 Claude Code Plugin 形式分发。显示模型、effort、最近 3 次任务时长和 caveman 标记。
[Opus 4.6] [effort:high] [⏱ 23s/4m18s/3m21s] [CAVEMAN:ULTRA]
[Opus 4.6]。default 时显示,直接使用当前会话的 output_style 名称。[effort:high],来自 ~/.claude/settings.json 的 effortLevel。[⏱ 23s/4m18s/3m21s],左侧最新。<5s 显示 5s,<60s 显示 Ns,<3600s 显示 NmNs,更长显示 NhNm。[CAVEMAN:ULTRA]。本仓库既是 plugin,又自带一个单插件 marketplace(.claude-plugin/marketplace.json)。
claude plugin install 必须通过 marketplace 走,不能直接指向 plugin 目录。
在 Claude Code 会话内:
/plugin marketplace add dualface/cc-statusline
/plugin install cc-statusline@cc-statusline
或用 CLI:
claude plugin marketplace add dualface/cc-statusline
claude plugin install cc-statusline@cc-statusline
claude plugin marketplace add /Users/dualface/Desktop/Works/cc-statusline
claude plugin install cc-statusline@cc-statusline
插件通过 SessionStart 钩子 (hooks/hooks.json) 调用 scripts/apply-statusline.sh,把下列配置写入 ~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "bash <cache 路径>/scripts/statusline-command.sh",
"padding": 0
}
}
注意:
command。settings.json 里有自定义 statusLine,安装本插件会覆盖它。settings.json 里放 agent 字段,所以只能走钩子方案。/plugin uninstall cc-statusline@cc-statusline
/plugin marketplace remove cc-statusline
/plugin marketplace update cc-statusline
bashjq.claude-plugin/marketplace.json:单插件 marketplace 目录,让仓库可被 /plugin marketplace add 识别。plugins/cc-statusline/.claude-plugin/plugin.json:插件 manifest。plugins/cc-statusline/hooks/hooks.json:SessionStart 钩子声明。plugins/cc-statusline/scripts/apply-statusline.sh:把 statusLine 写入 ~/.claude/settings.json。plugins/cc-statusline/scripts/statusline-command.sh:主 statusline 脚本。plugins/cc-statusline/scripts/statusline-tasks.sh:任务时长解析器。改颜色或输出格式,直接编辑仓库内 plugins/cc-statusline/scripts/statusline-command.sh,下次插件加载生效。无需复制到 ~/.claude/。
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub dualface/cc-statusline --plugin cc-statuslineA minimal, opinionated and non-configurable, Claude Code status line
Lightweight Claude Code status-line monitor with switchable styles, themes, and slash commands. v3.14.1 lowers the projection red line to 85% (yellow now 70–84) so a 7d window heading for →99% reads red instead of merely warm. v3.14.0 colours the 5h/7d bars by where usage is HEADED, not where it is now: once an end-of-window projection exists, the bar fill, label, and reset clock take their severity from the projected % against the cap (green <80, yellow 80–99, red ≥100) while the fill length still shows current usage — so a 7d window at 24% but on track for →96% reads yellow instead of a falsely-healthy green (all three styles). It also fixes the →NN% projection reading far too low for the first ~15 min after a reset (it was seeded from the used=0 first tick and lagged); it now holds `→--` until MIN_ELAPSED, then seeds from the first trustworthy reading. v3.13.3–v3.13.5 fix the 5h/7d bars sticking at a stale high % after Anthropic re-baselines usage mid-window (e.g. weekly limit raised): the cross-session merge now accepts an official downward revision once the old reading goes unconfirmed for 120s, idle windows replaying hours-old rate_limits blobs (expired 5h reset) can no longer overwrite or re-confirm the shared reading, and the →NN% projection drops its old-denominator samples and relearns after a re-baseline instead of freezing for the rest of the window. v3.13.0 adds a ⚙ session-mode line — effort (low/medium/high/xhigh/max/ultracode/auto) · thinking · fast · output-style — with a distinct static colour gradient per effort tier. v3.12.0 adds an always-on end-of-window projection (→NN%, learned from your local work rhythm) + an at-risk `⚠eta` forecast after each reset timer, session lines on by default, and a faint on-bar version that shows a `↑` hint when a newer release is on PyPI. v3.10.0 adds an opt-in live-activity line (in-progress todo, active tool, completed-tool rollup), git ahead/behind + session duration/lines on the project line, running-subagent lines, an opt-in `bar_shimmer` starfield on the battery bars, and a self-hosted plugin marketplace — plus a reliability fix so auto-update actually runs in daemon mode (detached, non-blocking) and the cache countdown is now per-session-correct. v3.9.0 makes the `cache` countdown auto-detect the real prompt-cache TTL (5m vs 1h) from the transcript, fixing a ~55-minute early `cache COLD` for Claude subscription users (Claude Code requests the 1-hour TTL automatically). v3.7.0 defends against status-line hijacking: a new `cs --setup --project [PATH]` writes a project-level override so another tool stealing the global `~/.claude/settings.json` slot can't kick `cs` out of this project; when displacement is detected, the bar also surfaces a one-line warning. v3.6.0 makes daemon (fast) mode the default for `cs --setup` — under 1% CPU continuously instead of ~3% inline at refreshInterval=1; pass `--inline` to opt back. Requires the `cs` CLI from PyPI (`pip install claude-statusbar` or `uv tool install claude-statusbar`).
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.