finops-multitool
Skill633 starsChanged 3 months agoMITView on GitHub
This skill should be used when the user asks to "scan for cost savings", "find orphaned resources", "find idle VMs", "check Azure Hybrid Benefit", "review tags", "tag coverage", "tag recommendations", "policy coverage", "cost by tag", "cost trend", "top resources by cost", "reservation recommendations", "commitment utilization", "realized savings", "budget status", "cost anomaly alerts", "Advisor cost recommendations", "billing structure", "contract info", or run a "FinOps assessment", "FinOps scan", or "cost optimization scan". Also use it proactively whenever the conversation turns to Azure cost, waste, savings, governance, or FinOps health and live data would answer the question better than a general explanation.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- src/templates/finops-hub-copilot/copilot-instructions.mdCopilot instructions
- microsoft-writing-style-guideSkill
- support-reportSkill
- support-sweepSkill
- finops-toolkitSkill
- anomaly-investigationSkill
- azure-policy-governanceSkill
- azure-workbooks-finopsSkill
- cost-allocationSkill
- cost-data-sourceSkill
- finops-reportingSkill
- focus-data-qualitySkill
- forecasting-budgetingSkill
- power-bi-finopsSkill
- rate-optimization-portfolioSkill
- sustainability-carbonSkill
- unit-economicsSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Prefer the direct path for a single question.
- Very specific: line 77
Low tag coverage is usually a naming problem: Before reporting a coverage percentage, check for casing and separator variants of the same …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
FinOps multitool
This is the routing hub for FinOps investigations. It answers "what should I look at next" rather than "how do I call this API" - it decides which investigation fits the question, tells you how to gather the data, warns you where the raw numbers mislead, and hands off to the skill that turns a finding into a decision.
Two ways to gather the data:
- Interactively -
Start-FinOpsMultitoollaunches a terminal UI with 26 selectable read-only scans, renders the results, and exports them. Four additional investigations are available as direct functions. Best when a person wants the full picture. - Directly - query Azure Resource Graph, Cost Management, Advisor, Monitor, or a FinOps hub yourself with
azor an Azure MCP server. Best when answering one question inside a conversation. This skill carries the queries and the interpretation rules.
Prefer the direct path for a single question. Suggest the terminal UI when the user wants a full assessment.
Always confirm scope first
Findings are worthless if they came from the wrong tenant. Before reporting anything:
az account show --query "{tenant:tenantId, subscription:name, id:id}" -o json
az account list --query "length(@)" -o tsvMany accounts can see several tenants and hundreds of subscriptions while queries run against only the active one. State the tenant and subscription you scanned, and confirm it's the intended scope before the user acts on the numbers.
Scope every query explicitly when the user only cares about one subscription. An unscoped tenant-wide scan across hundreds of subscriptions is slow and usually not what was asked for.
Investigation routing
| Question | Investigation | Where the detail lives |
| Where am I wasting money? | Orphaned resources, then idle VMs | references/waste-detection.md |
| Are stopped VMs still costing me? | Orphaned resources | references/waste-detection.md |
| Should I move storage to a cooler tier? | Storage tier analysis | references/waste-detection.md |
| Am I paying for Windows/SQL licenses twice? | Azure Hybrid Benefit eligibility | references/waste-detection.md |
| What's our tag coverage? | Tag inventory, then tag quality | references/tags-and-policy.md |
| Are we governed? What guardrails are missing? | Policy inventory, then coverage gaps | references/tags-and-policy.md |
| Should we buy reservations or savings plans? | Purchase recommendations | references/commitments.md |
| Are we using what we already bought? | Commitment utilization | references/commitments.md |
| What have commitments actually saved us? | Realized savings | references/commitments.md |
| How is our MACC tracking? | Consumption commitment burn-down | references/commitments.md |
| What are we spending? What's the forecast? | Cost summary and trend | references/cost-analysis.md |
| Which resources cost the most? | Resource cost ranking | references/cost-analysis.md |
| Split cost by team / app / cost center | Cost by tag | references/cost-analysis.md |
| What does one VM really cost? | VM cost including disks and IP | references/additional-investigations.md |
| What are we paying per vCPU or per GB? | Unit economics | references/additional-investigations.md |
| What are we spending on Azure OpenAI? | AI workload cost per 1K tokens | references/additional-investigations.md |
| Are we running retiring SKUs? | Legacy resources | references/additional-investigations.md |
| Was the budget ever realistic? | Budget history | references/additional-investigations.md |
| What does the tenant hierarchy look like? | Management group structure | references/additional-investigations.md |
| Split shared hub or platform cost | Shared and telemetry-keyed splitting | references/allocation.md |
| Why did cost spike? | Anomaly root cause | anomaly-investigation skill |
| Are we on budget? | Budget status | forecasting-budgeting skill |
| Advisor cost recommendations | Advisor query | references/commitments.md |
| Design a showback or chargeback model | Allocation modelling | cost-allocation skill |
| What's our carbon footprint? | Emissions and waste co-benefit | sustainability-carbon skill |
The reference pages carry the API calls, the sequencing, and the interpretation rules together.
Interpreting common results
This is the part raw API output gets wrong. Apply these before reporting a number.
- Deallocated VMs are still costing money. Compute stops billing when a VM is deallocated, but attached managed disks and static public IPs keep billing. A "stopped" VM is a finding, not a resolved item. Report the disk and IP cost, and recommend deleting if the VM is genuinely unused.
- Advisor repeats recommendations. Collapse duplicate generations only when the assessed resource ID, recommendation type, and all purchase options and monetary fields match. Keep distinct targets and alternative terms or scopes separate. A recommendation's root ID is not its assessed resource ID. Don't sum overlapping alternatives. See references/commitments.md.
- Cost by tag returns nothing although resources are tagged. Two usual causes: the tags are on resource groups or subscriptions, which reach usage records only when tag inheritance is enabled in Cost Management, or the tags are newer than the usage, because tags aren't applied to historical usage and can take up to 24 hours to appear. Confirm the tag is applied to the resources that incur the cost, then recommend tag inheritance when the allocation tags live higher up.
- Empty cost results early in the month. Cost Management data lags by a day or more. Say so rather than reporting "$0".
- Azure Hybrid Benefit uses a different marker per resource type.
Windows_Serveron Windows VMs,AHUBon SQL Server VMs,BasePriceon SQL Database and Managed Instance. Checking only the first will miss most of the estate and overstate the opportunity. - Low tag coverage is usually a naming problem. Before reporting a coverage percentage, check for casing and separator variants of the same tag (
managed_byvsmanagedByvsManagedBy). They fragment coverage and each looks like a distinct tag.
Reading results
- Lead with the headline number - count, total savings, coverage percentage.
- Group findings by impact when the data supports it.
- Translate inventory into action: "3 deallocated VMs, disks still billing, delete if unused" beats "3 deallocated VMs".
- Surface the cost driver, not just the resource list.
- Name the scope you scanned every time.
Acting on findings
Nothing here changes Azure, and neither does the terminal UI. Every investigation ends in a recommendation, not an action.
Name the specific change, explain what it saves and what it risks, and give the user the command or portal path to apply it. Check for a dependency before recommending a deletion - an unattached disk can be a deliberate spare, and a snapshot is sometimes the backup.
FinOps skill ecosystem
Once an investigation surfaces a finding, hand off to the skill that turns it into a decision, a design, or an artifact:
| After finding | Hand off to | For |
| Any spend question against a large environment | cost-data-source | Choose the FinOps hub Kusto path over the live API, chunk large tenants |
| Tag coverage or cost-by-tag results | cost-allocation | Showback/chargeback model, shared-cost splitting, tag strategy |
| Tag or policy gaps | azure-policy-governance | Enforce tags, regions, and SKUs via Azure Policy |
| Policy inventory results | azure-workbooks-finops | Live in-portal governance and optimization workbooks |
| Cost trend or resource cost data | power-bi-finops | Dashboards and visuals |
| Realized savings or utilization | unit-economics | Effective savings rate, cost per unit, coverage KPIs |
| Reservation or Hybrid Benefit opportunities | rate-optimization-portfolio | Portfolio mix and purchase planning |
| Budget status | forecasting-budgeting | Forecasts, budget design, variance analysis |
| A cost spike | anomaly-investigation | Root-cause down to the resource and change |
| Waste findings | sustainability-carbon | Carbon co-benefit of removing waste |
| Deep KQL against a FinOps hub | finops-toolkit | Kusto analytics on the hub database |
| Cost data looks wrong or incomplete | focus-data-quality | FOCUS conformance, completeness, mapping |
| A finding the user wants written up | finops-reporting | Executive summaries, QBRs, variance narratives |
Gather the data first so the numbers are real, then route. Don't answer governance, allocation, or reporting questions abstractly when a query can show the actual state.
Prerequisites
- Azure authentication:
az login, orConnect-AzAccountwhen using the terminal UI. - Reader on the target scope for resource and policy investigations.
- Cost Management Reader for cost, budget, and anomaly investigations.
- Billing Reader, or Enterprise Administrator (reader) on an Enterprise Agreement, for billing account, contract, and MACC investigations.
- Carbon Optimization Reader for emissions data, assigned at the subscription. Reader works too, but only at subscription scope - carbon permissions don't apply at resource group or resource level.
- The terminal UI additionally needs the
FinOpsToolkitPowerShell module and theAz.Accounts,Az.ResourceGraph, andAz.Storagemodules.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

