install

install is a skill for Claude Code, Codex from oleksbard/cosmobar. It costs 44 tokens per session (515 once invoked), scanned D, original, MIT.

An installation guide for cosmobar, a small status-line program for Claude Code on macOS or Linux. A status line shows selected information in the terminal while you work.

In plain words
What is it for?
Use it when setting up cosmobar for the first time. It guides the download, version check and optional configuration, and explains what to do if the shell cannot find the program.
Why use it?
It checks whether cosmobar is already installed, installs it when needed and verifies that the command is available, including a common PATH setup problem.

Skill for Claude CodeCodex

Part of the cosmobar plugin — 2 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/oleksbard/cosmobar/install
Any agent
npx skills add oleksbard/cosmobar --skill install
Clone the repo
git clone --depth 1 https://github.com/oleksbard/cosmobar

Made for: Claude Code, Codex.

Or install cosmobar, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for install

README.md
[![agentmods](https://agentmods.dev/badge/skills/oleksbard/cosmobar/install.svg)](https://agentmods.dev/skills/oleksbard/cosmobar/install)
Your own site
<a href="https://agentmods.dev/skills/oleksbard/cosmobar/install"><img src="https://agentmods.dev/badge/skills/oleksbard/cosmobar/install.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 515 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00044 $0.00515
Opus 5 $0.00022 $0.00258
Sonnet 5 $0.00009 $0.00103
Haiku 4.5 $0.00004 $0.00052

Measured 3d ago against content hash 325ca12fa892, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade D, and why

install scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -sS https://raw.githubusercontent.com/oleksbard/cosmobar/main/install.sh | sh

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

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 `/cosmo

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sS https://raw.githubusercontent.com/oleksbard/cosmobar/main/install.sh | sh
skills/install/SKILL.md · 32 lines

What it actually says

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).
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 32 lines · 44 tokens per session scan D 325ca12fa892

Subscribe to this mod's changes

install is a skill published in the GitHub repository oleksbard/cosmobar (4 stars, last pushed 2mo ago), licensed MIT. It adds 44 tokens to every session and 515 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it D with 3 findings (downloads and executes remote code, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

analyzing-powershell-script-block-logging

Parse Windows PowerShell Script Block Logs (Event ID 4104) from EVTX files to detect obfuscated commands, encoded payloads, and living-off-the-land techniques. Uses python-evtx to extract and reconstruct multi-block scripts, applies entropy analysis and pattern matching for Base64-encoded commands, Invoke-Expression…

mukul975/Anthropic-Cybersecurity-Skills · 88 tokens

golang

Go coding standards and conventions for this project. Apply when writing, reviewing, or refactoring any Go source file.

JanDeDobbeleer/oh-my-posh · 26 tokens

ast-grep

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…

JanDeDobbeleer/oh-my-posh · 80 tokens

powershell

PowerShell cmdlet conventions for this project. Apply when writing or reviewing any .ps1 or module file.

JanDeDobbeleer/oh-my-posh · 25 tokens

conventional-commit

Workflow for generating conventional commit messages following the Conventional Commits specification. MUST be invoked every time a commit is created. Guides construction of standardized commit messages with correct type, scope, description, body, and footer.

JanDeDobbeleer/oh-my-posh · 47 tokens

segment-create

Full scaffolding workflow for creating a new Oh My Posh segment. Invoke when asked to add a new segment: generates the Go source, registers the type, creates documentation, updates the sidebar and JSON schema.

JanDeDobbeleer/oh-my-posh · 45 tokens