Interactive setup wizard that configures and generates your personalized statusline.
Interactive wizard that sets up your personalized Claude Code statusline with custom layout, visible information, and color preferences.
/plugin marketplace add duyet/claude-plugins/plugin install statusline@duyet-claude-pluginsInteractive setup wizard that configures and generates your personalized statusline.
When this command is invoked, conduct an interview using AskUserQuestion, then generate the statusline script.
Use AskUserQuestion to ask these questions (can ask multiple in one call):
Header: "Lines" Question: "How many lines should the statusline display?" Options:
Header: "Show" Question: "What information do you want to see?" multiSelect: true Options:
Header: "Colors" Question: "What color style do you prefer?" Options:
Based on answers, generate ~/.claude/statusline-command.sh with the user's preferences:
~/.claude/statusline-command.shline_format based on Q1Also save config to ~/.claude/statusline.config.json:
{
"line_format": "2",
"show_context": true,
"show_rate_limits": true,
"show_git_branch": true,
"show_tools": true,
"color_style": "colorful"
}
Ensure ~/.claude/settings.json has the statusLine configuration:
{
"statusLine": {
"type": "command",
"command": "/Users/duet/.claude/statusline-command.sh"
}
}
After setup, show a preview of the statusline output by running:
echo '{"workspace":{"current_dir":"'$(pwd)'"},"model":{"id":"claude-opus-4-5-20251101"},"version":"2.0.76","context_window":{"total_input_tokens":43000,"context_window_size":200000}}' | ~/.claude/statusline-command.sh
Output:
✓ Statusline configured successfully!
Your settings:
• Format: [N]-line layout
• Showing: Context, Rate limits, Git branch, Tools
• Colors: Colorful
Preview:
[show the actual statusline output]
The statusline will update automatically during your session.
Use /statusline:config to change settings anytime.
Q1: How many lines should the statusline display?
→ User selects: 2 lines
Q2: What information do you want to see?
→ User selects: Context usage, Rate limits, Git branch
Q3: What color style do you prefer?
→ User selects: Colorful
✓ Generating your statusline...
✓ Config saved to ~/.claude/statusline.config.json
✓ Script updated at ~/.claude/statusline-command.sh
Preview:
claude-plugins (master) │ Opus 4 5 │ v2.0.76
Context: 21% (43,000 tokens) │ 5h: 14% 7d: 46%
/statusline:status — View current metrics/statusline:config — Quick config change (just line format)/statusline:disable — Disable statusline