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.
npx agentmods add skills/oleksbard/cosmobar/installnpx skills add oleksbard/cosmobar --skill installgit clone --depth 1 https://github.com/oleksbard/cosmobarWrote 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.
[](https://agentmods.dev/skills/oleksbard/cosmobar/install)<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>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.
| Model | Per session | Once 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 |
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 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
-
Check whether it's already installed. Run
command -v cosmobar.- If found: tell the user cosmobar is already installed, run
cosmobar upgrade --checkto report whether a newer release exists, and skip to step 5 (offer to configure). Do not re-download.
- If found: tell the user cosmobar is already installed, run
-
Install the binary. Run the official installer:
curl -sS https://raw.githubusercontent.com/oleksbard/cosmobar/main/install.sh | shThe 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 … | shcommand to run themselves, then stop. -
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'sPATH. 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.
-
Initialize. Run
cosmobar init(or~/.local/bin/cosmobar initif it wasn't onPATH). This wires~/.claude/settings.json, writes a default config to~/.config/cosmobar/config.toml, and installs the/cosmobarguided-setup skill. -
Hand off to guided setup. The
/cosmobarskill 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 uninstallremoves the wiring (add--purgeto also delete the config and binary).
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.
- 3d ago First seen · 32 lines · 44 tokens per session scan D 325ca12fa892
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.
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…
golang
Go coding standards and conventions for this project. Apply when writing, reviewing, or refactoring any Go source file.
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…
powershell
PowerShell cmdlet conventions for this project. Apply when writing or reviewing any .ps1 or module file.
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.
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.