openrouter-usage
Installation
SKILL.md
OpenRouter Usage Monitor
What this skill does
Retrieves OpenRouter usage and cost data via:
- Live totals (Today / Week / Month) from
/auth/key - Historical per-model breakdown from
/activity(completed UTC days only)
How to run (recommended)
Set environment variables (recommended) or create a credentials.env file:
export OPENROUTER_API_KEY=your_key_here
export OPENROUTER_MGMT_KEY=your_mgmt_key_here # optional, enables model breakdown
Then execute: python3 scripts/stats.py