Logo van Finops Intelligence

Finops Intelligence

Community
ricmmartins
finops-intelligence

Comprehensive FinOps analysis combining cost optimization, waste identification, and chargeback reporting. Use when asked about reducing Azure spend, finding unused resources, cost per team, chargeback, showback, cost anomalies, rightsizing, or monthly cost review.

Overzicht

Uitgeverricmmartins
Repositoryazure-sre-agent-skills
Skillnaamfinops-intelligence
Sterren
70
Forks
14
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door ricmmartins op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Finops Intelligence in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/ricmmartins/azure-sre-agent-skills/tree/main/skills/04-finops-intelligence
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ricmmartins/azure-sre-agent-skills.git /tmp/azure-sre-agent-skills
mkdir -p .claude/skills
cp -r /tmp/azure-sre-agent-skills/skills/04-finops-intelligence .claude/skills/finops-intelligence
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Finops Intelligence in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Finops Intelligence automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Finops Intelligence niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

FinOps Intelligence

Purpose

Unified cost intelligence skill that identifies savings opportunities, tracks cost trends, and generates chargeback/showback reports by team or project. Answers both "where can we save?" and "who spent what?"

When to use this skill

  • User asks "why did our bill go up?"
  • User asks for cost optimization or savings opportunities
  • User asks "how much did team X spend this month?"
  • User asks for chargeback, showback, or cost allocation report
  • Monthly proactive cost review or FinOps cadence

Pre-check

Confirm with the user:

  • Scope: Which subscriptions to scan (all or specific ones)
  • Time range: For trend analysis (default: last 3 months)
  • Allocation model (for chargeback): Which tag to use for cost splitting?
    • cost-center tag (most common)
    • owner or team tag
    • application or project tag
    • Resource group naming convention (e.g., rg-teamname-*)
  • Exclusions: Dev/test subscriptions, sandbox resource groups

Analysis procedure

Step 1: Cost trend overview

Get the big picture using Azure Cost Management.

bash
# Current month cost by service (last 30 days)
az costmanagement query --type ActualCost --timeframe MonthToDate \
  --scope "subscriptions/<sub-id>" \
  --dataset-aggregation '{"totalCost":{"name":"Cost","function":"Sum"}}' \
  --dataset-grouping name="ServiceName" type="Dimension" \
  -o table
bash
# Previous month for comparison
az costmanagement query --type ActualCost --timeframe TheLastMonth \
  --scope "subscriptions/<sub-id>" \
  --dataset-aggregation '{"totalCost":{"name":"Cost","function":"Sum"}}' \
  --dataset-grouping name="ServiceName" type="Dimension" \
  -o table

If az costmanagement is unavailable, use the REST API:

bash
az rest --method post \
  --url "https://management.azure.com/subscriptions/<sub-id>/providers/Microsoft.CostManagement/query?api-version=2023-11-01" \
  --body '{"type":"ActualCost","timeframe":"MonthToDate","dataset":{"aggregation":{"totalCost":{"name":"Cost","function":"Sum"}},"grouping":[{"type":"Dimension","name":"ServiceName"}]}}'

Summarize:

  • Total spend this month vs. last month (% change)
  • Top 5 services by spend
  • Top 5 resource groups by spend
  • Any spending anomalies (day-over-day spikes > 20%)

Step 2: Orphaned resources (waste)

Find resources consuming cost with no active use.

CheckCommandSavings signal
Unattached managed disksaz disk list --query "[?managedBy==null]"Disk cost per month
Unused public IPsaz network public-ip list --query "[?ipConfiguration==null]"~$3.65/month each
Stopped but allocated VMsaz vm list -d --query "[?powerState=='VM deallocated']"Disk + IP cost still billed
Unused App Service plansaz appservice plan list --query "[?numberOfSites==0]" --resource-group <rg>Full plan cost
Old snapshots (>90 days)az snapshot list --query "[?timeCreated<'$(date -u -d '90 days ago' +%Y-%m-%dT%H:%M:%SZ)']"Storage cost
Unused NAT Gatewaysaz network nat gateway list cross-ref with subnets~$32/month each
Empty resource groupsaz group list then check member countOrganizational waste

