openclaw - 💡(How to fix) Fix Allow model-usage on Linux when codexbar is installed [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

The bundled model-usage skill stays unavailable on Linux even when codexbar is installed and on PATH.

Root Cause

The skill's default path only requires:

codexbar cost --format json --provider <codex|claude>

CodexBar CLI is available on Linux in some setups, including packaged installs. When codexbar is already installed, the skill can use the same live local cost-log path it uses on macOS.

Fix Action

Fixed

Code Example

Requirements:
  Binaries: ✓ codexbar
  OS: ✗ darwin

---

codexbar cost --format json --provider <codex|claude>
RAW_BUFFERClick to expand / collapse

Summary

The bundled model-usage skill stays unavailable on Linux even when codexbar is installed and on PATH.

Current behavior

On Linux, openclaw skills info model-usage reports:

Requirements:
  Binaries: ✓ codexbar
  OS: ✗ darwin

So the runtime dependency is satisfied, but the skill-level OS metadata still blocks the skill because it only lists darwin.

Why this matters

The skill's default path only requires:

codexbar cost --format json --provider <codex|claude>

CodexBar CLI is available on Linux in some setups, including packaged installs. When codexbar is already installed, the skill can use the same live local cost-log path it uses on macOS.

Proposed fix

  • Add linux to metadata.openclaw.os for skills/model-usage.
  • Keep requires.bins = ["codexbar"], so unsupported Linux hosts without codexbar remain blocked by the binary requirement.
  • Scope the existing Homebrew installer to macOS with os: ["darwin"], so Linux users are not offered a misleading brew installer.
  • Update the docs to say Linux live reads work when codexbar is installed separately.

Notes

This does not add an OpenClaw-managed Linux installer for CodexBar. It only lets Linux users with a working codexbar binary use the bundled skill.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Allow model-usage on Linux when codexbar is installed [1 pull requests]