model-usage

Summarize per-model CodexBar cost data from local logs into text or JSON.

Updated Jan 28, 2026
One-click install
npx skills add https://github.com/xcriminal1/Xcriminal-bot --skill model-usage-xcriminal1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/xcriminal1/Xcriminal-bot/tree/main/skills/model-usage
Command: npx skills add https://github.com/xcriminal1/Xcriminal-bot --skill model-usage-xcriminal1

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

CodexBar cost data is scattered across local logs and multiple models; this Skill consolidates per-model usage from local cost logs to help you quickly understand spending by model.

Core Features & Use Cases

  • Extract per-model costs from CodexBar's local logs to produce current-model and full-model breakdowns for auditing, budgeting, and optimization.
  • Use Case: Compare Codex and Claude model costs over time to identify spikes and optimize usage patterns for cost efficiency.

Quick Start

Ask the skill to summarize per-model CodexBar usage from local cost logs to generate either a current-model snapshot or a full-model breakdown.

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

To summarize per-model AI usage costs from local CodexBar logs, this tool consolidates scattered cost data into a current-model snapshot or a full-model breakdown across Codex and Claude providers. It accepts optional JSON input or reads directly from the CodexBar CLI.

What is the best way to compare Codex and Claude per-model spending for budget auditing?

The best way to compare Codex and Claude per-model spending is by generating a full-model breakdown from local cost logs. This consolidates usage data to help identify cost spikes and optimize patterns for budget auditing.

Can I output AI model cost data as JSON for a vector store?

Yes, you can output AI model cost data as JSON suitable for embedding in a vector store. The tool supports both text and JSON output formats when summarizing per-model usage from local logs.

Does this tool require direct CodexBar CLI access to read local cost logs?

No, direct CodexBar CLI access is not strictly required. The tool can read local cost logs from the CodexBar CLI, but it also accepts optional JSON input to process per-model usage data.

How do I generate a current-model cost snapshot instead of a full breakdown?

To generate a current-model cost snapshot instead of a full-model breakdown, you process local CodexBar logs and select the current-model view. This provides quick insights focused on your active provider usage.