Note on date handling: Use shell variable substitution for date comparisons:

  • Linux/macOS: $(date -u -d '90 days ago' +%Y-%m-%dT%H:%M:%SZ)
  • The SRE Agent sandbox runs Linux, so the above syntax is valid.

Step 3: Rightsizing opportunities

Identify over-provisioned resources.

  1. VMs with low CPU (< 5% avg over 14 days): Query Azure Monitor metrics for Percentage CPU across all VMs
  2. VMs with low memory (< 10% avg): Query Log Analytics for memory counters if available
  3. Over-provisioned App Service plans: Check CPU and memory % across the plan — if consistently < 20%, suggest downgrade
  4. Over-provisioned databases: Check DTU/vCore utilization — if < 20%, suggest lower tier

For each, calculate:

  • Current SKU and monthly cost
  • Recommended SKU and monthly cost
  • Estimated monthly savings

Step 4: Reservation & savings plan opportunities

  1. List VMs running 24/7 for > 30 days — candidates for Reserved Instances (up to 72% savings)
  2. List databases running 24/7 — candidates for reserved capacity
  3. Check if Azure Savings Plans could apply to compute spend

Step 5: Storage optimization

  1. Check storage accounts for access tier usage:
    bash
    az storage account list --query "[].{name:name, accessTier:accessTier, kind:kind}" -o table
  2. Identify blobs that haven't been accessed in 90+ days — candidates for Cool/Archive tier
  3. Check for lifecycle management policies — suggest if missing
  4. Check for redundancy over-provisioning (GRS when LRS would suffice for non-critical data)

Step 6: Cost allocation (chargeback/showback)

Group costs by the user's chosen allocation model.

By tag (preferred):

  • Group all resources by the chosen tag value
  • Aggregate costs per tag value
  • Track untagged resources separately as "Unallocated"

By resource group (fallback):

  • Parse resource group names for team/project identifiers
  • Group and aggregate accordingly

Shared costs (identify and handle):

  • Resources used by multiple teams (e.g., shared AKS cluster, shared networking)
  • Flag these separately — suggest allocation keys (even split, usage-based, or headcount-based)

For each team/project:

  • This period vs. previous period: $ change and % change
  • Top cost driver (which service drove the change?)
  • Flag anomalies (> 30% increase without known cause)

Step 7: Efficiency metrics

Calculate per-team efficiency indicators:

  • Cost per resource: Total spend / number of resources
  • Compute waste ratio: Cost of idle/underutilized resources / total compute cost
  • Tag compliance: % of team's resources properly tagged

Accepted exceptions (optional)

If the user provides a list of accepted exceptions, do not flag those items. Instead, note them in the report as Accepted Exception with the reason provided.

Example format the user may provide:

CheckReason
2.1 Unattached managed disksKept for disaster recovery snapshots, reviewed monthly
3.2 Over-provisioned App Service plansPre-scaled for upcoming product launch next week
4.1 Reserved instancesShort-term project, reservations not cost-effective

When exceptions are provided:

  • Skip the flagged checks in scoring
  • List them in a separate "Accepted Exceptions" section at the end of the report
  • Recalculate the overall score excluding excepted checks

Expected output

Report header (mandatory — use this exact format)

FinOps Cost Optimization & Chargeback Report

FieldValue
Subscription(name + ID)
Report DateYYYY-MM-DD
Total Spend (MTD)$X,XXX
Projected Full Month$X,XXX
Month-over-month Change+/-$X (+/-X%)
Waste Identified (recoverable)~$X/month
Resource Groups TrackedN (M with spend)
Tag ComplianceX%
Issues FoundX Critical, Y High, Z Medium

Savings breakdown table

