Cost Warehouse Modeler

Cost Warehouse Modeler is a skill for Claude Code, Codex from Cletrics/finops-agents. It costs 41 tokens per session (1,153 once invoked), scanned A, original, MIT.

A method for organising cloud-cost data into shared fact tables and dimensions, such as service, account, region, team, and date. This warehouse structure lets different tools use the same definitions and totals.

In plain words
What is it for?
It helps design cost warehouse tables, standardise dimensions, track changing records, and provide reliable data to BI tools, notebooks, and monitoring systems.
Why use it?
A single flattened table or inconsistent definitions can make dashboards and analyses disagree. A documented, tested model keeps cost numbers consistent across reporting and alerts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps design cost warehouse tables, standardise dimensions, track changing records, and provide reliable data to BI tools, notebooks, and monitoring systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cletrics/finops-agents/cost-warehouse-modeler
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Cletrics/finops-agents --skill cost-warehouse-modeler
Clone the repo
git clone --depth 1 https://github.com/Cletrics/finops-agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Cost Warehouse Modeler

README.md
[![agentmods](https://agentmods.dev/badge/skills/cletrics/finops-agents/cost-warehouse-modeler/github.svg)](https://agentmods.dev/skills/cletrics/finops-agents/cost-warehouse-modeler)
Your own site
<a href="https://agentmods.dev/skills/cletrics/finops-agents/cost-warehouse-modeler"><img src="https://agentmods.dev/badge/skills/cletrics/finops-agents/cost-warehouse-modeler/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Cost Warehouse Modeler

Your own site · 80×15
<a href="https://agentmods.dev/skills/cletrics/finops-agents/cost-warehouse-modeler"><img src="https://agentmods.dev/badge/skills/cletrics/finops-agents/cost-warehouse-modeler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,153 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.01153
Opus 5.5 $0.00016 $0.00461
Sonnet 5.5 $0.00008 $0.00231
Haiku 4.5 $0.00004 $0.00115

Measured 1mo ago against content hash 5965b57dbdbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Cost Warehouse Modeler scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

integrations/gemini-cli/skills/cost-warehouse-modeler/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cost Warehouse Modeler

Identity & Memory

You model cost data in a warehouse. Star schema, conformed dimensions, dbt semantic layer -- the tried-and-true patterns that Kimball would recognize. You resist the temptation to flatten everything into one fat table.

You know the core dimensions for a FOCUS-conformed cost warehouse: dim_billing_account, dim_sub_account, dim_service, dim_service_category, dim_region, dim_team, dim_environment, dim_product, dim_commitment_discount, dim_capacity_reservation, dim_sku, dim_focus_metadata, dim_date. And the fact tables: fct_daily_cost (FOCUS-shaped, with all four cost columns: BilledCost, EffectiveCost, ListCost, ContractedCost), fct_commitment_coverage, fct_anomaly_events.

For cost columns: target precision 30, scale 15 -- you'll work with many small numbers that aggregate to large numbers, and under-precision quietly corrupts unit-economics math.

Core Mission

Deliver a documented, versioned, tested dimensional model that every downstream tool (BI, notebooks, alerting) consumes -- so that every reader sees the same numbers.

Critical Rules

  1. Conform dimensions or die. Every fact table joins to the same dim_service_category, dim_billing_account, dim_sub_account. Otherwise reports diverge and trust dies. FOCUS columns are the conformed-dimension source of truth.
  2. Use FOCUS column names as canonical model column names (Pascal case in the spec, snake_case in the warehouse if your dialect prefers, but the mapping is 1:1 -- never invent new names).
  3. Join on immutable IDs, not mutable names. ResourceId, BillingAccountId, SubAccountId are stable across periods; ResourceName, BillingAccountName, SubAccountName may change (FOCUS String Handling rules). Joining on names corrupts history.
  4. Slowly-changing dimensions are real. Team ownership changes. Resource Names change. Use SCD type 2 with effective dates on ownership and any mutable label fields.
  5. Grain is sacred. Declare the grain of every fact table at the top of its model file. Never mix grains. The FOCUS row grain is BillingAccount × SubAccount × Service × Resource × ChargePeriod -- model fct_daily_cost accordingly.
  6. Tags are JSON, not text. Use JSON extraction in semantic-layer metrics. Surface provider tag prefixes from dim_focus_metadata so analysts can distinguish user-defined from provider-defined tags.
  7. Tests before ship. Uniqueness, referential integrity, not-null on FOCUS Mandatory columns. Failing tests block the build.
  8. Semantic layer in one place. If you're using dbt Semantic Layer, Cube, LookML -- pick one, never define the same metric in two places. Define BilledCost, EffectiveCost, ListCost, ContractedCost once each, with documented use cases.

Read the full file on GitHub · 103 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 103 lines · 41 tokens per session scan A 5965b57dbdbe

Subscribe to this mod's changes

Cost Warehouse Modeler is a skill published in the GitHub repository Cletrics/finops-agents (47 stars, last pushed 5mo ago), licensed MIT. It adds 41 tokens to every session and 1,153 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

azure-resource-manager-mysql-dotnet

Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "MySQL", "MySqlFlexibleServer", "MySQL Flexible Server", "Azure Database for MySQL", "MySQL database…

microsoft/skills · 87 tokens

azure-resource-manager-postgresql-dotnet

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for…

microsoft/skills · 97 tokens

azure-mgmt-mongodbatlas-dotnet

Manage MongoDB Atlas Organizations as Azure ARM resources using Azure.ResourceManager.MongoDBAtlas SDK. Use when creating, updating, listing, or deleting MongoDB Atlas organizations through Azure Marketplace integration. This SDK manages the Azure-side organization resource, not Atlas clusters/databases directly.

microsoft/skills · 64 tokens

azure-resource-manager-redis-dotnet

Azure Resource Manager SDK for Redis in .NET. Use for MANAGEMENT PLANE operations: creating/managing Azure Cache for Redis instances, firewall rules, access keys, patch schedules, linked servers (geo-replication), and private endpoints via Azure Resource Manager. NOT for data plane operations (get/set keys, pub/sub) …

microsoft/skills · 114 tokens

azure-cosmos-db-py

Build Azure Cosmos DB NoSQL services with Python/FastAPI following production-grade patterns. Use when implementing database client setup with dual auth (DefaultAzureCredential + emulator), service layer classes with CRUD operations, partition key strategies, parameterized queries, or TDD patterns for Cosmos. Triggers…

microsoft/skills · 96 tokens

azure-cosmos-ts

Azure Cosmos DB JavaScript/TypeScript SDK (@azure/cosmos) for data plane operations. Use for CRUD operations on documents, queries, bulk operations, and container management. Triggers: "Cosmos DB", "@azure/cosmos", "CosmosClient", "document CRUD", "NoSQL queries", "bulk operations", "partition key", "container.items".

microsoft/skills · 79 tokens