acquire-codebase-knowl…
Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like "map this codebase", "document…
Analyze Azure resources used in the app (IaC files and/or resources in a target rg) and optimize costs - creating GitHub issues for identified optimizations.
$ npx -y skills add github/awesome-copilot --skill az-cost-optimize --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/az-cost-optimizeContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyze Azure resources used in the app (IaC files and/or resources in a target rg) and optimize costs - creating GitHub issues for identified optimizations.
name: az-cost-optimize description: 'Analyze Azure resources used in the app (IaC files and/or resources in a target rg) and optimize costs - creating GitHub issues for identified optimizations.'
This workflow analyzes Infrastructure-as-Code (IaC) files and Azure resources to generate cost optimization recommendations. It creates individual GitHub issues for each optimization opportunity plus one EPIC issue to coordinate implementation, enabling efficient tracking and execution of cost savings initiatives.
**Action**: Retrieve cost optimization best practices before analysis **Tools**: Azure MCP best practices tool **Process**: 1. **Load Best Practices**:
**Action**: Dynamically discover and analyze Azure resources and configurations **Tools**: Azure MCP tools + Azure CLI fallback + Local file system access **Process**: 1. **Resource Discovery**:
2. **IaC Detection**:
3. **Configuration Analysis**:
**Action**: Gather utilization data AND verify actual resource costs **Tools**: Azure MCP monitoring tools + Azure CLI **Process**: 1. **Find Monitoring Sources**:
2. **Execute Usage Queries**:
// CPU utilization for App Services AppServiceAppLogs | where TimeGenerated > ago(7d) | summarize avg(CpuTime) by Resource, bin(TimeGenerated, 1h) // Cosmos DB RU consumption AzureDiagnostics | where ResourceProvider == "MICROSOFT.DOCUMENTDB" | where TimeGenerated > ago(7d) | summarize avg(RequestCharge) by Resource // Storage account access patterns StorageBlobLogs | where TimeGenerated > ago(7d) | summarize RequestCount=count() by AccountName, bin(TimeGenerated, 1d)
3. **Calculate Baseline Metrics**:
4. **VALIDATE CURRENT COSTS**:
**Action**: Analyze resources to identify optimization opportunities **Tools**: Local analysis using collected data **Process**: 1. **Apply Optimization Patterns** based on resource types found:
**Compute Optimizations**:
**Database Optimizations**:
**Storage Optimizations**:
A community-created collection of custom agents, instructions, skills, hooks, workflows, and plugins to supercharge your GitHub Copilot experience.
Repo: github/awesome-copilot
Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like "map this codebase", "document…
Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html. Wraps `npx github:microsoft/agentrc…
Generate tailored AI agent instruction files via AgentRC instructions command. Produces .github/copilot-instructions.md (default, recommended for Copilot in VS…
Help the user pick, write, or apply an AgentRC policy. Policies customise readiness scoring by disabling irrelevant checks, overriding impact/level, setting…
Use this skill when the user shares ad campaign performance data and asks what to cut, scale, or test. Trigger for prompts like "analyze my ad campaigns",…
Add educational comments to the file specified, or prompt asking for file to comment if one is not provided.