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 instructions/mryll/codexbar/claude-mdgit clone --depth 1 https://github.com/mryll/codexbarWhat 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.00849 | $0.00849 |
| Opus 5 | $0.00425 | $0.00425 |
| Sonnet 5 | $0.00170 | $0.00170 |
| Haiku 4.5 | $0.00085 | $0.00085 |
Grade A, and why
codexbar CLAUDE.md scanned grade A with 0 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 2d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 33 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Tooling
- Single bash script (
codexbar) — no build step, no dependencies to install - Install:
make install PREFIX=~/.local
Non-Obvious Rules
-
Quickshell emits NEITHER
startedNORexitedwhen the command does not exist —runningjust drops back to false.sawExitis the discriminator: noexited= the run could not start; anexitedrun with empty output is an operational failure, never "not installed". Probed live:exitedalways arrives beforerunningdrops. -
The bundled-script fallback fires ONLY on a failed start. The plugin clone carries the script, so the panel switches
resolvedBinto the clone's copy when PATH cannot start it. PATH first, always: the AUR release wins when it exists. Never fall back on operational errors. A lateryay -Sapplies on the next shell restart. -
URL→path decodes each segment (mirror of
Util.fileUrl). The naive scheme strip is banned;test_bundled_fallback.shpins it. A bad%degrades to PATH-only. -
schema_versionis pinned to 2 on both sides. A schema bump must change script, panel and tests in one commit. -
installCmdis the one constant — the message shows it and the button copies it (Util.execArgv(["wl-copy", ...]), no shell line, no trailing newline). The button gates onnotInstalled, never on error text. -
A tooltip meter is PARKED, not rendered in place. The bar has to reach the tooltip's right edge, and that edge is the widest TEXT line — which does not exist yet while the lines are being collected. So a meter pushes
METER:<i>intolinesplus one entry in the parallelmeter_*arrays, and the width pass resolves it. The width pass MUST skipMETER:lines, or the measurement is circular. Every meter in one tooltip gets the SAME bar length: they stack, so a reader compares them against each other. -
The script must ALWAYS exit 0 and output valid Waybar JSON (
{text, tooltip, class}), even on errors — use thedie()helper for error paths -
Tooltip markup is Pango (not HTML) — Waybar renders it via GTK/Pango
-
Bar text is also wrapped in Pango
<span>for coloring -
set -euo pipefailis active — unset variables and failed pipes are fatal -
Cache lives at
~/.cache/codexbar/; auth at~/.codex/auth.json -
Concurrent instances are serialized with
flock(multi-monitor support) -
Color chain (first match wins):
--color-*flags > Omarchy theme (~/.local/state/omarchy/current/theme/colors.toml, legacy~/.config/...) > pywal (${XDG_CACHE_HOME:-$HOME/.cache}/wal/colors.json) > One Dark built-ins. Every step degrades silently; the resolved anchors are published aspalettein--jsonso the Quickshell panel draws the same gauge -
IFS=$'\t' readcollapses runs of empty fields (TAB is IFS whitespace) — emit a sentinel fromjq, never an empty TSV field
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.
- 2d ago First seen · 33 lines · 849 tokens per session scan A b5e25a8600f9
codexbar CLAUDE.md is an instructions file published in the GitHub repository mryll/codexbar (14 stars, last pushed 5d ago), licensed MIT. It adds 849 tokens to every session, about $0.0042 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
claudebar CLAUDE.md
Instructions for mryll/claudebar, covering claude.md, tooling, non-obvious rules, hardening rules — the widget runs inside omarchy-shell and release.
claude-desktop-extra AGENTS.md
Instructions for patrickjaja/claude-desktop-extra, covering agents.md - project guidelines, project overview, version-sensitive artifacts, ci-managed files (do not edit manually) and update workflow.
Omarchy-4-AI-Agent-MCP AGENTS.md
AGENTS.md instructions for hlsitechio/Omarchy-4-AI-Agent-MCP, covering agents.md — omarchy-mcp, project status, critical environment quirks (do not rediscover these), next steps (roadmap) and conventions.
claude-desktop-extra CLAUDE.md
Instructions for patrickjaja/claude-desktop-extra, a project described as: Unofficial Linux packages for Claude Desktop AI assistant with automated updates.
codex-profiles AGENTS.md
Instructions for Ducksss/codex-profiles, covering agents.md, what this project is, repository layout, setup, build, and test and how to run the tool.
mirage CLAUDE.md
Claude Code instructions for strukto-ai/mirage, covering claude.md, repo layout, typescript packages, python/typescript parity and module layout.