model-usage

Parse CodexBar JSON logs to summarize local AI model costs.

6|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/me2Doc/friendlyclaw --skill model-usage-me2doc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-usage
Source: https://github.com/me2Doc/friendlyclaw/tree/main/body/skills/model-usage
Command: npx skills add https://github.com/me2Doc/friendlyclaw --skill model-usage-me2doc

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the lack of visibility into local AI model usage costs by parsing CodexBar logs to provide clear, actionable summaries of your spending per model.

Core Features & Use Cases

  • Cost Breakdown: Aggregates total costs across different AI models like Codex or Claude.
  • Usage Analysis: Identifies the most frequently used models and their associated financial impact.
  • Use Case: Use this to generate a monthly report of your AI development costs to ensure you stay within your budget for specific model providers.

Quick Start

Ask the assistant to summarize your total usage costs for the Claude model over the last thirty days.

Frequently Asked Questions about model-usage

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

FAQPage Schema
How do I track local AI model usage costs from the command line?

The skill summarizes local AI model cost data by parsing JSON logs generated by the CodexBar CLI. It facilitates financial tracking and usage analysis for developers utilizing Codex or Claude models by aggregating total costs.

Do I need the codexbar CLI installed to analyze my AI billing data?

Yes, you need the codexbar CLI tool installed and accessible on your system path for log retrieval. The skill parses these generated JSON logs to summarize local AI model cost data.

Can I generate a monthly cost breakdown for specific models like Claude or Codex?

Yes, the skill aggregates total costs across different AI models like Codex or Claude to provide a cost breakdown. It identifies the most frequently used models and their associated financial impact for your monthly reports.

What is the best way to summarize total usage costs for the Claude model over the last thirty days?

Ask the assistant to summarize your total usage costs for the Claude model over the last thirty days. The skill parses your local CodexBar JSON logs to generate an actionable summary of your spending per model.

Why does my AI usage cost analysis require JSON logs from CodexBar?

AI usage cost analysis requires JSON logs from CodexBar because the skill parses these specific log files to extract local spending data. Without these generated logs, the tool cannot aggregate total costs or identify frequently used models.