model-usage

Summarize local AI model costs from CodexBar CLI data.

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

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 spending by providing detailed local cost usage summaries from the CodexBar CLI.

Core Features & Use Cases

  • Per-Model Cost Breakdown: Analyze spending for specific AI models (Codex, Claude).
  • Current Model Summary: Quickly identify the most recently used model and its associated cost.
  • Historical Usage: View total costs over time or for specific recent periods.
  • Use Case: A developer wants to see how much they spent on gpt-4-turbo versus claude-3-opus last month using their local CodexBar logs.

Quick Start

Run the script to get a summary of all model costs for the Codex provider.

Frequently Asked Questions about model-usage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track local AI model costs for Codex and Claude?

You can track local AI model costs by running this Skill to summarize spending data logged by the CodexBar CLI. It generates per-model cost breakdowns for Codex and Claude, showing current and historical usage.

Can I get a per-model cost breakdown for AI usage?

Yes, you can get a per-model cost breakdown for AI usage. The Skill analyzes local logs from the CodexBar CLI to provide detailed spending summaries for specific models like gpt-4-turbo and claude-3-opus.

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

Yes, you need the CodexBar CLI installed and configured for local cost logging. The Skill acts as a summarizer for the AI model usage data that the CodexBar CLI locally records.

How do I view historical AI spending over a specific time period?

To view historical AI spending over a specific time period, run the Skill against your local CodexBar logs. It processes the recorded data to show total costs for recent periods or previous months.

What is the best way to check my current AI model usage and costs?

The best way to check current AI model usage and costs is to execute the Skill's script. It quickly identifies the most recently used model and calculates its associated cost from your local data.

Are there limitations to tracking LLM costs locally with this approach?

A limitation of tracking LLM costs locally with this approach is its total dependency on the CodexBar CLI. If the CLI is not actively logging your API usage, the Skill cannot generate cost summaries.