model-usage

Community

Summarize per-model usage and costs.

Authoraresbit
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill analyzes CodexBar's local cost logs to provide per-model usage and cost summaries for Codex and Claude, enabling cost-aware decision-making.

Core Features & Use Cases

  • Current model usage: identify the current most relevant model from daily breakdowns and choose it as the primary usage metric.
  • All-model breakdown: aggregate per-model costs across daily entries to reveal which models incur the highest costs.
  • Inputs and outputs: accept CodexBar JSON cost data or a JSON file and emit concise text or JSON summaries suitable for dashboards or automation.

Quick Start

Use the model-usage tool to summarize per-model costs from CodexBar's local logs:

  • python {baseDir}/scripts/model_usage.py --provider codex --mode current
  • python {baseDir}/scripts/model_usage.py --provider codex --mode all
  • cat /path/to/cost.json | python {baseDir}/scripts/model_usage.py --mode all --input -

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: model-usage
Download link: https://github.com/aresbit/MateBot/archive/main.zip#model-usage

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.