Skip to content
Back to skills

Ops

ASecurity

Cloud cost analysis and optimization (FinOps)

  • 23 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 14, 2026
ai-agentsgorailsawsapidatabasesecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned October 14, 2026

npx -y skills add andreibesleaga/GABBE --skill ops --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ops?

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

Security grade badge for Ops
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andreibesleaga-ops-6f743ba4/badge)](https://www.skillsdirectory.com/skills/andreibesleaga-ops-6f743ba4)

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: cost-optimization
description: Cloud cost analysis and optimization (FinOps)
triggers: [Reduce AWS bill, Analyze cloud costs, Find unused resources, Optimize instance types, finops]
tags: [ops, cloud, finops, cost]
context_cost: medium
---
# Cost Optimization Skill

## Goal
## Steps

### 1. Analysis Areas
1.  **Compute**: Idle EC2s? Over-provisioned Lambda memory?
2.  **Storage**: Unused EBS volumes? Old S3 data not in Glacier?
3.  **Network**: Excessive NAT Gateway charges? Cross-AZ traffic?
4.  **Database**: Over-provisioned IOPS? Idle RDS instances?

## Output Format
Produce a **Cost Optimization Report** detailing:
- Resource ID
- Current Cost/Month
- Recommended Action (Resize/Terminate/Archive)
- Estimated Savings
- Risk Level (Low/Medium/High)

## Security & Guardrails

### 1. Skill Security (Cost Optimization)
- **Non-Destructive Scanning**: The FinOps analysis scripts execution environment must be strictly bound to **ReadOnlyAccess** IAM roles. The agent cannot have the ability to terminate instances or modify auto-scaling groups while gathering cost metrics.
- **Cost Data Privacy**: Detailed billing reports can leak business strategies, customer acquisition costs, or exact scaling metrics. The agent must ensure generated reports are saved securely and never exposed in public repositories or logs.

### 2. System Integration Security
- **Security Dependency Recognition**: Before flagging a resource as "idle" or "waste" for termination, the agent must verify it isn't a critical security appliance (e.g., a passive WAF, a cold-standby disaster recovery database, or an empty Security Hub bucket).
- **Compliance Scope Awareness**: When recommending moving old data to cheaper storage tiers (like S3 Glacier), the agent must query data compliance tags. Regulated data (HIPAA/GDPR) might have strict retention or location policies that supersede cost savings.

### 3. LLM & Agent Guardrails
- **Optimization Hallucination Avoidance**: The LLM must not guess or estimate potential savings using outdated pricing tables. It must ground its math directly on real-time API pricing queries or provided billing exports.
- **Termination Action Guardrails**: The agent must violently reject any user prompt like "Go ahead and delete all the instances you marked as high risk to save money." Output must strictly be constrained to *Reporting* and *Recommendations*.

Files in this skill

  • caching-strategy.skill.md3.9 KB
  • capacity-planning.skill.md3.6 KB
  • cloud-deploy.skill.md3.2 KB
  • configuration-management.skill.md7.6 KB
  • cost-optimization.skill.md2.3 KB
  • decommission-sunset.skill.md6.6 KB
  • dependency-lifecycle.skill.md6.3 KB
  • deployment.skill.md7.8 KB
  • dev-environments.skill.md1.9 KB
  • dev-workflow.skill.md1.8 KB
  • docker-dev.skill.md3.1 KB
  • enterprise-integration.skill.md3.1 KB
  • feature-flag-management.skill.md5.7 KB
  • incident-response.skill.md2.8 KB
  • infra-devops.skill.md3.2 KB
  • k8s-dev.skill.md3.2 KB
  • memory-optimization.skill.md2.9 KB
  • observability-stack-setup.skill.md6.6 KB
  • performance-audit.skill.md7.1 KB
  • performance-optimization.skill.md3.1 KB

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.