
cloud-finops
Cost analysis plugin that checks tag allocation and commitment discounts in FOCUS exports.
- version
- 2.14.14
- GitHub stars
- 30.3K
What it does
- Adds
/cs-finops-reviewand/cs-cost-spikecommands plus thecs-finops-analystagent for AWS, Azure, and Google Cloud bills - Covers tag allocation, Savings Plan, Reserved Instance, and committed use discount utilization, and unit-cost anomaly detection
- Refuses to recommend new commitments while existing ones sit idle, and sizes new ones to the uncovered floor
- Designed for FinOps teams that need read-only, credential-free analysis from a FOCUS cost export
Analyse AWS, Azure and Google Cloud bills from a FOCUS cost export, the open billing format all three publish. Three deterministic stdlib scripts: an allocation check that measures the share of EffectiveCost carrying your required tags, lists the largest unallocated resources and flags tag values that split one owner; a commitment check for Savings Plans, Reserved Instances and committed use discounts that computes utilization, coverage in on-demand equivalent and the FinOps Foundation effective savings rate, refuses to recommend buying while commitments sit idle and sizes new ones to the uncovered floor; and a robust anomaly detector with unit-cost tracking. Ships cs-finops-analyst agent, /cs-finops-review and /cs-cost-spike commands and 3 cited references. No cloud credentials, read-only.
Add marketplace
/plugin marketplace add alirezarezvani/claude-skillsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install cloud-finops@claude-code-skillsRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceCloud FinOps
Portability: 3 stdlib Python scripts plus a shared loader. Input is a CSV you export; no cloud credentials, no API calls. Definitions verified 2026-11-17 against FOCUS v1.4 and the FinOps Foundation.
A cloud bill answers "how much"; it rarely answers "whose", "was the discount worth it" or "is this spike real". FOCUS, the open billing schema that AWS, Azure and Google Cloud all export, makes the three questions computable the same way on every provider. This skill computes them and refuses the common shortcuts: allocating by BilledCost, measuring coverage in discounted dollars, buying commitments while existing ones sit idle, and alerting on percentages alone.
Workflow
# 0 - Export FOCUS: AWS Data Exports (FOCUS 1.x), Azure Cost Management export (FOCUS), GCP BigQuery FOCUS view
# 1 - Who owns the spend?
python scripts/allocation_check.py --input focus.csv --required-tags team,env,cost-center
# 2 - Are the commitments earning their keep? Should we buy more?
python scripts/commitment_check.py --input focus.csv --eligible Compute
# 3 - What changed, and is it the business or the bill?
python scripts/cost_anomaly.py --input focus.csv --units orders.csv
Step 1 reports the share of EffectiveCost carrying every required tag,
the largest unallocated resources, and tag values that split one owner
(Prod/prod). Cost with no ResourceId (shared charges, unused commitment)
needs a split rule, not a tag.
Step 2 computes utilization, coverage in on-demand equivalent (ListCost), and the effective savings rate with unused commitment counted as negative savings. It names under-used commitments, says "fix utilization first" when coverage is low and commitments are idle, and gives the lowest daily uncovered spend as the size a new commitment would keep fully used.
Step 3 flags a group-day only when it beats a robust z-score (median and MAD), a relative floor and a money floor together, and compares cost per business unit between the two halves of the period. Under 14 days it refuses.
Hard rules
- EffectiveCost for ownership and trends; BilledCost only for the invoice. Purchases are spread by EffectiveCost.
- Never recommend a commitment purchase while utilization is under target. Move workloads onto what is paid for first.
- Size new commitments to the floor, not the average. Above the floor is a growth bet; say it is one.
- Thresholds and targets are policy. State every default you used (
--target,--min-coverage,-k,--min-abs). - A total that rises with the business is not an anomaly. Check unit cost before calling a spike waste.
- Read-only. Never change tags, buy or exchange commitments, or delete resources; produce the recommendation and its numbers.
Scripts
| Script | Role | Exit codes |
|---|---|---|
scripts/allocation_check.py | Allocation coverage, spend by category and account, unallocated resources, tag hygiene | 0 at target · 2 findings · 3 bad input |
scripts/commitment_check.py | Utilization, coverage, ESR, per-commitment waste, sizing floor | 0 healthy · 2 findings · 3 bad input |
scripts/cost_anomaly.py | Robust daily anomalies by service or account, unit-cost drift | 0 none · 2 findings · 3 bad input |
All support --help, --sample and --output json. scripts/focus_common.py is the shared loader.
References and assets
references/focus_and_allocation.md: FOCUS columns, EffectiveCost vs BilledCost, allocation and shared costs (7 sources)references/commitments_and_esr.md: coverage, utilization, ESR formulas and the decisions they drive (6 sources)references/anomalies_and_unit_economics.md: the detector, its defaults, unit cost (7 sources)assets/focus_export.example.csv: 14-day FOCUS sampleassets/finops_review_template.md: monthly review write-up
Readme
cloud-finops
Answer "whose spend is this", "is the discount paying off" and "is this spike real" from a FOCUS cost export. Works the same on AWS, Azure and Google Cloud because all three export FOCUS. Three stdlib Python scripts; no credentials, no API calls, read-only.
| Script | Answers |
|---|---|
allocation_check.py | Share of spend with owner tags, biggest unallocated resources, tag values that split an owner |
commitment_check.py | Savings Plan / RI / CUD utilization, coverage, effective savings rate, how much more to commit (if any) |
cost_anomaly.py | Which service or account spiked on which day, and whether cost per order or user moved |
/plugin install cloud-finops@claude-code-skills
/cs-finops-review focus_export.csv --required-tags team,env,cost-center
/cs-cost-spike focus_export.csv --units orders.csv
Definitions follow FOCUS v1.4 and the FinOps Foundation (verified 2026-11-17);
see skills/cloud-finops/references/. Agent: cs-finops-analyst. License: MIT.
Details
- Marketplace
- alirezarezvani/claude-skills
- Source
- engineering/cloud-finops
- Author
- Alireza Rezvani
- Category
- Development
- Keywords
- finops, focus, cloud-cost, aws, azure, gcp, savings-plans, reserved-instances, cost-allocation, anomaly-detection, unit-economics
More from alirezarezvani/claude-skills
All 130- cmmc-readinessv2.14.5
- code-to-prdv2.14.5
- code-tourv2.14.5
- coding-agent-rolloutv2.14.8
- collab-proofv2.14.5
- commercial-skillsv2.14.6
- commit-craftv2.14.6
- compliance-osv2.14.12
- compliance-team-eu-ai-actv2.14.10
- compliance-team-iso42001v2.14.5
- content-creatorv2.2.0
- cra-readinessv2.14.11
- data-quality-auditorv2.14.5
- deep-learning-bookv2.14.6
- deep-researchv2.14.1
- deep-workv2.14.6
- deepreadv2.14.7
- demand-genv2.2.0
- demo-videov2.14.5
- design-qav2.14.6
- docker-developmentv2.14.7
- dora-readinessv2.14.13
- dossierv2.14.5
- email-pairv2.14.5
Similar to cloud-finops
More DevOps & Cloud
claude-mem-coworkthedotmack/claude-mem118.9K starsClaude-Mem for Cowork (Claude app cloud sessions) - hooks stream tool use to cmem.ai and inject observations into new sessions and agents
ruflo-agentruvnet/ruflo82.2K starsAgent runtimes — local WASM-sandboxed agents (rvagent) + Anthropic Claude Managed Agents (cloud); one interface, local-vs-cloud backends
containerapple/container51.9K starsTeaches Claude container's command surface and how it maps to Docker, Lima, Colima, and Podman on macOS
big-data-cloud-automationComposioHQ/awesome-claude-skills51.5K starsAutomate Big Data Cloud tasks via Rube MCP (Composio). Always search tools first for current schemas.
agentic-bundle-aas-devops-cloudsickn33/agentic-awesome-skills50.1K starsInstall the "AAS DevOps & Cloud" editorial skill bundle for Claude Code.
agentforce-adlcanthropics/claude-plugins-official47.9K starsAgentforce Agent Development Life Cycle — author, discover, scaffold, deploy, test, and optimize .agent files