microsoft/skills/cost-analysis
Claude Code and agent skill by microsoft/skills
- vendor
Checking that the SKILL.md file is still in the repository.
Analyze actual Azure spend, bill changes, and AKS or AI costs. WHEN: \"Azure cost breakdown\", \"most expensive resources\", \"why did my bill increase\", \"cost spike\", \"unexpected charge\", \"Cosmos DB charges\", \"Foundry model costs\", \"AKS cluster cost\", \"namespace cost\", \"enable AKS cost analysis\", \"idle AKS capacity\". DO NOT USE FOR: forecasts, pricing estimates, rightsizing, commitments, or budgets.
Install
npx vskill@latest install microsoft/skills/cost-analysisSKILL.md
The same SKILL.md was published earlier as microsoft/skills/cost-analysis.
Azure Cost Analysis
Quick Reference
| Intent | Workflow | Primary tools | |
|---|---|---|---|
| Query historical spend | Cost query | query_costs | |
| Explain a spike | Cost investigation | query_costs, Resource Graph | |
| Analyze AKS spend | AKS cost analysis | query_aks_costs, Resource Graph | |
| Analyze AI service spend | AI cost analysis | query_costs |
When to Use This Skill
Use for spend, anomalies, and AKS or AI allocation.
MCP Tools
Use cost tools and Resource Graph first. If an operation is unavailable, follow fallback and safety.
Workflow
- Confirm scope, period, currency, and breakdown.
- Load only the matching workflow above.
- Never transform MCP results in a shell or interpreter; request tool-side
totals, grouping, sorting, or bounded follow-up queries.
- Respect row limits and label incomplete data.
- Separate measured cost from inferred causes and recommendations.
Error Handling
| Error | Action | |
|---|---|---|
| Access denied | Name the required scope and role. | |
| Empty result | Distinguish no data from unavailable data. | |
| Multiple currencies | Report each currency separately. | |
| Server error | Retry once; then stop with the trace ID. |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 5 Nov 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/plugins/azure-cost/skills/cost-analysis/SKILL.md
Popularity
- Repository stars
- 3,070
- Repository forks
- 352
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. 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
[](https://verified-skill.com/skills/microsoft/skills/cost-analysis)