model-usage

Summarize local AI model costs from CodexBar CLI JSON logs.

10|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/wixette/clawnotes --skill model-usage-wixette
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/wixette/clawnotes/tree/main/openclaw-snapshots/20260312/skills/model-usage
Command: npx skills add https://github.com/wixette/clawnotes --skill model-usage-wixette

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you understand and manage your AI spending by providing detailed breakdowns of costs associated with different AI models used through the CodexBar CLI.

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: Analyze the cost of the most recently used model or a comprehensive summary of all models.
  • Use Case: After a month of development, you want to know which AI model is consuming the most budget. This Skill can provide a report detailing the cost per model for the last 30 days.

Quick Start

Run the model-usage script to get a summary of all Claude 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 summarize AI model costs from CodexBar CLI logs?

To summarize AI model costs from CodexBar CLI logs, run the model-usage script to analyze local JSON logs and generate a detailed cost breakdown per AI model used.

What is the best way to analyze per-model spending for Codex or Claude?

Analyzing per-model spending for Codex or Claude involves executing a script that parses local JSON logs to provide a cost summary for either the current model or all models.

Do I need the codexbar CLI installed to analyze local model usage data?

Yes, you need the codexbar CLI installed because the cost analysis extracts data directly from the local JSON logs generated by the codexbar CLI during your development sessions.

Can I check the cost of only the most recently used AI model?

Yes, you can check the cost of only the most recently used AI model by running the script to analyze current model usage instead of generating a comprehensive summary of all models.

How does deterministic script execution help with AI cost analysis?

Deterministic script execution supports AI cost analysis by directly processing local JSON log files to reliably calculate and summarize spending without relying on external API queries.