model-usage

Summarize per-model AI usage costs from CodexBar CLI output.

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

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 different AI models by analyzing local usage data from the CodexBar CLI.

Core Features & Use Cases

  • Per-Model Cost Summaries: Get detailed cost breakdowns for 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 usage and cost data over time, with options to filter by date range.
  • Use Case: A developer wants to optimize their AI spending. They use this Skill to see which models are consuming the most budget locally and identify areas for potential cost savings.

Quick Start

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

AI model cost tracking is performed by this Skill, which summarizes local usage expenses from CodexBar CLI output. It analyzes per-model spending for Codex and Claude to help you identify areas for cost savings.

What is the best way to analyze per-model AI expenses from CLI logs?

Analyzing per-model AI expenses is done by this Skill, which parses CodexBar CLI logs to identify your most recently used or expensive models. It generates historical cost summaries to help optimize your AI spending.

Do I need CodexBar CLI installed to monitor local AI usage costs?

Yes, CodexBar CLI must be installed and configured for local cost logging. This Skill processes the CLI output to summarize expenses, so the underlying logging tool must generate the data first.

Can I get a historical breakdown of AI spending by date range?

Yes, historical AI spending breakdowns are supported over time. The Skill provides usage and cost data filtered by date range, allowing you to view either current or all-model expense summaries.

Why should I not use this approach if my AI models are not logging locally?

If your models are not logging locally, this Skill cannot function because it strictly requires CodexBar CLI output. It does not fetch cloud billing data directly and relies entirely on pre-configured local usage logs.