Skip to content
Back to skills

Finops Observability

ASecurity

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'.

  • 17 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentspythongitapi

Works with

  • api

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add CarlosCaPe/octorato --skill finops-observability --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Finops Observability?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Finops Observability
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/carloscape-finops-observability/badge)](https://www.skillsdirectory.com/skills/carloscape-finops-observability)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: finops-observability
description: "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'."
---

# 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)

- **Caps** ([[finops-budget-policy]]) = the ceiling: a `PreToolUse` hook refuses the expensive tool when an arm burns through its cap.
- **Routing** ([[model-routing-by-complexity]]) = the floor: frontier brain, tiered arms (Haiku mechanical, Sonnet well-specified bulk, Opus build default, Fable all judgment); delegate each task to the cheapest sufficient tier. The `finops-digest` routing KPI ($ saved vs all-frontier) is what proves routing is actually happening; if spend is ~100% frontier-tier, routing is unused.

## Honest reading

- Daily cost tracks how much you worked, not only new capabilities — `cost-vs-change` surfaces signals to investigate, not proof (correlation ≠ causation).
- The blog/news pipeline runs on Groq + GH Actions + CF, NOT Claude — those costs are in OTHER meters this suite doesn't see yet. Cost-per-output for content needs Groq ingestion (not built).
- Make the digest recurring (it's folded into `brain-digest.py`); a metric nobody reads doesn't grow.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…