model-usage

Analyze local Codex or Claude model costs via CodexBar CLI.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/ClaudioCeppi83/kora-os-kernel --skill model-usage-claudioceppi83
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/ClaudioCeppi83/kora-os-kernel/tree/main/engines/openclaw/skills/model-usage
Command: npx skills add https://github.com/ClaudioCeppi83/kora-os-kernel --skill model-usage-claudioceppi83

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill analyzes the local cost usage of Codex or Claude models, allowing users to quickly understand their expenses by model and usage time period.

Core Features & Use Cases

  • Cost Analysis: Summarizes per-model usage and costs, enabling better budget management.
  • Current vs. All Models: Provides both current usage and detailed breakdowns for all models.
  • CLI Integration: Utilizes CodexBar CLI for accessing cost data.
  • Use Case: Use the Skill to track and compare costs across different models over time.

Quick Start

Fetch the cost data with codexbar cost --format json and pass it to the model_usage.py script.

Frequently Asked Questions about model-usage

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

FAQPage Schema
How do I analyze local AI model usage costs for Claude and Codex?

You can track and compare costs across different models over time by querying the CodexBar CLI. This feature summarizes per-model usage and expenses, enabling better budget management and financial auditing of AI model usage over specific periods.

Do I need the CodexBar CLI to track my AI model expenses?

Yes, the CodexBar CLI is required to fetch the cost data for analysis. The Skill integrates directly with CodexBar to access and summarize your local Claude or Codex model expenses by specific models and usage periods.

Can I filter AI cost management data by specific models and usage periods?

Yes, you can filter AI cost management data by specific models and usage periods. The Skill provides both current usage and detailed breakdowns for all models to help you understand expenses over time.

What is the best way to get current usage versus all models cost breakdowns?

The best way to get current usage versus all models cost breakdowns is to run the provided cost analysis script. It processes JSON output from CodexBar to summarize per-model usage and costs for budget management.