Command Palette

Search for a command to run...

Назад к скиллам
скилл № 08100

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от 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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • 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), без исполняемых скриптов.

Похожие скиллы

Сравнить devops-finops с