model-usage

Summarize local AI model costs from CodexBar CLI JSON output.

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

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 AI model expenses by providing detailed breakdowns of usage and cost from local logs.

Core Features & Use Cases

  • Per-Model Cost Summary: Get a clear view of how much each AI model (Codex, Claude) is costing you.
  • Current vs. All Models: Choose to see the cost for the most recently used model or a comprehensive summary of all models.
  • Use Case: A developer wants to optimize their AI spending. They use this Skill to identify which models are consuming the most budget, allowing them to adjust their usage or explore more cost-effective alternatives.

Quick Start

Run the model_usage.py script to get a summary of current Codex model costs.

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 for Codex and Claude locally?

You can track AI model costs locally by running a script that summarizes usage expenses from CodexBar CLI JSON output. This provides a detailed breakdown of costs per model, enabling budget management and optimization.

What is local AI cost tracking and how does it work?

Local AI cost tracking summarizes your model usage expenses from local JSON logs. It parses the data to provide a clear view of how much each AI model is costing you, without sending your usage data to external servers.

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

Yes, you need the CodexBar CLI installed and configured for local cost logging. The tool relies on the JSON output generated by CodexBar to summarize your expenses for various AI models.

How do I get a per-model cost summary for all my AI models?

To get a per-model cost summary, run the model usage script on your local logs. You can choose to view costs for the most recently used model or a comprehensive summary of all models tracked.

Can I identify which AI model is consuming the most budget?

Yes, you can identify your highest budget-consuming AI model by reviewing the per-model cost summary. This breakdown helps you adjust your usage or explore more cost-effective alternatives for your workflows.