model-usage

Summarize per-model AI costs from CodexBar CLI output.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps users understand and manage their local AI model costs by providing detailed summaries of usage per model, based on data from the CodexBar CLI.

Core Features & Use Cases

  • Per-Model Cost Summaries: Generate reports detailing the cost associated with individual AI models (Codex, Claude).
  • Current Model Identification: Automatically identify the most recently used or most expensive model for a given day.
  • Historical Analysis: View cost breakdowns for all models over a specified period or for the most recent entries.
  • Use Case: A developer wants to optimize their AI spending and needs to know which specific models are consuming the most budget locally. This skill provides that granular insight.

Quick Start

Run the model_usage script to see a summary of current model costs for Codex.

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 from the command line?

To track local AI model costs, this Skill summarizes per-model expenses by parsing CodexBar CLI output, generating detailed cost breakdowns for Codex and Claude models.

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

Yes, you need the CodexBar CLI installed and accessible in your system's PATH to analyze AI model usage, as this Skill relies on its output to generate cost summaries.

Can I view historical cost breakdowns for all AI models?

Yes, you can view historical cost breakdowns for all AI models over a specified period or for the most recent entries to identify which models consume the most budget.

How do I identify which AI model is currently costing the most?

To identify your most expensive current model, run the model_usage script to automatically detect the most recently used or highest-cost model for a given day.

What is the best way to optimize developer AI spending locally?

The best way to optimize developer AI spending locally is to generate granular per-model cost summaries, allowing you to pinpoint exactly which models are consuming your budget.

Does this cost analysis tool work without an internet connection?

This cost analysis tool processes local AI model usage data generated by the CodexBar CLI, focusing entirely on local expense tracking rather than cloud-based billing dashboards.