model-usage

Summarize per-model cost usage from CodexBar local cost logs.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/spoonbobo/trinity --skill model-usage-spoonbobo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/spoonbobo/trinity/tree/main/app/skills/model-usage
Command: npx skills add https://github.com/spoonbobo/trinity --skill model-usage-spoonbobo

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 different AI models by providing detailed usage summaries.

Core Features & Use Cases

  • Per-Model Cost Breakdown: Analyze spending for specific AI models (Codex, Claude).
  • Current vs. All Models: Get insights into the most recently used model or a comprehensive breakdown of all models.
  • Use Case: A project manager needs to report on the AI model expenses for the last quarter. This Skill can generate a report detailing the cost per model, helping to identify areas for potential cost optimization.

Quick Start

Run the model usage 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 for Codex and Claude usage?

You need the CodexBar CLI installed and configured to generate per-model cost summaries. This Skill parses local cost JSON logs from CodexBar to produce current or full model breakdowns for your AI spending.

Can I get a cost breakdown for a specific AI model from local logs?

Yes, the Skill provides per-model cost breakdowns by analyzing local CodexBar cost JSON logs. You can request summaries for the most recently used model or a comprehensive breakdown of all models.

What is the best way to report on LLM spending for a specific period?

The best way to report on LLM spending is to generate a cost per model summary using this Skill. It analyzes CodexBar cost logs to help you identify areas for potential cost optimization across AI models.

Do I need CodexBar installed to analyze my AI cost logs?

Yes, you need the CodexBar CLI installed and configured to analyze AI cost logs. This Skill requires CodexBar's local cost JSON data to trigger and generate per-model usage summaries.

Does this tool provide a full breakdown of all models or just the current one?

This tool provides both options: you can get insights into the most recently used current model or request a comprehensive full breakdown of all models from your CodexBar cost logs.