A fast, dependency-light, starship-inspired status line for Claude Code. Single static Go binary — no runtime, no jq, no Nerd Font required Themed segments: context gauge, git status, cost, model, clock, and more TOML config, instant local preview,
FAQ
cosmobar is a Claude Code plugin with 1 hand-picked skill for development work, indexed on Flowy. Install it with the command on its page. It includes install. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
> /plugin marketplace add oleksbard/cosmobar> /plugin install cosmobar@cosmobar
A fast, dependency-light, starship-inspired status line for Claude Code.
jq, no Nerd Font requiredcurl -sS https://raw.githubusercontent.com/oleksbard/cosmobar/main/install.sh | sh
cosmobar init
init wires cosmobar into ~/.claude/settings.json, writes a default config
to ~/.config/cosmobar/config.toml, and installs the guided-setup skill.
Restart Claude Code (or send a message) to see the status line.
cosmobar also ships as a Claude Code plugin (macOS/Linux):
/plugin marketplace add oleksbard/cosmobar
/plugin install cosmobar@cosmobar
Then say "install cosmobar" (or run /cosmobar:install) — Claude downloads
the binary, wires it in, and walks you through setup, no shell command to copy.
Run /cosmobar in Claude Code (or just ask "set up cosmobar") for guided
setup, or edit ~/.config/cosmobar/config.toml directly:
theme = "coral" # coral | catppuccin | nord | gruvbox
order = ["dir", "git", "model", "context", "cost", "clock"]
separator = " · "
max_rows = 2
gauge_width = 8
gauge_thresholds = [70, 90]
glyphs = "auto" # auto | unicode | ascii
style = "lean" # lean | tick | blocks
block_caps = "soft" # soft | square (blocks style only)
[clock]
format = "24h" # 24h | 12h | off
[dir]
style = "basename" # basename | short-path | full
[context]
show = true
[rate_limits]
show = false # Pro/Max only
window = "both" # both | 5h | 7d
[animation]
enabled = true # briefly scramble a value when it changes
duration_ms = 700
variants = ["glitch"] # glitch | decode | scatter (list to mix)
Available segments: dir, git, model, context, cost, clock,
rate_limits, duration, lines, output_style, git_stash, effort.
Add or reorder them in order.
Preview any look without launching Claude Code (every flag is optional and overrides just that field):
cosmobar preview --theme nord --style blocks --caps soft --order git,model,context,lines
# --cols --theme --style --caps --glyphs --clock --rate-window --order --config
# add --animate to watch value changes scramble
# add --gallery to print a spread of example presets (all themes + varied widget sets)
| Command | What it does |
|---|---|
cosmobar | Render the status line (reads JSON from stdin). |
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. |
cosmobar install-skill | Install the /cosmobar guided-setup skill into ~/.claude/skills/. |
cosmobar segments [--json] | List all available segments. |
cosmobar preview | Render a mock session locally. Flags: --cols --theme --style --caps --glyphs --clock --rate-window --order --config --animate --gallery. |
cosmobar themes | List built-in themes. |
cosmobar doctor | Offline diagnostics. |
cosmobar upgrade [--check] | Self-update from the latest GitHub Release. |
cosmobar uninstall [--purge] | Remove the statusLine block from settings.json. --purge also deletes the config file and the binary. |
cosmobar upgrade # download + verify + replace
cosmobar upgrade --check # just report current vs latest
Or re-run the installer — it always fetches the latest release.
cosmobar uninstall # remove the statusLine block from ~/.claude/settings.json
cosmobar uninstall --purge # also delete ~/.config/cosmobar/ and the binary
uninstall preserves your other settings.json keys and writes a
settings.json.bak backup first. You can also revert manually with
mv ~/.claude/settings.json.bak ~/.claude/settings.json.
MIT
.claude-plugin/
marketplace.json
plugin.json
.github/
workflows/
ci.yml
release.yml
.gitignore
.goreleaser.yaml
assets/
cosmobar.png
gallery.png
CLAUDE.md
go.mod
go.sum
install.sh
internal/
anim/
anim_test.go
anim.go
frame_test.go
frame.go
cli/
assets/
mock-session.json
skill/
SKILL.md
cli.go
cmd_doctor_test.go
cmd_doctor.go
cmd_init_test.go
cmd_init.go
cmd_install_skill.go
cmd_preview_test.go
cmd_preview.go
cmd_print_test.go
cmd_print.go
cmd_segments_test.go
cmd_segments.go
cmd_themes_test.go
cmd_themes.go
cmd_uninstall.go
cmd_upgrade_test.go
cmd_upgrade.go
helpers.go
config/
config_test.go
config.go
path.go
render_test.go
render.go
git/
git_test.go
git.go
release/
release_test.go
release.go
render/
color_test.go
color.go
gauge_test.go
gauge.go
layout_test.go
layout.go
width_test.go
width.go
segments/
catalog_test.go
catalog.go
clock.go
context.go
cost.go
dir.go
duration.go
effort.go
git.go
gitstash.go
lines.go
model.go
more_test.go
outputstyle.go
ratelimits.go
segments_test.go
segments.go
tokens_test.go
tokens.go
session/
session_test.go
session.go
testdata/
transcript.jsonl
transcript_test.go
transcript.go
settings/
settings_test.go
settings.go
spend/
ledger_test.go
ledger.go
statusline/
statusline_test.go
statusline.go
style_test.go
style.go
testdata/
heavy.json
minimal.json
theme/
theme_test.go
theme.go
LICENSE
main.go
Makefile
plugin_manifest_test.go
README.md
skills/
install/
SKILL.md© 2026 Flowy · Free and open source
Built for Claude Code · Not affiliated with Anthropic