model-usage

Summarize local cost usage per AI model from CodexBar logs.

2|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/FatBy/DD-OS --skill model-usage-fatby
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/FatBy/DD-OS/tree/main/skills/model-usage
Command: npx skills add https://github.com/FatBy/DD-OS --skill model-usage-fatby

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 by summarizing their usage from local logs.

Core Features & Use Cases

  • Per-Model Cost Summary: Get a breakdown of costs for individual AI models (Codex, Claude).
  • Current or All Models: View usage for the most recently used model or a comprehensive summary of all models.
  • Use Case: If your team is using multiple LLMs, this skill can help you identify which models are incurring the most cost, allowing for better budget allocation and optimization.

Quick Start

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

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 from CodexBar logs?

Track AI model costs by summarizing local usage data from CodexBar logs. It provides a per-model cost breakdown for Codex and Claude models, helping you identify which models incur the most expense for better budget allocation.

What's the best way to get a cost breakdown for all my LLM usage?

Get a cost breakdown by running a summary of all models from your local logs. This approach aggregates expenses across multiple AI models, allowing you to view comprehensive usage and optimize your overall LLM budget.

Do I need the codexbar CLI tool to view per-model usage summaries?

Yes, viewing per-model usage summaries requires the codexbar CLI tool to be installed. The Skill parses local logs generated by this command line tool, which must be accessible on your system PATH to extract cost data.

Can I check expenses for just the most recently used AI model?

Yes, you can check expenses for the most recently used AI model. The summary functionality supports viewing current model usage independently, or you can request a comprehensive breakdown of all models.

Why does my AI cost tracking fail to summarize Claude model usage?

AI cost tracking fails to summarize Claude model usage if the codexbar CLI tool is missing from your system PATH. Ensure the tool is installed and accessible so the Skill can successfully parse the local logs for expense data.

How does summarizing local logs help with AI cost optimization?

Summarizing local logs helps with AI cost optimization by identifying which models incur the highest expenses. This per-model breakdown allows teams using multiple LLMs to allocate budgets effectively and reduce unnecessary spending.