model-usage

Extract per-model cost and usage data from Codex and Claude logs.

5.5k|641|Updated May 29, 2020
One-click install
npx skills add https://github.com/the-open-agent/openagent --skill model-usage-the-open-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/the-open-agent/openagent/tree/main/skills/model-usage
Command: npx skills add https://github.com/the-open-agent/openagent --skill model-usage-the-open-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the process of obtaining detailed per-model usage and cost summaries from local logs, helping users monitor and optimize AI model expenses.

Core Features & Use Cases

  • Cost Breakdown: Provides per-model cost analysis from Codex or Claude logs.
  • Usage Monitoring: Enables quick retrieval of recent or comprehensive model usage data.
  • Use Case: An AI team wants to review monthly costs for different models; this Skill automates data extraction and presentation without manual log parsing.

Quick Start

Use the model-usage skill to generate a summary of model costs from your local CodexBar logs by running the provided scripts with your JSON file.

Frequently Asked Questions about model-usage

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

FAQPage Schema
How do I summarize AI model costs from local logs?

This Skill automates cost tracking for AI models by extracting usage and expense data from local logs, generating detailed per-model cost summaries without manual parsing.

Does the usage monitoring script support both Codex and Claude logs?

Yes, the usage monitoring script ensures compatibility with both Codex and Claude logs, allowing you to parse JSON files from either platform to retrieve comprehensive model usage data.

What's the best way to track per-model expenses for multiple AI models?

The best way to track per-model expenses is to use this automated cost tracking tool, which provides a detailed cost breakdown from your local logs for teams managing multiple AI models.

Do I need Python to extract model usage data from CodexBar logs?

Yes, you need Python installed to run the scripts that extract model usage data and generate custom summaries from your local CodexBar JSON log files.

Can I generate custom expense reports for AI operations from local logs?

Yes, you can generate custom expense reports by running the provided scripts, which support scripting for custom summaries and automate data extraction for AI operations teams.