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.
NewMaintained
Automatic
◆AI Engineer pack
Last verified 8/20/2026
What it changes
Passed 18 of 21 test cases with the skill, and 18 of 21 without it.
Without skill86%
With skill86%
Checks it passed that the model alone missed
Outputs aggregated token and cost metrics grouped per Codex model.
1 fixed18 passed either way2 still failing1 broke
Pass-rate lift
0 pp
Tokens
-5%
Agent turns
0%
Response time
-26%
Model gemini-3.6-flashMeasured 8/20/2026v119 of 22 cases passed with skill · 21 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
I have local CodexBar JSON data covering codex-davinci, gpt-4, and gpt-3.5-turbo. Rather than listing raw session logs, generate an aggregated cost and token breakdown per Codex model.
What was checked, without and with the skill
Checked
Without skill
With skill
Outputs aggregated token and cost metrics grouped per Codex model.
Missed
Passed
case-07 · gemini-3.6-flash · 8/20/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md33 lines2 filesincludes scripts
Model-usage
Purpose
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. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Routing
Use when: Use when the user asks to 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. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Do not use when: Do not use when the request is asking for planning documents, high-level strategy, or non-executable discussion; use the relevant planning or design workflow instead.
Outputs: Outcome from Model-usage: task-specific result plus concrete action notes.
Success criteria: Returns concrete actions and decisions matching the requested task, with no fabricated tool-side behavior.
Trigger Examples
Positive
Use the model-usage skill for this request.
Help me with model-usage.
Use when the user asks to 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. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Model-usage: provide an actionable result.
Negative
Do not use when the request is asking for planning documents, high-level strategy, or non-executable discussion; use the relevant planning or design workflow instead.
Do not use model-usage for unrelated requests.
This request is outside model-usage scope.
This is conceptual discussion only; no tool workflow is needed.
Runtime Prompt
Current runtime prompt length: 1495 characters.
Runtime prompt is defined directly in ../model-usage.json.