model-usage

Summarize local AI model costs from CodexBar CLI logs.

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

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 local costs associated with using AI models like Codex and Claude by providing detailed usage summaries.

Core Features & Use Cases

  • Per-Model Cost Breakdown: View the cost incurred by each specific AI model used.
  • Current Model Summary: Quickly identify the most recently used model and its associated costs.
  • Historical Usage: Analyze cost trends over time with options to view daily or aggregated data.
  • Use Case: A developer wants to optimize their AI spending. They use this Skill to see which models are consuming the most budget and identify opportunities for cost savings.

Quick Start

Run the script to get a summary of all model costs 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 local AI model usage costs for Codex and Claude?

You can track local AI model usage costs by parsing CodexBar CLI logs. This provides per-model cost breakdowns and current usage statistics to help you monitor your AI spending.

Do I need the CodexBar CLI installed to monitor AI model spending?

Yes, you need the CodexBar CLI installed and configured locally. The Skill summarizes cost usage data directly from the logs generated by this command-line interface.

Can I view a per-model cost breakdown for my AI usage?

Yes, you can view a per-model cost breakdown. It summarizes the specific costs incurred by each AI model used, allowing you to see which models are consuming your budget.

How do I analyze historical AI cost trends over time?

You can analyze historical AI cost trends by viewing summarized usage data. It provides options to analyze cost trends over time with daily or aggregated data views.

What is the best way to identify which AI model is consuming the most budget?

The best way to identify high-consuming AI models is by running the usage summary script. It quickly identifies the most recently used models and provides detailed cost breakdowns for optimization.

Are there limitations to tracking AI costs locally with this approach?

A limitation is that tracking is restricted to local logs generated by the CodexBar CLI. It requires the CLI to be properly configured beforehand to accurately capture and summarize cost data.