agentleFS
MicrosoftKnown publishermicrosoft/finops-toolkit/src/templates/agent-skills/focus-data-quality/SKILL.md

focus-data-quality

Skill633 starsChanged 3 months agoMITView on GitHub

Use when the user works with FOCUS cost data — validating FOCUS conformance, mapping native Azure cost exports to FOCUS columns, checking dataset completeness/freshness, or troubleshooting ingestion gaps that make cost analysis wrong. FOCUS is the FinOps Open Cost and Usage Specification.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are 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.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use it when the user mentions FOCUS, cost exports, column mapping, ingestion gaps, "the numbers look wrong/incomplete," or data freshness.

    line 17

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

FOCUS data quality

Good FinOps analysis depends on good data. FOCUS (FinOps Open Cost and Usage Specification) is the open standard that normalizes cost and usage across providers. This skill validates that the FOCUS data feeding everything else is complete, conformant, and trustworthy.

When to use this skill

Use it when the user mentions FOCUS, cost exports, column mapping, ingestion gaps, "the numbers look wrong/incomplete," or data freshness. If a downstream skill (Power BI, reporting, allocation) produces suspicious results, suspect data quality and come here first.

What FOCUS gives you

A common schema so the same query works across providers and over time. Key columns the toolkit and queries rely on:

ColumnMeaning
BilledCostWhat the invoice charges for the period
EffectiveCostAmortized cost (commitments spread over their term)
ListCostCost at public list price (the savings baseline)
ContractedCostCost at negotiated/contracted price
ChargeCategoryUsage / Purchase / Tax / Credit / Adjustment
ServiceName, ResourceName, Region, TagsDimensions for grouping/allocation

Reference: https://learn.microsoft.com/cloud-computing/finops/focus/what-is-focus

Conformance checks

  1. Schema — required FOCUS columns present and correctly typed; x_ columns are toolkit enrichments, not FOCUS itself.
  2. Cost relationships — sanity-check ListCost ≥ ContractedCost ≥ EffectiveCost in aggregate; large violations signal a mapping error.
  3. Charge categories — Usage dominates; Purchase rows appear when commitments are bought; Credits net negative. Missing categories = partial export.

Completeness and freshness

CheckBad signCause
Date coverageGaps or missing recent daysExport schedule broken or lagging (Azure cost data lags ~1–3 days)
Scope coverageA subscription/account missingExport scope too narrow, or RBAC on the export
Row counts vs prior periodSudden dropFailed export run or partial ingestion
Total vs portalMaterial mismatchBilled-vs-effective confusion, missing scope, or currency mix
Tag dimension emptyTags blank in cost dataTags are on resource groups or subscriptions without tag inheritance, are newer than the usage, or the resource type doesn't include tags in usage data (see cost-allocation)

Mapping native exports to FOCUS

When data comes from a legacy/native Azure cost export rather than a FOCUS export, map before analyzing: cost-in-billing-currency → BilledCost, amortized cost → EffectiveCost, list price × quantity → ListCost, meter/service → ServiceName, resource id → ResourceId (with the resource name in ResourceName). The FinOps hub does this automatically on ingestion; defer to the finops-toolkit skill's focus/mapping.md for the full crosswalk.

Hand-offs

  • Ingestion pipeline health → finops-toolkit skill (hub ingestion / data-ingestion report).
  • Tag dimension empty → cost-allocation skill.
  • Once data is trusted → power-bi-finops, finops-reporting, unit-economics.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.