[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CWNXWE2CYJZETE5EAKER7Y":3,"skill-same:01M6CWNXWE2CYJZETE5EAKER7Y":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":35,"commitSha":36,"skillDirectory":5,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":40,"install":41,"resources":54},"01M6CWNXWE2CYJZETE5EAKER7Y","cloud-cost-optimization",null,"Cloud spending reduction strategies","ffsshhttiikk\u002Fopencode-agents-skills","ffsshhttiikk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F226346827?v=4","01M6CWD9RR3Y7VRQX3MXYC8FYH","01M6CWD9WVPYAZW0J82G1VKGHY",3,"MIT","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fcloud-cost-optimization\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27],"cost optimization","cloud","Optimization","cost","cloud cost optimization","finance","devops","opencode","engineer","strategies","2026-11-10 10:12:30",false,"---\nname: cloud-cost-optimization\ndescription: Cloud spending reduction strategies\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  audience: devops-engineer, platform-engineer, finance\n  category: devops\n---\n\n## What I do\n\n- Analyze cloud spending patterns and identify waste\n- Implement cost optimization strategies across services\n- Design right-sizing policies for compute resources\n- Leverage reserved instances and savings plans\n- Implement auto-scaling and resource scheduling\n- Build cost allocation and showback models\n\n## When to use me\n\n- When cloud costs are higher than expected\n- When you need to optimize existing cloud usage\n- When planning new cloud deployments on a budget\n- When implementing FinOps practices\n- When needing visibility into cloud spending\n- When allocating costs to teams or projects\n\n## Key Concepts\n\n### Cost Analysis Queries\n\n```sql\n-- AWS Cost Explorer - Daily costs by service\nSELECT \n  line_item_usage_start_date,\n  line_item_product_code,\n  SUM(line_item_unblended_cost) as cost\nFROM aws_cost_and_usage\nWHERE line_item_usage_start_date \n  BETWEEN DATE_TRUNC('month', CURRENT_DATE) \n  AND CURRENT_DATE\nGROUP BY 1, 2\nORDER BY 3 DESC;\n```\n\n### Right-Sizing Recommendations\n\n```python\n# GCP Recommender API example\nfrom google.cloud import recommender_v1\n\nclient = recommender_v1.RecommenderClient()\nproject_id = \"my-project\"\n\n# Get idle resource recommendations\nrecommendations = client.list_recommendations(\n    parent=f\"projects\u002F{project_id}\u002Flocations\u002F-\u002Frecommenders\u002F\"\n           f\"google.compute.instance.IdleResourceRecommender\"\n)\n\nfor rec in recommendations:\n    print(f\"Recommendation: {rec.description}\")\n    print(f\"Potential savings: {rec.primary_impact.cost_forecast.amount}\")\n```\n\n### Cost Optimization Strategies\n\n| Category | Strategy | Potential Savings |\n|----------|----------|-------------------|\n| Compute | Right-sizing instances | 20-40% |\n| Compute | Reserved\u002FSavings Plans | 30-60% |\n| Storage | Lifecycle policies | 50-70% |\n| Data Transfer | CDN usage | 40-60% |\n| Database | Reserved instances | 30-50% |\n| Serverless | Pay-per-use optimization | 20-30% |\n\n### Resource Scheduling\n\n```yaml\n# Kubernetes pod scheduling for cost savings\napiVersion: scheduling.k8s.io\u002Fv1\nkind: PriorityClass\nmetadata:\n  name: low-priority\nvalue: -10\nglobalDefault: false\ndescription: \"Non-production workloads\"\n---\napiVersion: v1\nkind: Pod\nmetadata:\n  name: batch-job\nspec:\n  priorityClassName: low-priority\n  tolerations:\n    - key: \"spot\"\n      operator: \"Equal\"\n      value: \"true\"\n      effect: \"NoSchedule\"\n```\n\n### Budget Alerts\n\n```hcl\n# Terraform AWS Budgets\nresource \"aws_budgets_budget\" \"monthly\" {\n  name         = \"monthly-cost-budget\"\n  budget_type  = \"COST\"\n  limit_amount = \"5000\"\n  limit_unit   = \"USD\"\n  time_period_start = \"2024-01-01\"\n  time_unit    = \"MONTHLY\"\n\n  notification {\n    comparison_operator = \"GREATER_THAN\"\n    threshold          = 80\n    threshold_type     = \"PERCENTAGE\"\n    notification_type  = \"FORECASTED\"\n  }\n}\n```\n\n### FinOps Framework\n\n1. **Inform**: Provide cost visibility to teams\n2. **Optimize**: Act on optimization opportunities\n3. **Operate**: Maintain cost efficiency over time\n4. **Govern**: Establish policies and guardrails\n\n### Key Metrics\n\n- Cost per user or transaction\n- Cost per environment (dev, staging, prod)\n- Idle resource percentage\n- Savings plan coverage\n- Resource utilization rates\n- Cloud waste percentage\n","## What I do\n\n- Analyze cloud spending patterns and identify waste\n- Implement cost optimization strategies across services\n- Design right-sizing policies for compute resources\n- Leverage reserved instances and savings plans\n- Implement auto-scaling and resource scheduling\n- Build cost allocation and showback models\n\n## When to use me\n\n- When cloud costs are higher than expected\n- When you need to optimize existing cloud usage\n- When planning new cloud deployments on a budget\n- When implementing FinOps practices\n- When needing visibility into cloud spending\n- When allocating costs to teams or projects\n\n## Key Concepts\n\n### Cost Analysis Queries\n\n```sql\n-- AWS Cost Explorer - Daily costs by service\nSELECT \n  line_item_usage_start_date,\n  line_item_product_code,\n  SUM(line_item_unblended_cost) as cost\nFROM aws_cost_and_usage\nWHERE line_item_usage_start_date \n  BETWEEN DATE_TRUNC('month', CURRENT_DATE) \n  AND CURRENT_DATE\nGROUP BY 1, 2\nORDER BY 3 DESC;\n```\n\n### Right-Sizing Recommendations\n\n```python\n# GCP Recommender API example\nfrom google.cloud import recommender_v1\n\nclient = recommender_v1.RecommenderClient()\nproject_id = \"my-project\"\n\n# Get idle resource recommendations\nrecommendations = client.list_recommendations(\n    parent=f\"projects\u002F{project_id}\u002Flocations\u002F-\u002Frecommenders\u002F\"\n           f\"google.compute.instance.IdleResourceRecommender\"\n)\n\nfor rec in recommendations:\n    print(f\"Recommendation: {rec.description}\")\n    print(f\"Potential savings: {rec.primary_impact.cost_forecast.amount}\")\n```\n\n### Cost Optimization Strategies\n\n| Category | Strategy | Potential Savings |\n|----------|----------|-------------------|\n| Compute | Right-sizing instances | 20-40% |\n| Compute | Reserved\u002FSavings Plans | 30-60% |\n| Storage | Lifecycle policies | 50-70% |\n| Data Transfer | CDN usage | 40-60% |\n| Database | Reserved instances | 30-50% |\n| Serverless | Pay-per-use optimization | 20-30% |\n\n### Resource Scheduling\n\n```yaml\n# Kubernetes pod scheduling for cost savings\napiVersion: scheduling.k8s.io\u002Fv1\nkind: PriorityClass\nmetadata:\n  name: low-priority\nvalue: -10\nglobalDefault: false\ndescription: \"Non-production workloads\"\n---\napiVersion: v1\nkind: Pod\nmetadata:\n  name: batch-job\nspec:\n  priorityClassName: low-priority\n  tolerations:\n    - key: \"spot\"\n      operator: \"Equal\"\n      value: \"true\"\n      effect: \"NoSchedule\"\n```\n\n### Budget Alerts\n\n```hcl\n# Terraform AWS Budgets\nresource \"aws_budgets_budget\" \"monthly\" {\n  name         = \"monthly-cost-budget\"\n  budget_type  = \"COST\"\n  limit_amount = \"5000\"\n  limit_unit   = \"USD\"\n  time_period_start = \"2024-01-01\"\n  time_unit    = \"MONTHLY\"\n\n  notification {\n    comparison_operator = \"GREATER_THAN\"\n    threshold          = 80\n    threshold_type     = \"PERCENTAGE\"\n    notification_type  = \"FORECASTED\"\n  }\n}\n```\n\n### FinOps Framework\n\n1. **Inform**: Provide cost visibility to teams\n2. **Optimize**: Act on optimization opportunities\n3. **Operate**: Maintain cost efficiency over time\n4. **Govern**: Establish policies and guardrails\n\n### Key Metrics\n\n- Cost per user or transaction\n- Cost per environment (dev, staging, prod)\n- Idle resource percentage\n- Savings plan coverage\n- Resource utilization rates\n- Cloud waste percentage\n",{"name":5,"license":14,"metadata":33,"description":7,"compatibility":25},{"audience":34,"category":24},"devops-engineer, platform-engineer, finance","main","5f7a3e453c98261f93d19a6a7de44ad8f7b72d41",2,"https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk","2026-03-01 06:55:40",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill cloud-cost-optimization",{"tool":47,"command":48},"bunx","bunx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill cloud-cost-optimization",{"tool":50,"command":51},"pnpm","pnpm dlx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill cloud-cost-optimization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fcloud-cost-optimization\u002FSKILL.md",true,[],[56,67,77,86,96,105],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":28},"01M6CXT9TXDF79BWJTMQAPB49G","xamarin","Xamarin cross-platform development","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fxamarin\u002FSKILL.md",[],[58,63,64,65,25,66],"platform","cross-platform","mobile","development",{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":28},"01M6CXT8AD04MFYDA32VW3FKAG","wrangling","Data wrangling fundamentals","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwrangling\u002FSKILL.md",[],[69,74,25,75,76],"data wrangling","science","data",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":28},"01M6CXT717GCN7SRRNPBDP4508","windows","Windows operating system administration and scripting","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwindows\u002FSKILL.md",[],[79,84,25,85],"system","scripting",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":28},"01M6CXT54K794NMEM3XAPZZDKT","wide-column","Wide-column data model","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column\u002FSKILL.md",[],[93,94,25,95,76],"wide column","databases","model",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":28},"01M6CXT28FMT2P4V9GZE67WA8E","wide-column-stores","Wide-column database stores","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column-stores\u002FSKILL.md",[],[103,94,25,104],"wide column stores","database",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":28},"01M6CXT0D0M0Q4T2N7C2RX7DSN","websockets","WebSocket implementation and best practices","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwebsockets\u002FSKILL.md",[],[107,112,113,114,25,115,116],"websocket","real-time","time","best practices","implementation"]