CodexBar is a GTK tray control surface for a local OpenClaw stack. This export includes:
- the
codexbardesktop controller - the
runtime-governorOpenClaw plugin - systemd user unit templates for the tray, scheduled smoke tests, and usage snapshots
Inspired by steipete/CodexBar, which is a macOS menu bar app for provider visibility and usage tracking. This repo is a separate Ubuntu/OpenClaw-focused implementation.
- GTK tray control surface for local OpenClaw operations
- lane switching with primary model, fallback chain, and per-agent routing controls
- runtime governor plugin for policy-aware model selection
- daemon controls for local OpenClaw and NemoClaw/OpenShell flows
- scheduled smoke tests, usage snapshots, restore points, and event history
- sanitized repo layout for publishing without local secrets or session state
The tray is built as a compact local control surface: routing, live status, spend, account state, daemons, and ops history in one popup.
Routing presets, primary lane selection, fallback chain management, and per-agent lane control live in the Models panel.
Local OpenClaw and NemoClaw can be launched, restarted, opened, and placed on autostart directly from the tray.
The Ops view exposes scheduled smoke tests, restore points, alerts, and the event center for day-to-day runtime auditing.
This repo is prepared to avoid publishing personal local state:
- no credentials
- no OpenClaw session history
- no Codex auth/session files
- no daemon cookies
- no runtime event logs
- no restore-point snapshots
Machine-specific paths were replaced with generic templates where needed.
Do not add any of these local files:
~/.openclaw/credentials/env~/.openclaw/codexbar-state.json~/.openclaw/codexbar-daemons.json~/.openclaw/codexbar-events.jsonl~/.openclaw/runtime-governor-audit.jsonl~/.openclaw/restore-points/~/.codex/auth.json~/.codex/state_5.sqlite
codexbar/codexbar-linux.pyruntime-governor/index.tsruntime-governor/openclaw.plugin.jsonruntime-governor/package.jsonsystemd/docs/PUBLISHING.md
MIT. See LICENSE.
- Copy
codexbar/codexbar-linux.pyto~/.local/bin/codexbar-linux.py - Copy the systemd units from
systemd/to~/.config/systemd/user/ - Copy
runtime-governor/to your OpenClaw extensions directory - Reload user systemd:
systemctl --user daemon-reload
systemctl --user enable --now codexbar.service
systemctl --user enable --now codexbar-smoke-tests.timer
systemctl --user enable --now codexbar-usage-snapshot.timerSanitized screenshots live in screenshots/. Extra publishing guidance lives in docs/PUBLISHING.md.



