model-usage

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

1|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/karaabd23-crypto/openclaw --skill model-usage-karaabd23-crypto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/karaabd23-crypto/openclaw/tree/main/skills/model-usage
Command: npx skills add https://github.com/karaabd23-crypto/openclaw --skill model-usage-karaabd23-crypto

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

CodexBar usage data can be verbose; this skill distills per-model costs from local logs into concise summaries for quick budgeting and model-selection decisions.

Core Features & Use Cases

  • Current model cost summary: Retrieve the most recent daily costs per model from CodexBar logs.
  • All-model breakdown: Aggregate costs across all models to compare usage and spend.
  • Use Case: When asked for model-level usage data, generate a digest that supports Codex or Claude analyses.

Quick Start

Summarize per-model usage costs from CodexBar's local cost logs.

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 usage costs from CodexBar logs?

To summarize per-model usage costs from CodexBar logs, you can aggregate costs by model using daily modelBreakdowns and modelsUsed fields. This skill reads JSON payloads from local cost output or files to generate concise human-readable text or JSON summaries.

What is the best way to compare Codex and Claude model spending locally?

The best way to compare Codex and Claude model spending locally is by aggregating costs across all models from CodexBar logs. This provides a full per-model breakdown to help you analyze usage and spend for budgeting decisions.

Can I get a cost summary for only my most recently used models?

Yes, you can retrieve a current model cost summary to extract the most recent daily costs per model. This feature distills verbose CodexBar usage data into a concise digest for quick budgeting.

Does this tool support JSON output for downstream automation workflows?

Yes, the tool supports JSON output for downstream automation workflows. It reads JSON payloads from CodexBar cost output and can format the aggregated per-model cost data as either human-readable text or structured JSON.

Do I need a specific file format to analyze CodexBar cost logs?

You need a JSON payload from CodexBar cost output or a provided file containing the cost logs. The skill parses this JSON data, specifically utilizing the modelBreakdowns and modelsUsed fields to aggregate and summarize costs.