返回顶部
c

cc-statuslineCC状态栏

>-

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.1
安全检测
已通过
161
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

cc-statusline

cc-statusline / Claude Code 状态栏助手

Purpose / 用途

Use this skill to help users preview, install, customize, switch, troubleshoot, and uninstall Claude Code statuslines. 当用户想预览、安装、自定义、切换、排障或卸载 Claude Code 状态栏时,使用这个 skill。

This skill is designed for:
这个 skill 主要适用于:

  • - preset installation / 安装预设状态栏
  • interactive custom generation / 交互式自定义生成
  • preset-based fine-tuning / 基于预设微调
  • theme and icon switching / 切换主题与图标风格
  • layout cleanup and readability improvement / 优化布局与可读性
  • uninstall or restore-default workflows / 卸载或恢复默认状态栏
  • Windows, macOS, Linux setup support / Windows、macOS、Linux 三端安装支持

Runtime map / 运行路径映射

Treat this folder as the skill base directory. 把当前目录视为 skill 基目录。

Use these relative paths from the skill directory:
从 skill 目录出发,使用这些相对路径:

  • - scripts/generatecustomstatusline.sh → generate a custom runtime script / 生成自定义状态栏脚本
  • scripts/activatepresetstatusline.sh → install or switch a preset / 安装或切换预设
  • scripts/activatecustomstatusline.sh → activate a generated custom script / 启用生成好的自定义脚本
  • scripts/uninstall_statusline.sh → remove only the statusLine config / 只移除 statusLine 配置

Default paths:
默认路径:

  • - preset target / 预设脚本:~/.claude/statusline.sh
  • custom target / 自定义脚本:~/.claude/statusline.custom.sh
  • settings / 设置文件:~/.claude/settings.json
  • state snapshot / 状态快照:~/.claude/cc-statusline-state.json

Language behavior / 语言行为

  • - Match the users input language when leading the conversation.
  • Keep key labels bilingual when helpful, especially for preset names, themes, icon styles, and install steps.
  • 根据用户输入语言切换主要交流语言。
  • 对关键名词保留双语,尤其是预设名、主题名、图标风格、安装步骤。

Intent routing / 意图分流

Map the request into one of these flows: 将请求归入以下流程之一:
  • - Install preset / 安装预设
  • Customize from scratch / 从零自定义
  • Customize from a preset / 基于预设微调
  • Beautify or optimize existing statusline / 美化或优化现有状态栏
  • Uninstall or restore default / 卸载或恢复默认
  • Troubleshoot installation / 排查安装问题

Trigger emphasis / 触发重点

Trigger this skill aggressively when the user is clearly talking about Claude Code and any of these intents: 当用户明确在说 Claude Code,并且出现以下任一意图时,应积极触发这个 skill:
  • - install or set up a statusline / 安装或配置状态栏
  • choose or switch a preset / 选择或切换预设
  • generate a custom layout / 生成自定义布局
  • switch themes or icon styles / 切换主题或图标风格
  • beautify, optimize, simplify, or improve readability / 美化、优化、精简、提升可读性
  • disable, uninstall, or restore default behavior / 禁用、卸载、恢复默认
  • troubleshoot a broken statusLine command or failed install / 排查损坏的 statusLine 命令或失败的安装

Do not trigger for shell prompts, terminal themes, Windows taskbar changes, VS Code status bars, or general web UI status bars unless the user clearly ties the request back to Claude Code.
除非用户明确把需求指向 Claude Code,否则不要把 shell prompt、终端主题、Windows 任务栏、VS Code 状态栏或网页状态栏误判为本 skill 的触发场景。

Ask only what is missing / 只问缺失信息

Prioritize questions in this order: 按这个顺序补问:
  1. 1. preset vs custom / 预设还是自定义
  2. modules / 模块开关
  3. line count / 行数(1/2/3)
  4. theme / 主题
  5. icon style / 图标风格
  6. target path / 目标路径
  7. activate now / 是否立即启用

Prefer grouped module presentation:
模块优先按分组展示:

  • - Base group / 基础信息
  • Environment group / 环境信息
  • Metrics group / 统计信息

Read references/modules.md when you need the canonical module list.
需要标准模块清单时读取 references/modules.md。

Presets / 预设

