model-usage

Summarize per-model AI costs from CodexBar CLI logs.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/Deskaunedsei1983/loc_clawdbot_01 --skill model-usage-deskaunedsei1983
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/Deskaunedsei1983/loc_clawdbot_01/tree/main/skills/model-usage
Command: npx skills add https://github.com/Deskaunedsei1983/loc_clawdbot_01 --skill model-usage-deskaunedsei1983

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you understand and manage the costs associated with using different AI models (Codex and Claude) by analyzing local usage logs.

Core Features & Use Cases

  • Per-Model Cost Summaries: Get detailed cost breakdowns for individual AI models.
  • Current Model Identification: Automatically identify the most recently used or most expensive model.
  • Historical Data Analysis: Analyze cost trends over time or for specific periods.
  • Use Case: Developers and project managers can use this to monitor API expenses, optimize model selection for cost-efficiency, and ensure budget adherence for AI-driven features.

Quick Start

Run the script to get a summary of current model usage 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 for Codex and Claude locally?

AI model cost tracking is done by summarizing local usage logs generated by the CodexBar CLI. This Skill analyzes per-model expenses from those logs, identifying the most recent or highest-cost models and providing aggregated historical data.

What is the best way to analyze per-model API expenses for cost optimization?

The best way to analyze per-model API expenses is by reviewing detailed cost breakdowns from local CLI logs. This Skill automatically identifies your most expensive models and aggregates historical data to help optimize model selection and ensure budget adherence.

Do I need the CodexBar CLI installed to analyze local AI cost usage?

Yes, analyzing local AI cost usage requires the CodexBar CLI to be installed and configured for local cost logging. This Skill relies entirely on the usage logs generated by the CLI to summarize expenses for Codex and Claude providers.

How does historical AI cost data analysis work with local CLI logs?

Historical AI cost data analysis works by parsing aggregated records from your local CodexBar CLI logs. The Skill examines cost trends over time or for specific periods, providing detailed per-model breakdowns for developers and project managers.

Can I identify my most expensive or most recently used AI model from local logs?

Yes, you can identify your most expensive or most recently used AI model from local logs. The Skill automatically processes CodexBar CLI data to pinpoint the current highest-cost model and provides aggregated historical usage summaries.