Install any skill in seconds. Free to start, no credit card required.
Get Started Free →understudy-ai/model-usage
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown.
Passed 20 of 22 test cases with the skill, and 5 of 22 without it.
and 14 more in the full report
15 fixed5 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 15 test cases the skill fixed. Same model, same prompt, with and without the skill.
Show a single bash command line piping /tmp/cost.json into model_usage.py to inspect the active current model.
| Checked | Without skill | With skill |
|---|---|---|
| Includes cat /tmp/cost.json | python {baseDir}/scripts/model_usage.py --input - --mode current | Missed | Passed |
The instructions your model reads when the skill loads.
Get per-model usage cost from CodexBar's local cost logs. Supports "current model" (most recent daily entry) or "all models" summaries for Codex or Claude.
TODO: add Linux CLI support guidance once CodexBar CLI install path is documented for Linux.
python {baseDir}/scripts/model_usage.py --provider codex --mode current
python {baseDir}/scripts/model_usage.py --provider codex --mode all
python {baseDir}/scripts/model_usage.py --provider claude --mode all --format json --pretty
modelBreakdowns.modelsUsed when breakdowns are missing.--model <name> when you need a specific model.codexbar cost --format json --provider <codex|claude>.codexbar cost --provider codex --format json > /tmp/cost.json
python {baseDir}/scripts/model_usage.py --input /tmp/cost.json --mode all
cat /tmp/cost.json | python {baseDir}/scripts/model_usage.py --input - --mode current
--format json --pretty).test cases passed, vs 5 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.