model-usage

Aggregate per-model costs from CodexBar logs into text or JSON summaries.

2|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/AG064/argentum --skill model-usage-ag064
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/AG064/argentum/tree/main/skills/model-usage
Command: npx skills add https://github.com/AG064/argentum --skill model-usage-ag064

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

CodexBar model usage data is spread across local logs; this Skill consolidates per-model costs and provides current-model or full-model breakdowns to support cost analysis and decision making.

Core Features & Use Cases

  • Per-model cost summaries: generate costs by model from CodexBar logs (Codex and Claude).
  • Mode options: view the current model (latest daily breakdown) or a all-model breakdown across days.
  • Output formats: human-readable text or structured JSON for scripting and reporting.
  • Use case: a team wants to audit monthly costs by model and export to JSON for finance.

Quick Start

Run CodexBar model usage to summarize per-model costs from local logs with a single command.

Frequently Asked Questions about model-usage

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

FAQPage Schema
How do I summarize per-model costs from CodexBar local logs?

To summarize per-model costs, the Skill aggregates model-level cost data from local CodexBar logs by date, provider, and model, outputting a human-readable current-model summary or a full breakdown.

Can I export CodexBar cost analysis results as structured JSON?

Yes, you can export CodexBar cost analysis results as structured JSON payloads. The Skill outputs both human-readable text for quick review and JSON formats for scripting and reporting.

How do I get a daily breakdown of Codex and Claude model usage costs?

You get a daily breakdown of Codex and Claude model usage costs by analyzing local cost JSON logs. The Skill provides a current-model view for the latest daily breakdown or an all-model breakdown across multiple days.

Does the per-model cost aggregator work with an external JSON file?

Yes, the per-model cost aggregator works with an external JSON file. It accepts input directly from local CodexBar cost JSON logs or processes a provided JSON file to aggregate model-level costs.

What happens if model usage data is missing from the local logs?

When model usage data is missing from the local logs, the Skill handles the missing data gracefully. It continues the cost aggregation process without failing, ensuring reliable outputs.

What is the best way to audit monthly AI model costs locally?

The best way to audit monthly AI model costs locally is to consolidate CodexBar logs into per-model summaries. The Skill aggregates costs by date and provider, supporting finance exports through JSON output.