model-usage

Summarize local CodexBar CLI cost data with per-model breakdowns for Codex and Claude.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Nirpat3/MIB007 --skill model-usage-nirpat3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/Nirpat3/MIB007/tree/main/skills/model-usage
Command: npx skills add https://github.com/Nirpat3/MIB007 --skill model-usage-nirpat3

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you understand and manage the costs associated with using different AI models by providing detailed usage summaries from local logs.

Core Features & Use Cases

  • Per-Model Cost Breakdown: Analyze spending for specific AI models (Codex, Claude).
  • Current Model Usage: Quickly identify the most used or most expensive model for the current day.
  • Historical Usage: Summarize costs across all models over a specified period.
  • Use Case: A developer wants to know how much they spent on the 'gpt-4-turbo' model yesterday, or get a total cost breakdown for all models used in the last week.

Quick Start

Run the model-usage skill to get a summary of the current day's cost for the Codex provider.

Frequently Asked Questions about model-usage

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

FAQPage Schema
How do I track AI model costs and usage for Codex and Claude?

You can track AI model costs by running the model-usage skill to summarize local JSON logs from the CodexBar CLI. It provides per-model cost breakdowns for Codex and Claude, allowing you to analyze spending patterns.

How do I check my AI billing breakdown for the current day?

To check your AI billing breakdown for the current day, use the current model summary feature. It quickly identifies the most used or most expensive AI model from your local logs for the day.

Can I analyze historical usage costs across all AI models?

Yes, you can analyze historical usage costs across all AI models. The skill summarizes costs over specified periods by parsing local JSON logs to provide a total cost breakdown.

Do I need the CodexBar CLI to monitor API usage and spending?

Yes, you need the CodexBar CLI installed to monitor API usage and spending. The skill functions by summarizing local cost usage data generated exclusively by the CodexBar CLI.

What is the best way to analyze cost allocation for different AI models?

The best way to analyze cost allocation for different AI models is to use the per-model cost breakdown feature. It parses local JSON logs to evaluate spending patterns for Codex and Claude.