Finops observability

From CarlosCaPe/octorato · View interactive version

Finops observability is an AI agent skill from the GitHub repository CarlosCaPe/octorato. Measures what the brain and its agents cost and routes the question to the right tool: spend per arm, routing KPIs, marginal cost of each capability. Triggers on 'cuanto gastamos', 'cuanto cuesta', 'que se esta comiendo los tokens'.

How to use this skill

Skill file

FinOps Observability

The brain already measures cost across several surfaces. This skill is the map so you pick the right one instead of rebuilding. All use list-price ESTIMATES from local session JSONL (attributed by repo path) — honest scope: an estimate with a small unattributed remainder, not a per-request invoice. On a subscription, "estimated $" is API-equivalent value, not what's billed.

Which tool for which question

| Question | Tool |

|---|---|

| Per-arm $ + routing KPI ($ saved vs all-Opus) + est-vs-billed | python3 scripts/finops-digest.py [--days N] [--json] |

| Did a NEW capability make me cheaper/more expensive? | python3 scripts/cost-vs-change.py [--days N] [--window W] — correlates daily cost curve with the git log of skills/scripts merged |

| Daily roll-up (skills/agents activity + the FinOps routing section) | python3 scripts/brain-digest.py --stdout |

| Usage by day/week/month/model/project | python3 skills/claude-usage-report/scripts/usage_report.py |

| Per-skill token ROI (which skill earns its tokens) | python3 scripts/skill-cost-profiler.py --days N --json |

| Reconcile estimate vs ACTUAL billed (needs Admin API key) | python3 scripts/anthropic-analytics-pull.py then re-run finops-digest |

| Enforce a per-arm cap (not just measure) | [[finops-budget-policy]] — set budgets.yaml (template: budgets.yaml.example) |

usage_report.py owns the canonical PRICING table — every other tool reuses its price(); never fork the rates.

The two levers (measure → act)

Honest reading

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.