Skip to content
Back to skills

Install

CSecurity

Install the cosmobar status line for Claude Code — downloads the binary and runs guided setup. Use when the user wants to install or set up cosmobar for the first time (when it is not yet installed).

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 6, 2026
ai-agentsgoshellbashgit

Works with

  • claude code

Security analysis

C71/100
  • criticalPipes output to a shell interpreter
  • mediumUses curl or wget to download content
  • criticalDownloads and executes remote scripts — classic supply chain attack

Pro shows the line behind each finding and how to fix it

Scanned September 6, 2026

npx -y skills add oleksbard/cosmobar --skill install --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Install?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Install
[![Security: C — Skills Directory](https://www.skillsdirectory.com/api/skills/oleksbard-install/badge)](https://www.skillsdirectory.com/skills/oleksbard-install)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: install
description: Install the cosmobar status line for Claude Code — downloads the binary and runs guided setup. Use when the user wants to install or set up cosmobar for the first time (when it is not yet installed).
---

# Install cosmobar

Install the cosmobar status line and walk the user through setup. cosmobar is a single static Go binary (macOS/Linux). Follow these steps in order.

## Steps

1. **Check whether it's already installed.** Run `command -v cosmobar`.
   - If found: tell the user cosmobar is already installed, run `cosmobar upgrade --check` to report whether a newer release exists, and skip to step 5 (offer to configure). Do **not** re-download.

2. **Install the binary.** Run the official installer:
   ```
   curl -sS https://raw.githubusercontent.com/oleksbard/cosmobar/main/install.sh | sh
   ```
   The user will see the normal Bash permission prompt for this command — that is expected and intentional. Show the installer's output. If the download fails (network error, non-zero exit), report the failure and give the user the same `curl … | sh` command to run themselves, then stop.

3. **Verify the install.** Run `cosmobar --version`.
   - If it prints a version, continue.
   - If it reports "command not found", the binary was installed to `~/.local/bin`, which is not on the user's `PATH`. Tell the user to add it (`export PATH="$HOME/.local/bin:$PATH"` in their shell profile) and, for the next step, use the full path `~/.local/bin/cosmobar`.

4. **Initialize.** Run `cosmobar init` (or `~/.local/bin/cosmobar init` if it wasn't on `PATH`). This wires `~/.claude/settings.json`, writes a default config to `~/.config/cosmobar/config.toml`, and installs the `/cosmobar` guided-setup skill.

5. **Hand off to guided setup.** The `/cosmobar` skill is now available. Continue directly into the cosmobar guided configuration (discover segments and themes, interview the user, apply) so install and configuration happen in one flow.

## Notes
- macOS/Linux only.
- Everything is reversible: `cosmobar uninstall` removes the wiring (add `--purge` to also delete the config and binary).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.