model-usage

Summarize per-model AI costs from CodexBar CLI output.

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

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 different AI models, providing a clear breakdown of expenses.

Core Features & Use Cases

  • Per-Model Cost Summary: View the cost incurred by each specific AI model (e.g., Codex, Claude).
  • Current Model Identification: Automatically identifies the most recently used model and its associated costs.
  • Historical Usage: Analyze usage data over time to track spending trends.
  • Use Case: A developer wants to know how much they are spending on the 'gpt-4o' model versus 'claude-3-opus' for their local AI development tasks.

Quick Start

Run the model usage 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 costs for Codex and Claude?

To track local AI model costs, you can use this Skill to summarize per-model expenses from CodexBar CLI output. It automatically identifies the most recently used model and provides a clear breakdown of costs for Codex and Claude.

What is the best way to get a per-model cost breakdown for local AI development?

Getting a per-model cost breakdown involves running the model usage script to analyze CLI output data. This provides a summary of all expenses incurred by each specific AI model, such as comparing 'gpt-4o' versus 'claude-3-opus' spending.

Do I need CodexBar CLI installed to analyze AI cost usage?

Yes, analyzing AI cost usage requires the CodexBar CLI tool to be installed and accessible in your system's PATH. The Skill processes the output generated by this CLI to summarize and identify your model expenses.

Can I check how much I am spending on the most recently used AI model?

Yes, you can check your spending on the most recently used AI model by running the analysis script. It automatically identifies the current model and extracts its associated costs from the local usage data.

How does historical usage analysis work for tracking AI spending trends?

Historical usage analysis tracks AI spending trends by analyzing usage data over time from the CLI output. This allows developers to monitor their local costs and understand spending patterns across different models.

What are the limitations of tracking AI model usage locally?

The main limitation for tracking AI model usage locally is the strict dependency on the CodexBar CLI tool. If the CLI is not installed or accessible in the system PATH, the Skill cannot summarize or analyze the cost data.