init-claude-code-statusline

Create or update Claude Code status bar configuration files from templates.

4|1|Updated Mar 24, 2024
One-click install
npx skills add https://github.com/ruan-cat/monorepo --skill init-claude-code-statusline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-claude-code-statusline
Source: https://github.com/ruan-cat/monorepo/tree/main/claude-code-marketplace/common-tools/skills/init-claude-code-statusline
Command: npx skills add https://github.com/ruan-cat/monorepo --skill init-claude-code-statusline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

初始化、更新或覆盖 Claude Code 状态栏配置文件(.claude/settings.json 和 .claude/statusline.sh),用于在任何项目中快速搭建 Claude Code 状态栏显示功能,展示目录、Git 分支、模型、版本和上下文窗口使用情况。

Core Features & Use Cases

  • 初始化状态栏配置,在项目中创建 .claude/settings.json 和 .claude/statusline.sh
  • 更新配置,将现有配置合并为最新模板版本,或进行全量覆盖
  • 全量覆盖:用模板内容完全替换现有文件以确保一致性

Quick Start

在目标项目中运行本技能,按照模板创建 .claude/settings.json 和 .claude/statusline.sh 并完成初始化。

Frequently Asked Questions about init-claude-code-statusline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Claude Code statusline to show git branch and model info?

You can update an existing Claude Code statusline configuration by merging it with the latest template or performing a full overwrite. This skill validates the JSON and prompts you before overwriting any existing `.claude/settings.json` or `.claude/statusline.sh` files.

Can I apply a consistent statusline configuration across multiple projects?

Yes, you can apply a consistent statusline configuration across multiple projects. This skill automates creating or updating `.claude/settings.json` and `.claude/statusline.sh` from standardized templates to ensure uniform status bar display in any project directory.

Will configuring the statusline overwrite my existing .claude/settings.json?

Configuring the statusline will not unexpectedly overwrite your existing `.claude/settings.json` because this skill validates the JSON structure and explicitly prompts you before overwriting any existing configuration files during the setup process.

What does the Claude Code statusline display in the project directory?

The Claude Code statusline displays essential project context including the current directory, git branch, active model, version, and context window usage. It renders this information by executing the `.claude/statusline.sh` shell script configured via `.claude/settings.json`.