statusline-setup
Configure the Claude Code custom statusline showing API rate limits, context window usage, git branch, and model info.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Configure the Claude Code custom statusline showing API rate limits, context window usage, git branch, and model info.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Configure the minimal single-line compact Claude Code statusline (repo, worktree, branch, model, effort, context window, context %, and session cost). Detects and resolves conflicts with an existing statusline before switching.
Show the full Claude Code session context assembled in load order. Outputs all CLAUDE.md files, auto-memory, SessionStart hook output, and skill listings in one document with source separators. Prints a summary table to stderr with scope, type, source, status, lines, tokens, and context% per source. Keywords: session context, what is loaded, show context, debug context, rules, hooks, skills.
Interactive setup wizard for git branch naming conventions. Creates or updates .claude-plugin/git-branch-naming.json with project-specific rules. Run this command to configure prefixes, ticket patterns, enforcement levels, and protected branches. Keywords: setup branch naming, configure conventions, branch config, git naming setup.
Analyze documentation health: run structural checks (broken links, orphans, duplicates, CLAUDE.md overflow, mandatory docs), then semantic analysis (README compliance, terminology, ADR completeness, content actuality). Create GitHub epic with linked issues for findings. Keywords: documentation audit, kb grooming, doc health, knowledge base.
Interactive setup wizard for fast-changing technology watchlist. Creates or updates ~/.claude/fresh-guides.json or .claude-plugin/fresh-guides.json. Run this command to configure which technologies require doc verification. Keywords: fresh-guides setup, configure watchlist, fast-changing technology, doc verification.
Display current fresh-guides watchlist configuration. Shows all watched technologies and their doc URLs. Keywords: show watchlist, fresh-guides config, current technologies.
| name | statusline-setup |
| description | Configure the Claude Code custom statusline showing API rate limits, context window usage, git branch, and model info. |
| compatibility | Requires jq and curl. macOS and Linux supported. |
Configure the Claude Code custom statusline with API rate limits, context window usage, git branch, and model info.
Check if ~/.claude/statusline.sh exists. If not, copy it from the plugin:
cp "$(dirname "$0")/../../scripts/statusline.sh" ~/.claude/statusline.sh
chmod +x ~/.claude/statusline.sh
Read the user's ~/.claude/settings.json to check if statusLine is already configured.
If statusLine is already configured:
If statusLine is NOT configured (or user wants to update):
statusLine field in ~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "~/.claude/statusline.sh"
}
}
Confirm the setup is complete and explain what the statusline shows:
Note: The statusline requires jq and curl to be installed. Check if they're available and warn if not.