Focus spec normalizer

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Focus spec normalizer is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Normalize vendor-specific billing rows (AWS CUR, Azure Cost Management, GCP Billing Export, OCI) into FOCUS v1.2 columns from user-pasted CSV or JSON input. Refuses to invent column values not derivable from the input. No credentials accepted; operates on user-supplied data only.

How to use this skill

Skill file

FOCUS Spec Normalizer

Purpose

Map vendor-specific billing row data (pasted as CSV or JSON snippet) to FOCUS v1.2 columns. The output is a FOCUS-normalized row or set of rows that can be ingested by any FinOps tool that accepts FOCUS-formatted data.

No network access. No credentials. All input is user-supplied billing data.

When to use

Use this skill when:

Operating rules

Mapping behavior

Step 1: detect vendor

Identify the billing format from the column names present in the input header:

If the vendor cannot be identified from column names, ask one clarifying question.

Step 2: apply vendor-specific mapping

Load the relevant mapping section from references/vendor-mapping.md for the detected vendor, then produce FOCUS v1.2 output columns.

Step 3: flag gaps

For any required FOCUS v1.2 column that cannot be populated, include a gap note:

<FocusColumn>: null
  Reason: <why this column cannot be populated from <vendor> billing data>
  Resolution: <where in the vendor's billing config this data can be enabled, if known>

Response shape

Return:

  1. Detected vendor and input format.
  2. FOCUS v1.2 normalized row(s) in JSON object format.
  3. Provenance label for each column value.
  4. Gap summary table listing columns set to null and resolution notes.
  5. FOCUS version declared: 1.2.

Example output structure:

{
  "FocusVersion": "1.2",
  "ProviderName": "Amazon Web Services",
  "PublisherName": "Amazon Web Services",
  "ServiceCategory": "Compute",
  "ServiceName": "Amazon EC2",
  "ChargeCategory": "Usage",
  "ChargeDescription": "...",
  "ChargeFrequency": "Usage-based",
  "BillingPeriodStart": "2026-04-01T00:00:00Z",
  "BillingPeriodEnd": "2026-05-01T00:00:00Z",
  "BilledCost": 42.50,
  "BilledCurrency": "USD",
  "EffectiveCost": null,
  "ListCost": null,
  "ContractedCost": null,
  "ResourceId": "i-0abc1234def567890",
  "ResourceName": null,
  "SkuId": "RunInstances:0014",
  "SkuPriceId": null,
  "Region": "us-east-1",
  "AvailabilityZone": "us-east-1a",
  "Tags": {}
}

Each field in the output is annotated with its provenance label in the gap summary.

References

Load these only when needed:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.