ditto190/crispy-nextjs-turborepo-monorepo/cost-optimization-cloud

Claude Code and agent skill by ditto190/crispy-nextjs-turborepo-monorepo

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Imported TRAE skill from devops/Cost_Optimization_Cloud.md

Install

npx vskill@latest install ditto190/crispy-nextjs-turborepo-monorepo/cost-optimization-cloud

SKILL.md

The same SKILL.md was published earlier as ditto190/crispy-nextjs-turborepo-monorepo/cost-optimization-cloud.

Skill: Cost Optimization (AWS/Cloud)

Purpose

To reduce cloud infrastructure costs.

When to Use

  • Spot instances, rightsizing, and budgeting.
  • When the specific requirement for Cost Optimization (AWS/Cloud) arises in the project.

Procedure

1. Rightsizing Instances

Analyze CPU/Memory utilization and downsize over-provisioned resources.

  • Use AWS Compute Optimizer or Azure Advisor to find underutilized instances.
  • Switch to modern instance families (e.g., AWS Graviton/t4g) for better price-performance.
2. Leveraging Spot Instances

Use Spot instances for non-critical, fault-tolerant workloads (CI/CD workers, batch processing).

hcl
# Terraform example for Spot Instance
resource "aws_instance" "worker" {
ami = "ami-12345678"
instance_type = "c5.large"
instance_market_options {
market_type = "spot"
spot_options {
max_price = "0.05"
}
}
}
3. Implementing Auto-Scaling

Ensure infrastructure scales down during low-traffic periods (nights/weekends).

  • Set min_size to the lowest possible for non-prod environments.
  • Use Scheduled Scaling for predictable traffic patterns.
4. Storage Optimization
  • Cleanup: Delete unattached EBS volumes and old S3 versions.
  • Lifecycle Policies: Move old data to cheaper storage tiers (e.g., S3 Intelligent-Tiering or Glacier).
hcl
# S3 Lifecycle Rule
resource "aws_s3_bucket_lifecycle_configuration" "example" {
bucket = aws_s3_bucket.data.id
rule {
id = "archive_old_logs"
status = "Enabled"
transition {
days = 30
storage_class = "STANDARD_IA"
}
transition {
days = 90
storage_class = "GLACIER"
}
}
}

Constraints

  • Performance Trade-offs: Rightsizing too aggressively can lead to performance bottlenecks during peaks.
  • Spot Interruptions: Always have a fallback strategy for Spot instances (e.g., mixing with On-Demand in an Auto Scaling Group).
  • Data Retention: Ensure lifecycle policies comply with legal/compliance data retention requirements.

Expected Output

A measurable reduction in monthly cloud spend (aim for 20-30%) without compromising application stability.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ditto190/crispy-nextjs-turborepo-monorepo/cost-optimization-cloud/badge)](https://verified-skill.com/skills/ditto190/crispy-nextjs-turborepo-monorepo/cost-optimization-cloud)

Something wrong with this skill or its page? Tell us.