In short.
Model Usage is an assistant skill for Codex and Claude users who want spending summaries by model, but its current model option may select a different model from the one used most recently. It documents text and JSON summaries from CodexBar's local cost data. The referenced Python helper and CLI reference are absent from the supplied files, leaving implementation, compatibility and output accuracy unassessed. Nothing was executed.
Researched and written by an AI model and checked by a second AI model. How it works
The selected scope is skills/model-usage and its files in spinabot/brigade, with licence notices beside and above it. The supplied manifest contains the skill's SKILL.md and the repository-root LICENSE. The referenced Python helper and CLI guide have no supplied file evidence. Other Brigade resources, CodexBar internals and provider billing records were not assessed. Nothing was installed or executed.
The overview
Identity
The resource is the model-usage skill in spinabot/brigade, under skills/model-usage. Its instructions describe how an assistant should obtain and summarize CodexBar cost data for Codex or Claude. Original source: [https://github.com/spinabot/brigade/tree/main/skills/model-usage].
Assessment
The documented approach fits users who already have CodexBar cost data and want repeatable spending summaries. Its usefulness depends on access to the referenced helper and suitable local logs. The available instructions establish the intended behavior, but provide no implementation or sample results to establish correctness.
Users
The intended audience is Codex and Claude users asking an assistant about spending by model. Developers may find the documented JSON output useful for further processing. Beginners need comfort with terminal commands, Python and file paths; setup through a graphical interface is not described.
Capabilities
The skill documents current and all model summaries for either Codex or Claude, an explicit model override, and text or JSON output. Inputs can come directly from CodexBar, a saved JSON file or standard input. The instructions state that costs are available by model, while token counts are not split by model in CodexBar output.
Using it
Requirements
The metadata targets macOS and requires the codexbar executable. The examples also require Python and scripts/model_usage.py beneath the skill directory. Required Python and CodexBar versions, additional Python dependencies, and assistant host compatibility are unspecified. Linux installation guidance is explicitly left as a TODO.
Mechanism
By default, the helper is documented to request cost JSON from CodexBar for the selected provider. For current model mode, it uses the most recent daily row with modelBreakdowns and chooses that row's highest-cost model. When breakdowns are missing, the instructions describe a fallback to the last modelsUsed entry. The --model option selects a named model explicitly.
The exact aggregation rules for all model mode, including treatment of missing values and date ranges, cannot be established without the helper source.
Setup
The metadata identifies steipete/tap/codexbar as the Homebrew cask installation route. The examples assume codexbar is available and {baseDir} resolves to the skill directory containing the Python helper. Installation into a particular assistant host is not documented, and the supplied files do not include that helper.
Example
The documented command for a full Codex breakdown is python {baseDir}/scripts/model_usage.py --provider codex --mode all. Replace {baseDir} with the skill directory.
For Claude output in formatted JSON, the example is python {baseDir}/scripts/model_usage.py --provider claude --mode all --format json --pretty. Neither command was executed, and no example output is supplied.
Assessment & evidence
Limitations
The referenced scripts/model_usage.py and references/codexbar-cli.md have no supplied file evidence. Parsing, error handling, data access and implementation safety therefore remain unassessed. Linux setup is undocumented, token totals are unavailable by model, and the current model heuristic cannot establish which model handled the latest request.
Interpreting the Results
The highest-cost rule implies that current model mode identifies the main spending source in a recent daily breakdown. On days involving several models, that result can differ from the last model used. An explicit --model value is the documented way to request a particular model; all mode is the documented option for viewing the broader breakdown.
Alternatives
The documented direct route is codexbar cost --format json --provider codex, which exposes the underlying cost JSON without this Python helper. That is an option for users comfortable inspecting or processing JSON themselves. The source provides no comparison with other spending trackers.
Evidence
The available source files are skills/model-usage/SKILL.md and the repository-root LICENSE at revision 6aa84b6ba9c749951a2f6801f887bfdc1d86bdc8. The pinned skill text is available at [https://raw.githubusercontent.com/spinabot/brigade/6aa84b6ba9c749951a2f6801f887bfdc1d86bdc8/skills/model-usage/SKILL.md].
These files support the documented interface and licensing terms. They contain no helper implementation, execution results, sample cost records or accuracy measurements.
Access & freshness
Costs
The instructions supply no CodexBar price, subscription requirements, provider rates or operating-cost estimate. Those costs are unknown. Reported amounts originate in local cost logs; their currency, completeness and agreement with provider invoices are not established by the supplied evidence.
Rights
The repository-root MIT License names Spinabot as the 2026 copyright holder. It permits use, modification, redistribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It supplies the software without warranty. Separate terms for CodexBar or provider services are not established here.
Freshness
The source snapshot was captured on 17 November 2026 at 07:01:37.167 UTC. That timestamp does not establish a release date or last modification date. Current upstream contents, release history and compatibility with current CodexBar versions are unknown.
Next Steps
Before relying on the skill, locate and inspect the referenced helper and CLI guide, confirm the installed CodexBar version produces the expected fields, and compare a summary with its underlying JSON. Choose all mode for a spending breakdown or --model for a specific model. Retain the MIT notices when redistributing the captured source.
