← ClaudeAtlas

cost-trackinglisted

Use when the user wants to capture AI tool costs, review spending trends, set cost budgets, or integrate cost data into health snapshots — guides quarterly cost capture, records data in a structured format, and updates MODEL_ROUTING.md with observed cost patterns
Habitat-Thinking/ai-literacy-superpowers · ★ 35 · Code & Development · score 65
Install: claude install-skill Habitat-Thinking/ai-literacy-superpowers
# Cost Tracking Capture, record, and track AI tool costs over time. Cost data feeds into health snapshots and informs model routing decisions. This skill does not access billing APIs directly — it guides the user through checking their provider dashboards and recording the data in a structured format that the plugin can read. ## Why Track Costs Without cost data: - MODEL_ROUTING.md routing rules are theoretical - The break-even calculation for self-hosting is impossible - Cost per PR/feature is unknown — no way to optimise - Budget conversations happen without evidence With cost data: - Routing rules are validated against actual spend - Self-hosting decisions are grounded in real numbers - Cost trends reveal whether AI adoption is efficient - Budget conversations have receipts ## The Cost Snapshot Cost data is captured in `observability/costs/YYYY-MM-DD-costs.md`. Each file records one capture session (typically quarterly). ### Format ```markdown # Cost Snapshot — YYYY-MM-DD ## Provider Spend | Provider | Period | Spend | Tokens (input) | Tokens (output) | | --- | --- | --- | --- | --- | | Anthropic | YYYY-MM to YYYY-MM | $X,XXX | XXM | XXM | | OpenAI | YYYY-MM to YYYY-MM | $X,XXX | XXM | XXM | ## Model Breakdown (if available) | Model | Tokens (input) | Tokens (output) | Estimated cost | | --- | --- | --- | --- | | claude-sonnet-4 | XXM | XXM | $XXX | | claude-opus-4 | XXM | XXM | $XXX | | claude-haiku-4 | XXM | XXM | $XXX | ## Per-Project Estimate | Project