A Python-based utility to parse CodexBar CLI data and summarize costs by specific AI models for granular budget tracking.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install model-usage
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install model-usage using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The model-usage skill is a specialized utility designed to bridge the gap between raw CodexBar cost logs and actionable per-model financial insights. By leveraging the Openclaw Skills framework, developers can programmatically extract daily usage or cumulative model breakdowns for providers like Codex and Claude, enabling tighter budget management and resource allocation. This skill ensures that users of Openclaw Skills have full visibility into which models are driving their development costs.
First, ensure CodexBar is installed on your system. Currently, this skill supports macOS via Homebrew:
brew tap steipete/tap
brew install --cask codexbar
Once installed, you can run the model usage script from your Openclaw Skills directory:
# Example: Get a full breakdown for Claude
python scripts/model_usage.py --provider claude --mode all --format json --pretty
The skill processes JSON data generated by CodexBar. The primary data structure includes:
| Field | Description |
|---|---|
provider |
The AI provider being tracked (codex or claude). |
modelBreakdowns |
An object containing specific cost data mapped to model names. |
modelsUsed |
A fallback list of models used when granular breakdowns are missing. |
cost |
The numerical financial value representing the total spend for that entry. |
Loading
A CLI utility for interacting with Model Context Protocol (MCP) servers, allowing direct tool execution, authentication, and code generation.

A versatile document conversion tool that transforms various file formats into clean Markdown for LLM processing and text analysis.

A local API proxy that enables AI agents to search for venues and resolve geographic locations via the Google Places API.

A comprehensive guide for profiling native Apple platform applications using xctrace and the Instruments suite to eliminate performance bottlenecks.

A high-performance AI tool for generating and editing images using the Google Gemini 3 Pro Image API.

A command-line utility that enables PDF page editing through natural language instructions.








































