devops-finops
Use when the user asks why the AWS bill doubled, to find cloud savings, FinOps, cost allocation and tagging, Savings Plans or reserved instances, rightsizing…
от j4flmao★ 47 звёзд на GitHub
Установить devops-finops в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
devops-finops
Purpose
Implement FinOps practices for cloud cost visibility, allocation, optimization, and governance -- covering compute, storage, Kubernetes, and organizational maturity from crawl to run.
Agent Protocol
Trigger
Any user message referencing cloud cost, FinOps, cost optimization, reserved instances, savings plans, tagging, budgets, chargeback, or Kubecost.
Input Context
Cloud provider(s), current monthly spend, team structure, tagging conventions, optimization goals, compliance requirements.
Output Artifact
Tagging strategy, budget alerts, right-sizing recommendations, RI/SP purchase plans, cost dashboards, chargeback/showback reports, K8s cost optimization config.
Response Format
Tabular data, tagging schemas, policy definitions. CLI/API examples for cost tools.
No preamble. No postamble. No explanations. No filler/hedging/transitions.
Completion Criteria
Tagging enforced, budgets active, right-sizing recommendations implemented, cost visibility dashboards deployed, chargeback process documented, K8s cost visibility enabled.
Architecture / Decision Trees
FinOps Maturity Model
| Stage | Capabilities | Metrics | Automation Level |
|---|---|---|---|
| Crawl | Tagging, basic budgets, monthly reports | Total spend, top services | Manual |
| Walk | Anomaly detection, RI/SP management, team allocation | Unit economics, coverage % | Semi-automated |
| Run | Automated optimization, chargeback, continuous governance | Efficiency KPIs, forecasting | Fully automated |
Discount Vehicle Decision Tree
- Stable, known baseline workload: Reserved Instance (3-year all upfront).
- Diverse, growing compute footprint: Compute Savings Plan.
- Stateless, fault-tolerant workloads: Spot (up to 90% discount).
- Variable, unpredictable traffic: On-demand + auto-scaling.
- Hybrid EC2/Fargate/Lambda: Compute SP > EC2 SP.
- Short-term project (< 1 year): On-demand only (avoid commitment).
Organization Structure Options
| Model | Structure | Best For |
|---|---|---|
| Centralized | Single FinOps team manages all | Small orgs (<100 people) |
| Federated | Each team manages own costs | Large orgs (>500 people) |
| Hub-and-Spoke | Central team + decentralized executors | Mid-size orgs |
| Embedded | FinOps practitioners in each team | Enterprise with dedicated budget |
Resource Type Optimization Priority
| Resource Type | Optimization Potential | Effort | Priority |
|---|---|---|---|
| Compute (EC2, GCE, VM) | 30-60% savings | Medium | High |
| Kubernetes (idle, over-provisioned) | 40-60% savings | High | High |
| Storage (lifecycle, unattached) | 20-40% savings | Low | Medium |
| Data transfer (egress, cross-region) | 30-50% savings | Medium | High |
| Database (right-sizing, RI) | 25-50% savings | Medium | High |
| Serverless (over-provisioned memory/timeout) | 20-30% savings | Low | Medium |
Core Workflow
Step 1: Tagging Strategy
# Terraform tagging convention
locals {
required_tags = {
Environment = var.environment # dev, staging, prod
CostCenter = var.cost_center # platform, data, ml, security
Service = var.service_name # myapp, auth, payments
Team = var.team_name # backend, frontend, infra
Owner = var.owner_email # team lead email
ManagedBy = "terraform"
CreatedAt = formatdate("YYYY-MM-DD", timestamp())
}
}
resource "aws_instance" "app" {
tags = local.required_tags
volume_tags = local.required_tags
}
Step 2: Budget Alerts
# AWS Budget with multiple thresholds and automation
resource "aws_budgets_budget" "monthly" {
name = "monthly-budget-${var.service}"
budget_type = "COST"
limit_amount = var.budget_amount
limit_unit = "USD"
time_period_start = "2024-01-01_00:00"
time_unit = "MONTHLY"
notification {
comparison_operator = "GREATER_THAN"
threshold = 50
threshold_type = "PERCENTAGE"
notification_type = "ACTUAL"
subscriber_email_addresses = [var.owner_email]
}
notification {
comparison_operator = "GREATER_THAN"
threshold = 80
threshold_type = "PERCENTAGE"
notification_type = "FORECASTED"
subscriber_sns_topic_arns = [aws_sns_topic.cost_alerts.arn]
}
notification {
comparison_operator = "GREATER_THAN"
threshold = 100
threshold_type = "PERCENTAGE"
notification_type = "ACTUAL"
subscriber_sns_topic_arns = [aws_sns_topic.cost_escalation.arn]
}
}
Step 3: Cost and Usage Report to BigQuery (GCP)
-- Query billing export for top spenders
SELECT
service.description AS service,
ROUND(SUM(cost), 2) AS total_cost,
ROUND(SUM(usage.amount), 2) AS total_usage
FROM `project.dataset.gcp_billing_export_v1`
WHERE DATE(_PARTITIONTIME) >= DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY)
GROUP BY service
ORDER BY total_cost DESC
LIMIT 10;
Step 4: Right-Sizing Recommendation
# AWS Compute Optimizer r
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/api_reference.md
- references/architecture_patterns.md
- references/cloud-cost-optimization-advanced.md
- references/cloud-cost-optimization-fundamentals.md
- references/compliance_matrix.md
- references/compute-optimization.md
- references/configuration_templates.md
- references/cost-allocation.md
- references/cost-optimization-2.md
- references/cost-optimization.md
- references/deployment_strategies.md
- references/finops-advanced.md
- references/finops-automation.md
- references/finops-fundamentals.md
- references/finops-governance.md
- references/finops-practices.md
- references/finops_optimization.md
- references/merged-cloud-cost-optimization.md
- references/merged-enterprise-finops-cloud-cost.md
- references/performance_tuning.md
- references/ref1.md
- references/ref2.md
- references/ref3.md
- references/ref4.md
- references/ref5.md
- references/ref6.md
- references/ref7.md
- references/ref8.md
- references/security_policies.md
- references/storage-network-optimization.md
- references/troubleshooting_guide.md
FAQ
Что делает скилл devops-finops?
Use when the user asks why the AWS bill doubled, to find cloud savings, FinOps, cost allocation and tagging, Savings Plans or reserved instances, rightsizing, budgets and cost anomaly alerts, or unit economics. Produces a cost analysis with prioritized savings. Not for enterprise cost policy (use enterprise-cost-governance) or Kubernetes autoscaling (use devops-kubernetes-autoscaling).
Как установить скилл devops-finops?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл devops-finops запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…