LaunchKit · 2026
Back to Skills

oee-ai-cost-tracker

> by Odin's Eye Enterprises — Ancient Wisdom.

0
450 downloads
by @odinbot33

Setup & Installation

openclaw skills install @odinbot33/oee-ai-cost-tracker

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install oee-ai-cost-tracker

What This Skill Does

Tracks AI API usage by logging each call with model, token counts, and cost to a JSONL file. Provides CLI reports broken down by model, time period, or use case, and suggests cheaper model alternatives based on task complexity.

Requires no external service or API key, so all cost data stays local and is queryable instantly without a dashboard login.

When to use it

  • Checking total AI spend for the month
  • Comparing costs across Claude, GPT, and other models
  • Auditing which tasks consume the most tokens
  • Deciding when to swap a model for a cheaper one
  • Generating weekly spend summaries for a team

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: show AI spending for the last 7 days by model

AGENT
  1. 1Run `python report.py --days 7 --by-model`
  2. 2Parse the JSONL log for entries within the date range
  3. 3Aggregate token counts and costs per model
  4. 4Format results into a spend breakdown table
OUTPUT

A per-model cost summary covering the past 7 days with token totals and dollar amounts