model-usage

Summarize per-model AI cost usage from CodexBar CLI data.

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

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 local usage and cost summaries from the CodexBar CLI.

Core Features & Use Cases

  • Per-Model Cost Summaries: Get detailed cost breakdowns for individual AI models used.
  • Current vs. All Models: View usage for the most recent model or a comprehensive historical breakdown.
  • Use Case: A developer wants to know how much they spent on 'gpt-4o' versus 'claude-3-opus' last month using local logs, and this skill provides that exact breakdown.

Quick Start

Run the model_usage script to get 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 AI model costs locally for Codex and Claude?

To track AI model costs locally, this Skill summarizes per-model expenses from CodexBar CLI logs. It analyzes local data to provide detailed cost breakdowns for Codex and Claude models.

What is needed to analyze per-model AI expenses using local logs?

Analyzing per-model AI expenses requires the CodexBar CLI to be installed and configured for local cost logging. The Skill processes this logged data to generate usage summaries.

Can I view a cost breakdown for all historical AI models or just the current one?

Yes, you can view a cost breakdown for either the most current model or all historical models. The Skill supports generating comprehensive per-model usage summaries across your logged data.

How do I get a summary of my current model costs for codex?

To get a summary of current model costs for codex, run the model_usage script. It processes your local CodexBar data to output the latest expense breakdown.

Does this cost analysis tool work without an internet connection?

Yes, the cost analysis works offline because it summarizes local AI model cost usage. It relies entirely on the data logged by the configured CodexBar CLI on your machine.