{"id":51008945,"url":"https://github.com/oleksbard/cosmobar","last_synced_at":"2026-06-21T00:02:23.517Z","repository":{"id":364816131,"uuid":"1269224699","full_name":"oleksbard/cosmobar","owner":"oleksbard","description":"A fast, dependency-light, starship-inspired status line for Claude Code.","archived":false,"fork":false,"pushed_at":"2026-06-14T15:11:57.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-14T17:11:56.364Z","etag":null,"topics":["ai","ai-agents","claude","claude-code","claude-skills","powershell","statusbar","statusline"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oleksbard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-14T13:03:37.000Z","updated_at":"2026-06-14T15:17:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/oleksbard/cosmobar","commit_stats":null,"previous_names":["oleksbard/cosmobar"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/oleksbard/cosmobar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleksbard%2Fcosmobar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleksbard%2Fcosmobar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleksbard%2Fcosmobar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleksbard%2Fcosmobar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oleksbard","download_url":"https://codeload.github.com/oleksbard/cosmobar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleksbard%2Fcosmobar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34589219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-agents","claude","claude-code","claude-skills","powershell","statusbar","statusline"],"created_at":"2026-06-21T00:02:22.779Z","updated_at":"2026-06-21T00:02:23.509Z","avatar_url":"https://github.com/oleksbard.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cosmobar\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/cosmobar.png\" alt=\"cosmobar mascot\" width=\"160\" height=\"160\"\u003e\n\u003c/p\u003e\n\nA fast, dependency-light, starship-inspired status line for [Claude Code](https://code.claude.com).\n\n- Single static Go binary — no runtime, no `jq`, no Nerd Font required\n- Themed segments: context gauge, git status, cost, model, clock, and more\n- TOML config, instant local preview, one-command self-update\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/gallery.png\" alt=\"cosmobar preview --gallery showing the coral/lean, nord/tick, catppuccin/blocks, and gruvbox/blocks presets\"\u003e\n\u003c/p\u003e\n\n## Install\n\n```sh\ncurl -sS https://raw.githubusercontent.com/oleksbard/cosmobar/main/install.sh | sh\ncosmobar init\n```\n\n`init` wires `cosmobar` into `~/.claude/settings.json`, writes a default config\nto `~/.config/cosmobar/config.toml`, and installs the guided-setup skill.\nRestart Claude Code (or send a message) to see the status line.\n\n### From inside Claude Code\n\ncosmobar also ships as a Claude Code plugin (macOS/Linux):\n\n```sh\n/plugin marketplace add oleksbard/cosmobar\n/plugin install cosmobar@cosmobar\n```\n\nThen say **\"install cosmobar\"** (or run `/cosmobar:install`) — Claude downloads\nthe binary, wires it in, and walks you through setup, no shell command to copy.\n\n## Configure\n\nRun **`/cosmobar`** in Claude Code (or just ask \"set up cosmobar\") for guided\nsetup, or edit `~/.config/cosmobar/config.toml` directly:\n\n```toml\ntheme            = \"coral\"            # coral | catppuccin | nord | gruvbox\norder            = [\"dir\", \"git\", \"model\", \"context\", \"cost\", \"clock\"]\nseparator        = \" · \"\nmax_rows         = 2\ngauge_width      = 8\ngauge_thresholds = [70, 90]\nglyphs           = \"auto\"             # auto | unicode | ascii\nstyle            = \"lean\"             # lean | tick | blocks\nblock_caps       = \"soft\"             # soft | square  (blocks style only)\n\n[clock]\nformat = \"24h\"                        # 24h | 12h | off\n\n[dir]\nstyle = \"basename\"                    # basename | short-path | full\n\n[context]\nshow = true\n\n[rate_limits]\nshow   = false                        # Pro/Max only\nwindow = \"both\"                       # both | 5h | 7d\n\n[animation]\nenabled     = true                    # briefly scramble a value when it changes\nduration_ms = 700\nvariants    = [\"glitch\"]              # glitch | decode | scatter (list to mix)\n```\n\nAvailable segments: `dir`, `git`, `model`, `context`, `cost`, `clock`,\n`rate_limits`, `duration`, `lines`, `output_style`, `git_stash`, `effort`.\nAdd or reorder them in `order`.\n\nPreview any look without launching Claude Code (every flag is optional and\noverrides just that field):\n\n```sh\ncosmobar preview --theme nord --style blocks --caps soft --order git,model,context,lines\n# --cols --theme --style --caps --glyphs --clock --rate-window --order --config\n# add --animate to watch value changes scramble\n# add --gallery to print a spread of example presets (all themes + varied widget sets)\n```\n\n## Commands\n\n| Command | What it does |\n|---|---|\n| `cosmobar` | Render the status line (reads JSON from stdin). |\n| `cosmobar init` | Wire into `settings.json`, write config, install the setup skill. Flags: `--theme --order --clock --glyphs --style --caps --rate-window --animate --force --no-skill`. |\n| `cosmobar install-skill` | Install the `/cosmobar` guided-setup skill into `~/.claude/skills/`. |\n| `cosmobar segments [--json]` | List all available segments. |\n| `cosmobar preview` | Render a mock session locally. Flags: `--cols --theme --style --caps --glyphs --clock --rate-window --order --config --animate --gallery`. |\n| `cosmobar themes` | List built-in themes. |\n| `cosmobar doctor` | Offline diagnostics. |\n| `cosmobar upgrade [--check]` | Self-update from the latest GitHub Release. |\n| `cosmobar uninstall [--purge]` | Remove the `statusLine` block from `settings.json`. `--purge` also deletes the config file and the binary. |\n\n## Updating\n\n```sh\ncosmobar upgrade            # download + verify + replace\ncosmobar upgrade --check    # just report current vs latest\n```\n\nOr re-run the installer — it always fetches the latest release.\n\n## Uninstall\n\n```sh\ncosmobar uninstall          # remove the statusLine block from ~/.claude/settings.json\ncosmobar uninstall --purge  # also delete ~/.config/cosmobar/ and the binary\n```\n\n`uninstall` preserves your other `settings.json` keys and writes a\n`settings.json.bak` backup first. You can also revert manually with\n`mv ~/.claude/settings.json.bak ~/.claude/settings.json`.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleksbard%2Fcosmobar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foleksbard%2Fcosmobar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleksbard%2Fcosmobar/lists"}