model-usage

Summarize local cost usage per AI model from CodexBar CLI JSON output.

12|3|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/ApiliumCode/mayros --skill model-usage-apiliumcode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/ApiliumCode/mayros/tree/main/skills/model-usage
Command: npx skills add https://github.com/ApiliumCode/mayros --skill model-usage-apiliumcode

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 providing detailed usage summaries from local logs.

Core Features & Use Cases

  • Per-Model Cost Summaries: Get a breakdown of costs for individual AI models (Codex, Claude).
  • Current Model Focus: Easily identify the most recently used model and its associated costs.
  • Historical Analysis: View usage data for all models over a specified period.
  • Use Case: A developer needs to report on the monthly AI spending for their project. They can use this Skill to generate a report detailing the cost per model used by their application.

Quick Start

Run the model-usage skill to get a summary of the current AI model's cost usage.

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 cost usage from local CLI logs?

To track AI model cost usage, this Skill summarizes local cost usage per AI model from CodexBar CLI JSON output. It analyzes current or all models for Codex and Claude providers, outputting detailed text or JSON reports.

How can I get a per-model cost breakdown for Codex and Claude providers?

You can get a per-model cost breakdown for Codex and Claude providers by running this Skill against your CodexBar CLI JSON output. It analyzes usage data to generate detailed summaries for current or all models.

Do I need CodexBar CLI installed to analyze AI model billing and usage?

Yes, you need the CodexBar CLI installed and accessible in your system's PATH to analyze AI model billing and usage. This Skill parses the JSON output generated directly by the CodexBar CLI tool.

Can I output AI model usage reports in JSON format?

Yes, you can output AI model usage reports in JSON format. The Skill supports both text and JSON output formats, allowing you to easily integrate cost summaries into automated reporting pipelines.

What's the best way to identify the most recently used AI model and its costs?

The best way to identify the most recently used AI model and its costs is to use the current model focus feature. It analyzes your CodexBar CLI output to isolate the active model and its associated spending data.

Does this Skill support historical cost analysis for all AI models?

Yes, this Skill supports historical cost analysis for all AI models. It can parse your local CodexBar CLI JSON logs to view cumulative usage data and spending across all models over a specified period.