model-usage

Summarize AI model cost usage from CodexBar local logs with per-model breakdowns.

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

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 spending on AI models by providing detailed usage and cost breakdowns from the CodexBar tool.

Core Features & Use Cases

  • Per-Model Cost Summary: View the cost associated with individual AI models (Codex or Claude).
  • Current Model Focus: Easily identify the most recently used model and its associated costs.
  • Historical Breakdown: Get a comprehensive overview of model usage over time.
  • Use Case: A developer wants to optimize their AI API spending. They use this Skill to see which models are consuming the most budget, allowing them to adjust their usage or explore more cost-effective alternatives.

Quick Start

Run the python 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 and usage from local logs?

Track AI model costs by summarizing local logs from CodexBar to provide per-model cost breakdowns. It generates a detailed usage summary showing exactly how much budget individual AI models consume.

Can I get a per-model cost breakdown for Codex and Claude?

Yes, per-model cost breakdowns for Codex and Claude are supported. The tool parses local usage logs to isolate billing data for each specific AI model, helping you identify your most expensive models.

Do I need the CodexBar CLI installed to retrieve AI billing data?

Yes, you need the CodexBar CLI installed and configured for cost data collection to retrieve AI billing data. The Skill parses the local logs generated by this CLI to produce cost summaries.

How do I view current versus historical AI model usage?

View current AI model usage by retrieving the most recently used model's costs, or request a full historical breakdown for a comprehensive overview over time. Both options output as text or JSON.

What is the best way to optimize AI API spending for developers?

Optimize AI API spending by analyzing per-model cost summaries to identify which models consume the most budget. Adjusting your usage based on this historical breakdown allows you to explore cost-effective alternatives.