model-usage

Summarize CodexBar cost logs by model for Codex and Claude.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill turns CodexBar cost logs into clear per-model usage summaries so you can see where Codex or Claude spending is going without manual JSON inspection.

Core Features & Use Cases

  • Current Model Detection: Identifies the most recent active model from the latest daily cost row.
  • Full Model Breakdown: Aggregates total USD cost by model across all available daily entries.
  • Flexible Input Handling: Works from live CodexBar output, a saved JSON file, or stdin for scriptable workflows.
  • Use Case: Review yesterday's Claude usage, compare model spend over the last week, or generate a concise cost report for billing and optimization.

Quick Start

Ask the skill to summarize CodexBar cost usage for the current model or all models from a JSON export or live CLI output.

Frequently Asked Questions about model-usage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I summarize CodexBar cost logs by model without manually parsing JSON?

To summarize CodexBar cost logs, this Skill automatically parses JSON cost payloads and aggregates per-model USD totals, selecting modelBreakdowns or modelsUsed fallbacks to reveal spending without manual inspection.

Can I identify the current active model from my latest Claude usage data?

Yes, you can identify the current active model from your Claude usage data by detecting the most recent active model directly from the latest daily cost row within your CodexBar logs.

What is the best way to review time-limited model usage costs for billing?

The best way to review time-limited model usage costs for billing is aggregating USD totals by model across specific daily entries, generating concise cost reports from JSON exports or live CLI output.

Does this model usage summary tool work with stdin for scriptable workflows?

Yes, this model usage summary tool works with stdin for scriptable workflows, accepting live CodexBar CLI output, saved JSON files, or piped input to aggregate per-model USD totals.

How do I get a full model breakdown of total USD cost across all daily entries?

To get a full model breakdown of total USD cost, aggregate spending by model across all available daily entries in the CodexBar cost logs, with optional pretty JSON rendering for readability.