Back to Registry View Author Profile
Official Verified
Oee Ai Cost Tracker
Skill by odinbot33
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/odinbot33/oee-ai-cost-trackerOr
🐾 AI Cost Tracker — Know What You Spend
by Odin's Eye Enterprises — Ancient Wisdom. Modern Intelligence.
Track every AI API call, generate spend reports, and get routing suggestions to cut costs.
What It Does
- Logs every API call with model, tokens, cost to JSONL
- Reports spending by model, time period, and use case
- Suggests cheaper model routing based on task complexity
Trigger Phrases
- "how much have I spent on AI"
- "AI cost report"
- "track this API call"
- "show AI spending"
- "cost breakdown"
Usage
Logging (in your code)
from tracker import log_usage
log_usage(model="claude-3-haiku", input_tokens=500, output_tokens=200, task="humanize")
Reports
# Full spend report
python report.py
# Last 7 days
python report.py --days 7
# By model
python report.py --by-model
Files
tracker.py— logging library, import into your toolsreport.py— CLI dashboard for spend analysispricing.json— model pricing data (update as needed)
Requirements
- Python 3.10+ (stdlib only)
- No API keys needed (this tracks YOUR usage)
For Agents
To check spending: python report.py
To log usage from other tools: from tracker import log_usage
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-odinbot33-oee-ai-cost-tracker": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.