[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F3QJFWAZFRD6X1WW03GHCN":3,"skill-same:01M6F3QJFWAZFRD6X1WW03GHCN":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6F3QJFWAZFRD6X1WW03GHCN","statusline-generator",null,"Configures and customizes Claude Code statuslines with multi-line layouts, cost tracking via ccusage, git status indicators, and customizable colors. Activates for statusline setup, installation, configuration, customization, color changes, cost display, git status integration, or troubleshooting statusline issues.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fdaymade\u002Fclaude-code-skills\u002Fstatusline-generator\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"generator","statusline generator","statusline","installation","with","multi","color","via","line","cost tracking","ccusage","status","cost","tracking","customization","indicators","integration","issues","git","code","2026-11-10 10:12:30",false,"---\nname: statusline-generator\ndescription: Configures and customizes Claude Code statuslines with multi-line layouts, cost tracking via ccusage, git status indicators, and customizable colors. Activates for statusline setup, installation, configuration, customization, color changes, cost display, git status integration, or troubleshooting statusline issues.\n---\n\n# Statusline Generator\n\n## Overview\n\nThis skill provides tools and guidance for creating and customizing Claude Code statuslines. It generates multi-line statuslines optimized for portrait screens, integrates with `ccusage` for session\u002Fdaily cost tracking, displays git branch status, and supports color customization.\n\n## When to Use This Skill\n\nThis skill activates for:\n- Statusline configuration requests for Claude Code\n- Cost information display (session\u002Fdaily costs)\n- Multi-line layouts for portrait or narrow screens\n- Statusline color or format customization\n- Statusline display or cost tracking issues\n- Git status or path shortening features\n\n## Quick Start\n\n### Basic Installation\n\nInstall the default multi-line statusline:\n\n1. Run the installation script:\n   ```bash\n   bash scripts\u002Finstall_statusline.sh\n   ```\n\n2. Restart Claude Code to see the statusline\n\nThe default statusline displays:\n- **Line 1**: `username (model) [session_cost\u002Fdaily_cost]`\n- **Line 2**: `current_path`\n- **Line 3**: `[git:branch*+]`\n\n### Manual Installation\n\nAlternatively, manually install by:\n\n1. Copy `scripts\u002Fgenerate_statusline.sh` to `~\u002F.claude\u002Fstatusline.sh`\n2. Make it executable: `chmod +x ~\u002F.claude\u002Fstatusline.sh`\n3. Update `~\u002F.claude\u002Fsettings.json`:\n   ```json\n   {\n     \"statusLine\": {\n       \"type\": \"command\",\n       \"command\": \"bash \u002Fhome\u002Fusername\u002F.claude\u002Fstatusline.sh\",\n       \"padding\": 0\n     }\n   }\n   ```\n\n## Statusline Features\n\n### Multi-Line Layout\n\nThe statusline uses a 3-line layout optimized for portrait screens:\n\n```\nusername (Sonnet 4.5 [1M]) [$0.26\u002F$25.93]\n~\u002Fworkspace\u002Fjava\u002Fready-together-svc\n[git:feature\u002Fbranch-name*+]\n```\n\n**Benefits:**\n- Shorter lines fit narrow screens\n- Clear visual separation of information types\n- No horizontal scrolling needed\n\n### Cost Tracking Integration\n\nCost tracking via `ccusage`:\n- **Session Cost**: Current conversation cost\n- **Daily Cost**: Total cost for today\n- **Format**: `[$session\u002F$daily]` in magenta\n- **Caching**: 2-minute cache to avoid performance impact\n- **Background Fetch**: First run loads costs asynchronously\n\n**Requirements:** `ccusage` must be installed and in PATH. See `references\u002Fccusage_integration.md` for installation and troubleshooting.\n\n### Model Name Shortening\n\nModel names are automatically shortened:\n- `\"Sonnet 4.5 (with 1M token context)\"` → `\"Sonnet 4.5 [1M]\"`\n- `\"Opus 4.1 (with 500K token context)\"` → `\"Opus 4.1 [500K]\"`\n\nThis saves horizontal space while preserving key information.\n\n### Git Status Indicators\n\nGit branch status shows:\n- **Yellow**: Clean branch (no changes)\n- **Red**: Dirty branch (uncommitted changes)\n- **Indicators**:\n  - `*` - Modified or staged files\n  - `+` - Untracked files\n  - Example: `[git:main*+]` - Modified files and untracked files\n\n### Path Shortening\n\nPaths are shortened:\n- Home directory replaced with `~`\n- Example: `\u002Fhome\u002Fusername\u002Fworkspace\u002Fproject` → `~\u002Fworkspace\u002Fproject`\n\n### Color Scheme\n\nDefault colors optimized for visibility:\n- **Username**: Bright Green (`\\033[01;32m`)\n- **Model**: Bright Cyan (`\\033[01;36m`)\n- **Costs**: Bright Magenta (`\\033[01;35m`)\n- **Path**: Bright White (`\\033[01;37m`)\n- **Git (clean)**: Bright Yellow (`\\033[01;33m`)\n- **Git (dirty)**: Bright Red (`\\033[01;31m`)\n\n## Customization\n\n### Changing Colors\n\nCustomize colors by editing `~\u002F.claude\u002Fstatusline.sh` and modifying the ANSI color codes in the final `printf` statement. See `references\u002Fcolor_codes.md` for available colors.\n\n**Example: Change username to blue**\n```bash\n# Find this line:\nprintf '\\033[01;32m%s\\033[00m \\033[01;36m(%s)\\033[00m%s\\n\\033[01;37m%s\\033[00m\\n%s' \\\n\n# Change \\033[01;32m (green) to \\033[01;34m (blue):\nprintf '\\033[01;34m%s\\033[00m \\033[01;36m(%s)\\033[00m%s\\n\\033[01;37m%s\\033[00m\\n%s' \\\n```\n\n### Single-Line Layout\n\nConvert to single-line layout by modifying the final `printf`:\n\n```bash\n# Replace:\nprintf '\\033[01;32m%s\\033[00m \\033[01;36m(%s)\\033[00m%s\\n\\033[01;37m%s\\033[00m\\n%s' \\\n    \"$username\" \"$model\" \"$cost_info\" \"$short_path\" \"$git_info\"\n\n# With:\nprintf '\\033[01;32m%s\\033[00m \\033[01;36m(%s)\\033[00m:\\033[01;37m%s\\033[00m%s%s' \\\n    \"$username\" \"$model\" \"$short_path\" \"$git_info\" \"$cost_info\"\n```\n\n### Disabling Cost Tracking\n\nIf `ccusage` is unavailable or not desired:\n\n1. Comment out the cost section in the script (lines ~47-73)\n2. Remove `%s` for `$cost_info` from the final `printf`\n\nSee `references\u002Fccusage_integration.md` for details.\n\n### Adding Custom Elements\n\nAdd custom information (e.g., hostname, time):\n\n```bash\n# Add variable before final printf:\nhostname=$(hostname -s)\ncurrent_time=$(date +%H:%M)\n\n# Update printf to include new elements:\nprintf '\\033[01;32m%s@%s\\033[00m \\033[01;36m(%s)\\033[00m%s [%s]\\n...' \\\n    \"$username\" \"$hostname\" \"$model\" \"$cost_info\" \"$current_time\" ...\n```\n\n## Troubleshooting\n\n### Costs Not Showing\n\n**Check:**\n1. Is `ccusage` installed? Run `which ccusage`\n2. Test `ccusage` manually: `ccusage session --json --offline -o desc`\n3. Wait 5-10 seconds after first display (background fetch)\n4. Check cache: `ls -lh \u002Ftmp\u002Fclaude_cost_cache_*.txt`\n\n**Solution:** See `references\u002Fccusage_integration.md` for detailed troubleshooting.\n\n### Colors Hard to Read\n\n**Solution:** Adjust colors for your terminal background using `references\u002Fcolor_codes.md`. Bright colors (`01;3X`) are generally more visible than regular (`00;3X`).\n\n### Statusline Not Updating\n\n**Check:**\n1. Verify settings.json points to correct script path\n2. Ensure script is executable: `chmod +x ~\u002F.claude\u002Fstatusline.sh`\n3. Restart Claude Code\n\n### Git Status Not Showing\n\n**Check:**\n1. Are you in a git repository?\n2. Test git commands: `git branch --show-current`\n3. Check git permissions in the directory\n\n## Resources\n\n### scripts\u002Fgenerate_statusline.sh\nMain statusline script with all features (multi-line, ccusage, git, colors). Copy this to `~\u002F.claude\u002Fstatusline.sh` for use.\n\n### scripts\u002Finstall_statusline.sh\nAutomated installation script that copies the statusline script and updates settings.json.\n\n### references\u002Fcolor_codes.md\nComplete ANSI color code reference for customizing statusline colors. Load when users request color customization.\n\n### references\u002Fccusage_integration.md\nDetailed explanation of ccusage integration, caching strategy, JSON structure, and troubleshooting. Load when users experience cost tracking issues or want to understand how it works.\n","# Statusline Generator\n\n## Overview\n\nThis skill provides tools and guidance for creating and customizing Claude Code statuslines. It generates multi-line statuslines optimized for portrait screens, integrates with `ccusage` for session\u002Fdaily cost tracking, displays git branch status, and supports color customization.\n\n## When to Use This Skill\n\nThis skill activates for:\n- Statusline configuration requests for Claude Code\n- Cost information display (session\u002Fdaily costs)\n- Multi-line layouts for portrait or narrow screens\n- Statusline color or format customization\n- Statusline display or cost tracking issues\n- Git status or path shortening features\n\n## Quick Start\n\n### Basic Installation\n\nInstall the default multi-line statusline:\n\n1. Run the installation script:\n   ```bash\n   bash scripts\u002Finstall_statusline.sh\n   ```\n\n2. Restart Claude Code to see the statusline\n\nThe default statusline displays:\n- **Line 1**: `username (model) [session_cost\u002Fdaily_cost]`\n- **Line 2**: `current_path`\n- **Line 3**: `[git:branch*+]`\n\n### Manual Installation\n\nAlternatively, manually install by:\n\n1. Copy `scripts\u002Fgenerate_statusline.sh` to `~\u002F.claude\u002Fstatusline.sh`\n2. Make it executable: `chmod +x ~\u002F.claude\u002Fstatusline.sh`\n3. Update `~\u002F.claude\u002Fsettings.json`:\n   ```json\n   {\n     \"statusLine\": {\n       \"type\": \"command\",\n       \"command\": \"bash \u002Fhome\u002Fusername\u002F.claude\u002Fstatusline.sh\",\n       \"padding\": 0\n     }\n   }\n   ```\n\n## Statusline Features\n\n### Multi-Line Layout\n\nThe statusline uses a 3-line layout optimized for portrait screens:\n\n```\nusername (Sonnet 4.5 [1M]) [$0.26\u002F$25.93]\n~\u002Fworkspace\u002Fjava\u002Fready-together-svc\n[git:feature\u002Fbranch-name*+]\n```\n\n**Benefits:**\n- Shorter lines fit narrow screens\n- Clear visual separation of information types\n- No horizontal scrolling needed\n\n### Cost Tracking Integration\n\nCost tracking via `ccusage`:\n- **Session Cost**: Current conversation cost\n- **Daily Cost**: Total cost for today\n- **Format**: `[$session\u002F$daily]` in magenta\n- **Caching**: 2-minute cache to avoid performance impact\n- **Background Fetch**: First run loads costs asynchronously\n\n**Requirements:** `ccusage` must be installed and in PATH. See `references\u002Fccusage_integration.md` for installation and troubleshooting.\n\n### Model Name Shortening\n\nModel names are automatically shortened:\n- `\"Sonnet 4.5 (with 1M token context)\"` → `\"Sonnet 4.5 [1M]\"`\n- `\"Opus 4.1 (with 500K token context)\"` → `\"Opus 4.1 [500K]\"`\n\nThis saves horizontal space while preserving key information.\n\n### Git Status Indicators\n\nGit branch status shows:\n- **Yellow**: Clean branch (no changes)\n- **Red**: Dirty branch (uncommitted changes)\n- **Indicators**:\n  - `*` - Modified or staged files\n  - `+` - Untracked files\n  - Example: `[git:main*+]` - Modified files and untracked files\n\n### Path Shortening\n\nPaths are shortened:\n- Home directory replaced with `~`\n- Example: `\u002Fhome\u002Fusername\u002Fworkspace\u002Fproject` → `~\u002Fworkspace\u002Fproject`\n\n### Color Scheme\n\nDefault colors optimized for visibility:\n- **Username**: Bright Green (`\\033[01;32m`)\n- **Model**: Bright Cyan (`\\033[01;36m`)\n- **Costs**: Bright Magenta (`\\033[01;35m`)\n- **Path**: Bright White (`\\033[01;37m`)\n- **Git (clean)**: Bright Yellow (`\\033[01;33m`)\n- **Git (dirty)**: Bright Red (`\\033[01;31m`)\n\n## Customization\n\n### Changing Colors\n\nCustomize colors by editing `~\u002F.claude\u002Fstatusline.sh` and modifying the ANSI color codes in the final `printf` statement. See `references\u002Fcolor_codes.md` for available colors.\n\n**Example: Change username to blue**\n```bash\n# Find this line:\nprintf '\\033[01;32m%s\\033[00m \\033[01;36m(%s)\\033[00m%s\\n\\033[01;37m%s\\033[00m\\n%s' \\\n\n# Change \\033[01;32m (green) to \\033[01;34m (blue):\nprintf '\\033[01;34m%s\\033[00m \\033[01;36m(%s)\\033[00m%s\\n\\033[01;37m%s\\033[00m\\n%s' \\\n```\n\n### Single-Line Layout\n\nConvert to single-line layout by modifying the final `printf`:\n\n```bash\n# Replace:\nprintf '\\033[01;32m%s\\033[00m \\033[01;36m(%s)\\033[00m%s\\n\\033[01;37m%s\\033[00m\\n%s' \\\n    \"$username\" \"$model\" \"$cost_info\" \"$short_path\" \"$git_info\"\n\n# With:\nprintf '\\033[01;32m%s\\033[00m \\033[01;36m(%s)\\033[00m:\\033[01;37m%s\\033[00m%s%s' \\\n    \"$username\" \"$model\" \"$short_path\" \"$git_info\" \"$cost_info\"\n```\n\n### Disabling Cost Tracking\n\nIf `ccusage` is unavailable or not desired:\n\n1. Comment out the cost section in the script (lines ~47-73)\n2. Remove `%s` for `$cost_info` from the final `printf`\n\nSee `references\u002Fccusage_integration.md` for details.\n\n### Adding Custom Elements\n\nAdd custom information (e.g., hostname, time):\n\n```bash\n# Add variable before final printf:\nhostname=$(hostname -s)\ncurrent_time=$(date +%H:%M)\n\n# Update printf to include new elements:\nprintf '\\033[01;32m%s@%s\\033[00m \\033[01;36m(%s)\\033[00m%s [%s]\\n...' \\\n    \"$username\" \"$hostname\" \"$model\" \"$cost_info\" \"$current_time\" ...\n```\n\n## Troubleshooting\n\n### Costs Not Showing\n\n**Check:**\n1. Is `ccusage` installed? Run `which ccusage`\n2. Test `ccusage` manually: `ccusage session --json --offline -o desc`\n3. Wait 5-10 seconds after first display (background fetch)\n4. Check cache: `ls -lh \u002Ftmp\u002Fclaude_cost_cache_*.txt`\n\n**Solution:** See `references\u002Fccusage_integration.md` for detailed troubleshooting.\n\n### Colors Hard to Read\n\n**Solution:** Adjust colors for your terminal background using `references\u002Fcolor_codes.md`. Bright colors (`01;3X`) are generally more visible than regular (`00;3X`).\n\n### Statusline Not Updating\n\n**Check:**\n1. Verify settings.json points to correct script path\n2. Ensure script is executable: `chmod +x ~\u002F.claude\u002Fstatusline.sh`\n3. Restart Claude Code\n\n### Git Status Not Showing\n\n**Check:**\n1. Are you in a git repository?\n2. Test git commands: `git branch --show-current`\n3. Check git permissions in the directory\n\n## Resources\n\n### scripts\u002Fgenerate_statusline.sh\nMain statusline script with all features (multi-line, ccusage, git, colors). Copy this to `~\u002F.claude\u002Fstatusline.sh` for use.\n\n### scripts\u002Finstall_statusline.sh\nAutomated installation script that copies the statusline script and updates settings.json.\n\n### references\u002Fcolor_codes.md\nComplete ANSI color code reference for customizing statusline colors. Load when users request color customization.\n\n### references\u002Fccusage_integration.md\nDetailed explanation of ccusage integration, caching strategy, JSON structure, and troubleshooting. Load when users experience cost tracking issues or want to understand how it works.\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fdaymade\u002Fclaude-code-skills\u002Fstatusline-generator",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill statusline-generator",{"tool":59,"command":60},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill statusline-generator",{"tool":62,"command":63},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill statusline-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fdaymade\u002Fclaude-code-skills\u002Fstatusline-generator\u002FSKILL.md",true,[],[68,77,86,95,101,107],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[74,75,76],"model","model hierarchy","model hierarchy skill",{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[83,84,85],"MCP","zoom","zoom mcp",{"skillNo":87,"name":88,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[92,93,94,84],"sdk","zoom apps sdk","apps",{"skillNo":96,"name":97,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[97],{"skillNo":102,"name":103,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[103],{"skillNo":108,"name":109,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[109]]