model-usage

Summarize local cost usage per AI model from CodexBar logs.

307|86|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/johnson7788/MultiUserClaw --skill model-usage-johnson7788
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/johnson7788/MultiUserClaw/tree/main/openclaw/skills/model-usage
Command: npx skills add https://github.com/johnson7788/MultiUserClaw --skill model-usage-johnson7788

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires codexbar, and 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 costs from CodexBar.

Core Features & Use Cases

  • Per-Model Cost Summary: Get a clear view of how much each AI model (Codex, Claude) is costing you.
  • Current Model Identification: Automatically identifies the most recently used or most expensive model for quick insights.
  • Historical Data Analysis: Analyze usage trends over time with options to view data from the last N days.
  • Use Case: A developer wants to optimize their AI spending and needs to know which models are consuming the most budget. They can use this skill to get a report of all models used in the last month and their associated costs.

Quick Start

Run the model usage script to get a summary of all models used by 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 and usage from CodexBar logs?

To track AI model costs from CodexBar logs, you can run the model usage script to summarize local cost usage per model. It automatically analyzes both current and all-model usage for Codex and Claude providers, giving you a detailed expense breakdown.

Do I need the CodexBar CLI installed to get a per-model cost summary?

Yes, you need the CodexBar CLI installed and configured locally. The Skill relies on CodexBar to retrieve local cost data before it can analyze and summarize usage trends for different AI models like Codex and Claude.

Can I analyze historical AI spending trends over the last N days?

Yes, you can analyze historical AI usage trends over time. The Skill provides options to view data from the last N days, allowing developers to optimize spending by identifying which models consumed the most budget during that period.

What is the best way to identify my most expensive or recently used AI model?

The best way to identify your most expensive or recently used AI model is to use the current model identification feature. It automatically detects the most recently used or most expensive model from your CodexBar logs for quick budget insights.

Does this approach work with both Codex and Claude providers for usage analysis?

Yes, this usage analysis works with both Codex and Claude providers. It summarizes local cost usage per AI model across both providers, ensuring you get a comprehensive view of your historical data and current spending.