model-usage

Summarize per-model cost usage from CodexBar local logs.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/victor-brechbill/claw-kernel --skill model-usage-victor-brechbill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/victor-brechbill/claw-kernel/tree/main/skills/model-usage
Command: npx skills add https://github.com/victor-brechbill/claw-kernel --skill model-usage-victor-brechbill

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps users understand and manage their AI model spending by providing detailed per-model cost summaries from CodexBar's local usage logs.

Core Features & Use Cases

  • Per-Model Cost Summaries: Get a breakdown of costs associated with each AI model used (e.g., Codex, Claude).
  • Current Model Focus: Easily identify the most recently used model and its associated costs.
  • Full Model Breakdown: View a comprehensive summary of all models and their total costs over a specified period.
  • Use Case: A developer wants to optimize their AI API spending. They use this Skill to see which models are consuming the most budget, allowing them to switch to more cost-effective alternatives or adjust their usage patterns.

Quick Start

Run the model_usage.py script to get a summary of current model costs for Codex.

Frequently Asked Questions about model-usage

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

FAQPage Schema
How do I track AI model costs for Codex and Claude?

You can retrieve either the most recent daily model cost or a full breakdown of all models used. Run the model_usage.py script to get a summary of current model costs for Codex.

How do I get a per-model cost breakdown for AI API usage?

This helps developers identify which models are consuming the most budget, allowing them to switch to more cost-effective alternatives or adjust their usage patterns.

Do I need the CodexBar CLI installed to monitor AI usage spending?

Without the CLI actively logging usage data, the Skill cannot retrieve the daily model costs or full model breakdowns for Codex and Claude.

Can I see the most recently used AI model and its associated costs?

This current model focus helps developers monitor active spending and optimize their AI API budget without reviewing full historical logs.

What is the best way to optimize AI API spending for development workflows?

By reviewing the full model breakdown, developers can pinpoint expensive models and make informed decisions to reduce overall AI costs.