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.
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-multitoolSkill
- finops-reportingSkill
- 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
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
- Distinctive: line 17
Use it when the user mentions FOCUS, cost exports, column mapping, ingestion gaps, "the numbers look wrong/incomplete," or data freshness.
≈ “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
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:
| Column | Meaning |
BilledCost | What the invoice charges for the period |
EffectiveCost | Amortized cost (commitments spread over their term) |
ListCost | Cost at public list price (the savings baseline) |
ContractedCost | Cost at negotiated/contracted price |
ChargeCategory | Usage / Purchase / Tax / Credit / Adjustment |
ServiceName, ResourceName, Region, Tags | Dimensions for grouping/allocation |
Reference: https://learn.microsoft.com/cloud-computing/finops/focus/what-is-focus
Conformance checks
- Schema — required FOCUS columns present and correctly typed;
x_columns are toolkit enrichments, not FOCUS itself. - Cost relationships — sanity-check
ListCost ≥ ContractedCost ≥ EffectiveCostin aggregate; large violations signal a mapping error. - Charge categories — Usage dominates; Purchase rows appear when commitments are bought; Credits net negative. Missing categories = partial export.
Completeness and freshness
| Check | Bad sign | Cause |
| Date coverage | Gaps or missing recent days | Export schedule broken or lagging (Azure cost data lags ~1–3 days) |
| Scope coverage | A subscription/account missing | Export scope too narrow, or RBAC on the export |
| Row counts vs prior period | Sudden drop | Failed export run or partial ingestion |
| Total vs portal | Material mismatch | Billed-vs-effective confusion, missing scope, or currency mix |
| Tag dimension empty | Tags blank in cost data | Tags 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-toolkitskill (hub ingestion / data-ingestion report). - Tag dimension empty →
cost-allocationskill. - Once data is trusted →
power-bi-finops,finops-reporting,unit-economics.
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.

