mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 15:01:41 +03:00
chore: Also format scripts and skills.
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
# CodexBar CLI quick ref (usage + cost)
|
||||
|
||||
## Install
|
||||
|
||||
- App: Preferences -> Advanced -> Install CLI
|
||||
- Repo: ./bin/install-codexbar-cli.sh
|
||||
|
||||
## Commands
|
||||
|
||||
- Usage snapshot (web/cli sources):
|
||||
- codexbar usage --format json --pretty
|
||||
- codexbar --provider all --format json
|
||||
@@ -13,7 +15,9 @@
|
||||
- codexbar cost --provider codex|claude --format json
|
||||
|
||||
## Cost JSON fields
|
||||
|
||||
The payload is an array (one per provider).
|
||||
|
||||
- provider, source, updatedAt
|
||||
- sessionTokens, sessionCostUSD
|
||||
- last30DaysTokens, last30DaysCostUSD
|
||||
@@ -22,7 +26,8 @@ The payload is an array (one per provider).
|
||||
- totals: totalInputTokens, totalOutputTokens, cacheReadTokens, cacheCreationTokens, totalTokens, totalCost
|
||||
|
||||
## Notes
|
||||
|
||||
- Cost usage is local-only. It reads JSONL logs under:
|
||||
- Codex: ~/.codex/sessions/**/*.jsonl
|
||||
- Claude: ~/.config/claude/projects/**/*.jsonl or ~/.claude/projects/**/*.jsonl
|
||||
- Codex: ~/.codex/sessions/\*_/_.jsonl
|
||||
- Claude: ~/.config/claude/projects/**/\*.jsonl or ~/.claude/projects/**/\*.jsonl
|
||||
- If web usage is required (non-local), use codexbar usage (not cost).
|
||||
|
||||
Reference in New Issue
Block a user