CCUsage Token & Cost Tracker
Generates detailed token usage and cost reports for Claude Code and Codex CLI sessions to monitor AI expenditure.
The ccusage skill provides developers with a comprehensive toolset for monitoring and managing the costs associated with AI-assisted development. It enables granular reporting for both Claude Code and Codex CLI, allowing users to view token consumption and USD costs across various timeframes, including daily, monthly, or specific session summaries. By pulling data from local session logs and project files, it offers a transparent view of usage patterns, helps teams optimize their AI budgets, and supports offline reporting with cached pricing data.
Key Features
01Multiple reporting scopes including daily, monthly, and session-specific views.
02Exportable JSON output for integration with external analytics or billing systems.
03Granular date filtering using custom start and end date parameters.
04Comprehensive cost and token reporting for Claude Code and Codex CLI.
050 GitHub stars
06Offline mode support for cost calculation without an active internet connection.
Use Cases
01Tracking daily AI API expenditures to stay within development budgets.
02Generating monthly audit reports for project resource management and billing.
03Analyzing token consumption patterns to identify high-cost coding sessions.