model-usage

Summarize per-model CodexBar usage and costs from local logs.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/jonnytacos8/closed_claw --skill model-usage-jonnytacos8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/jonnytacos8/closed_claw/tree/main/skills/model-usage
Command: npx skills add https://github.com/jonnytacos8/closed_claw --skill model-usage-jonnytacos8

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

CodexBar cost usage data can be scattered across local logs; this skill aggregates per-model usage and cost into a concise view, enabling quick cost insights.

Core Features & Use Cases

  • Current model usage: identify the most expensive model on a given day and summarize its cost.
  • All models breakdown: aggregate costs across models for Codex and Claude from local logs.
  • Flexible inputs: read from CodexBar's local JSON logs or STDIN, with optional date filtering.

Quick Start

Execute the model_usage.py script to produce per-model usage and cost summaries from local CodexBar logs.

Frequently Asked Questions about model-usage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I summarize per-model CodexBar usage and costs from local logs?

To summarize per-model CodexBar usage and costs, execute the model_usage.py script to aggregate local JSON log data into a concise cost breakdown. It reads directly from local CodexBar logs or STDIN to provide current-model or all-model insights.

What is the best way to get a cost breakdown for Codex and Claude models?

Getting a cost breakdown for Codex and Claude models involves aggregating scattered local log data into per-model summaries. This skill processes local CodexBar logs to identify the most expensive models on a given day and aggregate costs across all models.

Can I filter CodexBar usage summaries by date or output them as JSON?

Yes, you can filter CodexBar usage summaries by date and output them as JSON. The script supports flexible inputs from local JSON logs or STDIN, allowing optional date filtering and both JSON and text output formats for cost analysis.

Does the per-model cost summary tool work without external dependencies?

The per-model cost summary tool works without external dependencies, relying solely on local scripts and references. It reads existing CodexBar cost logs directly from your local environment or via STDIN to generate usage insights.

Why are my CodexBar costs scattered and how do I aggregate them?

CodexBar costs are often scattered across local logs, making aggregation difficult. You can aggregate them by running a script that parses these local JSON logs to produce a concise, per-model view of usage and expenses.