Available presets: 可用预设:
  • - Full / 完整版
  • Standard / 标准版
  • Minimal / 极简版
  • Developer / 开发者版

Preset goals:
预设定位:

  • - Full / 完整版: closest to the current full Miluer-style information density / 最接近当前 Miluer 风格的完整信息密度
  • Standard / 标准版: balanced for daily use / 适合日常使用
  • Minimal / 极简版: lowest visual noise / 最低视觉干扰
  • Developer / 开发者版: emphasizes git and token visibility / 强调 Git 与 Token 可见性

Use presets/*.json for line count and module summaries before presenting options.
在展示选项前,使用 presets/*.json 获取行数与模块摘要。

Preview rule / 预览规则

Always show a concise preview before writing files or changing statusLine.command. 在写文件或改 statusLine.command 前,始终先给出简洁预览。

Use this structure:
使用这个结构:

text
Statusline preview / 状态栏预览

  • - Mode / 模式: preset | custom
  • Preset / 预设:
  • Lines / 行数: <1|2|3>
  • Line 1 / 第 1 行:
  • Line 2 / 第 2 行:
  • Line 3 / 第 3 行:
  • Theme / 主题:
  • Icon style / 图标风格:
  • Target / 目标文件:
  • Backup / 备份:
  • settings.json change / 设置改动: only statusLine
  • Activation / 启用方式: now | generate only

If the user already asked for one-click install and the context is clear, preview first and then execute.
如果用户已经明确要求一键安装且上下文清晰,先预览再执行。

Execution flows / 执行流程

A. Install preset / 安装预设

Use this flow when the user wants a ready-made statusline. 当用户要直接套用预设时使用。
  1. 1. If the preset is not specified, offer the 4 presets with short summaries.
  2. Resolve theme, icon style, and target path.
  3. Preview the exact result.
  4. Run:

bash
bash scripts/activatepresetstatusline.sh style> path>

Default target path:
默认目标路径:
bash
~/.claude/statusline.sh

After the command finishes, report:
命令完成后汇报:

  • - active command / 当前启用命令
  • target file / 目标文件
  • backup file / 备份文件
  • state snapshot / 状态快照文件
  • that only statusLine was changed / 仅修改了 statusLine

B. Customize from scratch / 从零自定义

Use this when the user wants grouped module selection or a fresh layout. 当用户要按模块分组自由搭配时使用。
  1. 1. Read references/modules.md if needed.
  2. Collect modules per line.
  3. Determine line count.
  4. Determine theme, icon style, target path, and whether to activate now.
  5. Preview the custom layout.
  6. Generate the custom script with:

bash
bash scripts/generatecustomstatusline.sh path> 1csv> 2csvor-> 3csvor-> style>

Notes:
说明:

  • - Use comma-separated module ids such as model,modes,active.
  • For unused lines, pass -.
  • 使用逗号分隔的模块 id,例如 model,modes,active。
  • 对不使用的行传入 -。

Examples:
示例:
bash
bash scripts/generatecustomstatusline.sh $HOME/.claude/statusline.custom.sh model,modes,active cwd,git,context ctxtokens,sumtokens,duration,cost ocean developer

One-line custom example:
单行自定义示例:
bash
bash scripts/generatecustomstatusline.sh $HOME/.claude/statusline.custom.sh model,active,cost - - mono minimal

If the user wants immediate activation, then run:
如果用户要立即启用,再运行:

bash
bash scripts/activatecustomstatusline.sh

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 cc-statusline-1776107704 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 cc-statusline-1776107704 技能

通过命令行安装

skillhub install cc-statusline-1776107704

下载

⬇ 下载 cc-statusline v0.1.1(免费)

文件大小: 47.6 KB | 发布时间: 2026-4-17 14:17

v0.1.1 最新 2026-4-17 14:17
Initial public release – adds full cross-platform statusline install, preset selection, and visual customization for Claude Code.

- Initial implementation of preset and custom statusline workflows for Claude Code.
- Added 4 presets (Full, Standard, Minimal, Developer) with modular, themeable layouts.
- Cross-platform install scripts for Linux, macOS, and Windows.
- Supports custom statusline generation with module, line, theme, and icon selection.
- Includes uninstall, restore-default, and troubleshooting flows.
- Adds reference guides, usage documentation, and preview screenshots.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large