Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Analyze Azure subscriptions to find cost savings via orphaned resources, rightsizing, and usage data
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
cost-optimization/report-template.md
1# Cost Optimization Report Template23Use `create_file` with path `output/costoptimizereport<YYYYMMDD_HHMMSS>.md` and the following structure:45```markdown6# Azure Cost Optimization Report7**Generated**: <timestamp>89## Executive Summary10- Total Monthly Cost: $X (ACTUAL DATA from Cost Management API)11- Top Cost Drivers: [List top 3 services with costs]12- Potential Savings: $Y/month1314## Cost Breakdown by Service15| Service | Cost (USD) | % of Total |16|---------|-----------|------------|17| ... | ... | ... |18| **Total** | **$X** | **100%** |1920## Free Tier Analysis21[Resources operating within free tiers]2223## Orphaned Resources (Immediate Savings)24[From azqr — resources that can be deleted immediately]2526## Optimization Recommendations2728### Priority 1: High Impact, Low Risk29- ACTUAL cost: $X/month30- ESTIMATED savings: $Y/month31- Commands to execute3233### Priority 2: Medium Impact, Medium Risk34- ACTUAL baseline, ACTUAL metrics, VALIDATED pricing35- ESTIMATED savings with commands3637### Priority 3: Long-term Optimization38[Reserved Instances, Storage tiering]3940## Total Estimated Savings41- Monthly: $X | Annual: $Y4243## Implementation Commands44[Safe commands with approval warnings]4546## Validation Appendix47- Cost Query Results: `output/cost-query-result<timestamp>.json`48- Pricing Sources: [Links]49```5051## Portal Link Format5253Include Azure Portal links for all resources using this format:5455```text56https://portal.azure.com/#@<TENANT_ID>/resource/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP>/providers/<RESOURCE_PROVIDER>/<RESOURCE_TYPE>/<RESOURCE_NAME>/overview57```5859## Audit Trail6061Save cost query results to `output/cost-query-result<YYYYMMDD_HHMMSS>.json` for reproducibility.6263## Cleanup6465After generating the report, remove temporary files:6667```powershell68Remove-Item -Path "temp" -Recurse -Force -ErrorAction SilentlyContinue69```70