Cost Analysis

Analyze infrastructure and operational costs with optimization recommendations

16 stars

Best use case

Cost Analysis is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Analyze infrastructure and operational costs with optimization recommendations

Teams using Cost Analysis should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/cost-analysis/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/devops/cost-analysis/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/cost-analysis/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Cost Analysis Compares

Feature / AgentCost AnalysisStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Analyze infrastructure and operational costs with optimization recommendations

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Cost Analysis Skill

Analyze infrastructure and operational costs with optimization recommendations.

## Trigger Conditions
- Monthly/quarterly cost review cycle
- Budget threshold breach alert
- New resource provisioning request
- User invokes with "cost analysis" or "optimize spending"

## Input Contract
- **Required:** Resource inventory or billing data
- **Required:** Time period for analysis
- **Optional:** Budget targets, comparison baselines

## Output Contract
- Cost breakdown by service, team, and resource type
- Cost-per-transaction trending
- Optimization recommendations with savings estimates
- Reserved vs. on-demand vs. spot mix recommendation

## Tool Permissions
- **Read:** Billing data, resource configs, usage metrics
- **Write:** Cost analysis reports
- **Search:** Resource tags and attribution data

## Execution Steps
1. Collect billing data for the analysis period
2. Attribute costs by service and team using resource tags
3. Identify unattributed costs
4. Calculate cost-per-transaction trends
5. Identify top cost drivers and anomalies
6. Generate optimization recommendations (rightsizing, reservations, spot)
7. Estimate savings per recommendation

## Success Criteria
- 100% of costs attributed to service/team
- Cost anomalies flagged with explanation
- Optimization recommendations include estimated savings
- Cost-per-transaction trend reported

## Escalation Rules
- Escalate if daily spend exceeds baseline by >20%
- Escalate if unattributed costs exceed 10% of total
- Escalate if optimization requires architectural changes

## Example Invocations

**Input:** "Analyze our AWS costs for January and find savings"

**Output:** Total: $45,200. Top 3: RDS ($18K — oversized instances, recommend r6g.xlarge→r6g.large, save $4K/mo), EKS ($12K — 40% idle capacity, recommend cluster autoscaler tuning), S3 ($8K — no lifecycle policy, archive to Glacier after 30d, save $3K/mo). Total potential savings: $7K/month.

Related Skills

database-cloud-optimization-cost-optimize

16
from diegosouzapw/awesome-omni-skill

You are a cloud cost optimization expert specializing in reducing infrastructure expenses while maintaining performance and reliability. Analyze cloud spending, identify savings opportunities, and ...

cost-optimization

16
from diegosouzapw/awesome-omni-skill

Optimize cloud costs through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing c...

codebase-architecture-analysis

16
from diegosouzapw/awesome-omni-skill

Analyze a GitHub codebase to create comprehensive architecture documentation including ASCII diagrams, component relationships, data flow, hosting infrastructure, and file structure assessment.

azure-ai-vision-imageanalysis-py

16
from diegosouzapw/awesome-omni-skill

Azure AI Vision Image Analysis SDK for captions, tags, objects, OCR, people detection, and smart cropping. Use for computer vision and image understanding tasks.

aws-cost-optimizer

16
from diegosouzapw/awesome-omni-skill

Comprehensive AWS cost analysis and optimization recommendations using AWS CLI and Cost Explorer

aws-cost-cleanup

16
from diegosouzapw/awesome-omni-skill

Automated cleanup of unused AWS resources to reduce costs

abaqus-modal-analysis

16
from diegosouzapw/awesome-omni-skill

Complete workflow for modal/frequency analysis - extract natural frequencies and mode shapes. Use for vibration analysis and resonance avoidance.

abaqus-dynamic-analysis

16
from diegosouzapw/awesome-omni-skill

Complete workflow for dynamic analysis. Use when user mentions impact, crash, drop test, transient, or time-varying response. Handles explicit and implicit dynamics.

stride-analysis-patterns

16
from diegosouzapw/awesome-omni-skill

Apply STRIDE methodology to systematically identify threats. Use when analyzing system security, conducting threat modeling sessions, or creating security documentation.

statistical-analysis-spa

16
from diegosouzapw/awesome-omni-skill

웹 기반 통계 분석 SPA 개발 스킬. 이상치 탐지(Outlier Detection)와 행별 통계 분석(Row Statistics)을 수행하는 React 애플리케이션 구현. Z-Score, IQR, MAD, Grubbs, Winsorize 이상치 탐지와 T-test, ANOVA 통계 분석 지원. Copy & Paste 또는 CSV/TXT 파일 드래그 앤 드롭으로 데이터 입력, Recharts를 활용한 시각화 기능 포함. 모든 데이터는 로컬에서만 처리되며 네트워크 전송 없음.

smiles_comprehensive_analysis

16
from diegosouzapw/awesome-omni-skill

SMILES Comprehensive Analysis - Comprehensive SMILES analysis: validate, convert name, compute all molecular descriptors, and predict ADMET. Use this skill for cheminformatics tasks involving is valid smiles ChemicalStructureAnalyzer calculate mol basic info pred molecule admet. Combines 4 tools from 3 SCP server(s).

root-cause-analysis

16
from diegosouzapw/awesome-omni-skill

Find the true source, not symptoms — systematic debugging from observation to permanent fix