model-usage

Aggregates per-model usage costs from CodexBar local logs into text or JSON reports.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cploveless123/Dex-trading-bot --skill model-usage-cploveless123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/cploveless123/Dex-trading-bot/tree/main/workspace-backup/openclaw_skills/model-usage
Command: npx skills add https://github.com/cploveless123/Dex-trading-bot --skill model-usage-cploveless123

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

CodexBar cost logs are verbose and hard to interpret at a glance; this Skill enables quick, local aggregation of per-model usage costs to illuminate model-level spending and identify hotspots.

Core Features & Use Cases

  • Current-model view: identify the most expensive model in the latest daily log and report its cost.
  • All-model breakdown: accumulate costs by model across daily entries to compare usage and guide cost optimization.
  • Programmatic reporting: output either human-friendly text or JSON for integration with other tooling.

Quick Start

Run the script to generate a per-model cost summary from your CodexBar JSON log.

Frequently Asked Questions about model-usage

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

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

You can aggregate per-model usage costs from CodexBar local logs by running a script that parses verbose JSON entries to produce either a current-model summary or a full cost breakdown.

What is the best way to get a quick view of model-level costs from CodexBar?

The best way to get a quick view of model-level costs from CodexBar is to generate a current-model summary that identifies the most expensive model in the latest daily log and reports its total cost.

Do I need the CodexBar CLI installed to summarize local per-model costs?

Yes, you need the CodexBar CLI installed and accessible in your system PATH to summarize local per-model costs, as the Skill relies on the CLI to read and aggregate local JSON log data.

Can I filter CodexBar cost logs by date when generating a model breakdown?

Yes, you can filter CodexBar cost logs by date when generating a model breakdown, as the aggregation script supports optional date filtering to narrow the scope of the per-model cost report.

Can I output CodexBar usage costs as JSON for integration with other tooling?

Yes, you can output CodexBar usage costs as JSON for integration with other tooling by selecting the JSON format option, which provides a programmatic report alternative to the default human-friendly text summary.