CategoryFindingCurrent Cost/moSavings/moPriorityAction
Orphaned3 unattached disks$45$45HighDelete or snapshot+delete
Rightsizing2 VMs at < 5% CPU$380$190HighResize D4s_v5 → B2ms
Reservations5 VMs running 24/7$1,200$864Medium3yr RI
StorageNo lifecycle policies$200$80MediumAdd cool tier policy
TOTAL RECOVERABLE——~$X,XXX/mo——

Cost allocation table

Team / ProjectThis PeriodLast PeriodChange% ChangeTop Service% of Total
Platform$5,200$4,800+$400+8.3%Compute32%
Product API$3,800$3,100+$700+22.6% ⚠️Databases24%
Unallocated$1,300$800+$500+62.5% 🔴Mixed8%
Total$16,000$14,300+$1,700+11.9%100%

Quick wins (implement today)

Top 3 actions that save the most with the least effort.

Requires planning

Actions that need architecture review or stakeholder approval.

Unallocated cost remediation

List untagged resources with suggested owner and tagging command:

bash
az resource tag --ids <resource-id> --tags team=<team> cost-center=<cc>

Remediation guidance

For each cost finding, include in the output:

  1. The specific az CLI command to remediate (suggest only — do not execute)
  2. Use GetAzCliHelp to validate the command syntax before suggesting
  3. The official Microsoft Learn documentation link

References

Sample output

The following is a redacted example of what the report looks like when run against a subscription.

FinOps Cost Optimization & Chargeback Report

FieldValue
Subscriptioncontoso-prod-001 (a1b2c3d4-e5f6-7890-abcd-ef1234567890)
Report Date2026-07-15
Total Spend (MTD)$12,340
Projected Full Month$16,450
Month-over-month Change+$1,700 (+11.5%)
Waste Identified (recoverable)~$1,179/month
Resource Groups Tracked14 (12 with spend)
Tag Compliance78%
Issues Found2 Critical, 3 High, 4 Medium

Savings breakdown table

CategoryFindingCurrent Cost/moSavings/moPriorityAction
Orphaned3 unattached disks in rg-app-prod$45$45HighDelete or snapshot+delete
Orphaned2 unused public IPs$7$7MediumDelete
Rightsizingvm-batch-01 at 3% CPU avg$380$190HighResize D4s_v5 → B2ms
Rightsizingsql-staging at 8% DTU$250$125MediumDowngrade S3 → S1
Reservations5 VMs running 24/7 for 90+ days$1,200$864Medium3yr RI
TOTAL RECOVERABLE——~$1,179/mo——

Cost allocation table

Team / ProjectThis PeriodLast PeriodChange% ChangeTop Service% of Total
Platform$5,200$4,800+$400+8.3%Compute32%
Product API$3,800$3,100+$700+22.6% ⚠️Databases24%
Data Team$2,700$2,600+$100+3.8%Storage17%
Unallocated$1,300$800+$500+62.5% 🔴Mixed8%
Total$16,450$14,750+$1,700+11.5%100%

Remediation guidance (sample)

bash
# Delete unattached managed disks
az disk delete --name disk-old-backup-01 --resource-group rg-app-prod --yes

# Resize over-provisioned VM
az vm resize --name vm-batch-01 --resource-group rg-batch-prod --size Standard_B2ms

# Tag unallocated resources
az resource tag --ids /subscriptions/.../resourceGroups/rg-shared/providers/Microsoft.Storage/storageAccounts/stcontososhared --tags team=platform cost-center=CC-1234

Veelgestelde vragen

Wat doet de AI-skill Finops Intelligence?

Comprehensive FinOps analysis combining cost optimization, waste identification, and chargeback reporting. Use when asked about reducing Azure spend, finding unused resources, cost per team, chargeback, showback, cost anomalies, rightsizing, or monthly cost review.

Waarom Finops Intelligence gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Finops Intelligence bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Finops Intelligence in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/ricmmartins/azure-sre-agent-skills/tree/main/skills/04-finops-intelligence. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Finops Intelligence gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Finops Intelligence gebruiken?

Zoveel als je wilt. Je kunt Finops Intelligence gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Finops Intelligence gratis?

Ja. Deze skill is door ricmmartins op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