model-usage

Summarize local AI model usage costs from CodexBar logs.

93|20|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/seedprod/openclaw-prompts-and-skills --skill model-usage-seedprod
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/seedprod/openclaw-prompts-and-skills/tree/main/.claude/skills/model-usage
Command: npx skills add https://github.com/seedprod/openclaw-prompts-and-skills --skill model-usage-seedprod

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps users understand and manage the costs associated with different AI models by providing detailed usage summaries from local logs.

Core Features & Use Cases

  • Per-Model Cost Breakdown: Summarize usage costs for specific AI models (Codex or Claude).
  • Current Model Focus: Identify the most recently used model and its associated costs.
  • Historical Analysis: View usage data for all models over a specified period.
  • Use Case: A developer wants to optimize their AI spending and needs to know which models are consuming the most budget. They use this Skill to generate a report showing the total cost per model for the last month.

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

You can track AI model cost and usage by running the model_usage script to summarize local cost data per model from CodexBar logs. It provides a detailed breakdown of spending for Codex and Claude models over a specified period.

What is the best way to get a per-model cost breakdown from CodexBar logs?

The best way to get a per-model cost breakdown is to use a script that parses local CodexBar logs to summarize usage costs for specific AI models. It identifies the most recently used model and generates a comprehensive historical analysis of all models.

Do I need the CodexBar CLI installed to generate an AI cost usage report?

Yes, you need the CodexBar CLI installed and accessible in your environment to generate an AI cost usage report. The Skill parses local log data generated by the CLI to calculate and summarize the total cost per model.

Can I view historical AI spending data for all models over a specific period?

Yes, you can view historical AI spending data for all models over a specified period by summarizing local cost usage data. This allows developers to optimize their AI budget by analyzing which models consumed the most resources.

How do I identify the most recently used AI model and its associated costs?

To identify the most recently used AI model and its associated costs, you run a usage summary script against local logs. It focuses on current session usage data to pinpoint the active model and calculate its specific spending.