model-usage

Summarize per-model usage costs from local CodexBar logs for Codex and Claude.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

CodexBar local logs can be scattered across formats; this skill consolidates per-model usage data for Codex and Claude to enable quick cost visibility and reporting.

Core Features & Use Cases

  • Current model overview: identify the most recently used model and its cost from local CodexBar cost logs.
  • All-model breakdown: aggregate per-model costs across daily entries for detailed cost analysis.
  • Flexible inputs: reads from local CodexBar JSON exports or live CLI output and supports provider selection (codex or claude).
  • Real-world use: compare model costs to optimize deployment decisions and budgeting.

Quick Start

Install CodexBar CLI if needed, then run a per-model cost summary against your 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 local CodexBar logs?

To summarize per-model usage costs from local CodexBar logs, you can use this skill to aggregate data from local JSON exports or live CLI output. It identifies current top-cost models and provides a full per-model breakdown for Codex and Claude.

What is the best way to track Codex and Claude model costs locally?

Tracking Codex and Claude model costs locally is best done by consolidating scattered CodexBar log formats into a unified per-model breakdown. This approach enables quick cost visibility, reporting, and deployment budget optimization.

Do I need CodexBar installed to analyze per-model usage costs?

Yes, you need CodexBar installed to analyze per-model usage costs. The skill requires CodexBar to read from local JSON exports or live CLI output to identify the most recently used model and calculate its cost.

Can I output per-model cost summaries as JSON for dashboards?

Yes, you can output per-model cost summaries as JSON for dashboards. The skill supports both text and JSON output formats, making the aggregated cost results suitable for scripting and dashboard integration.

How do I aggregate daily per-model costs for Codex and Claude?

To aggregate daily per-model costs for Codex and Claude, the skill processes local CodexBar logs across daily entries. This flexible input supports provider selection to generate a detailed all-model cost breakdown.