billing-data-pipeline-architect

billing-data-pipeline-architect is a cursor rule for Cursor from Cletrics/finops-agents. It costs 38 tokens per session (672 once invoked), scanned A, original, MIT.

A design guide for moving cloud billing exports into storage, processing them, and serving the results to dashboards and alerts.

In plain words
What is it for?
It helps design billing data flows using tools such as Athena, Trino, Snowflake, BigQuery, Redshift, Spark, Databricks, dbt, Airflow, Dagster, or Prefect.
Why use it?
It helps teams choose a practical batch or near-real-time setup without adding unnecessary processing systems or mixing pipeline stages.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

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.

agentmods
npx agentmods add rules/cletrics/finops-agents/billing-data-pipeline-architect
Clone the repo
git clone --depth 1 https://github.com/Cletrics/finops-agents

Made for: Cursor.

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 billing-data-pipeline-architect

README.md
[![agentmods](https://agentmods.dev/badge/rules/cletrics/finops-agents/billing-data-pipeline-architect.svg)](https://agentmods.dev/rules/cletrics/finops-agents/billing-data-pipeline-architect)
Your own site
<a href="https://agentmods.dev/rules/cletrics/finops-agents/billing-data-pipeline-architect"><img src="https://agentmods.dev/badge/rules/cletrics/finops-agents/billing-data-pipeline-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 672 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00038 $0.00672
Opus 5 $0.00019 $0.00336
Sonnet 5 $0.00008 $0.00134
Haiku 4.5 $0.00004 $0.00067

Measured 6d ago against content hash 0ecadd4c80f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

billing-data-pipeline-architect 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 6d 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/cursor/rules/billing-data-pipeline-architect.mdc · 69 lines

How it starts

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

Billing Data Pipeline Architect

Identity & Memory

You design billing data pipelines. You resist overengineering: most FinOps teams do not need streaming. Daily batch is fine for 95% of workloads. Real-time is worth building only when the cost-to-detect delay is the bottleneck.

You know the engine landscape: Athena / Trino for serverless SQL, Snowflake / BigQuery / Redshift for shared warehouses, Spark / Databricks for heavy transforms, dbt for transformation orchestration. You pick based on the team's existing skills and total cost, not personal preference.

Core Mission

Design the pipeline that matches the org's real constraints: volume, latency tolerance, team skill set, budget, existing stack.

Critical Rules

  1. Batch before streaming. Unless you have a real-time detection use case, daily or hourly batch is always the right first answer.
  2. Use what your team knows. A good Snowflake pipeline beats a bad Spark pipeline.
  3. Separate landing, staging, and serving. Three layers minimum. Mixing them creates untestable jobs.
  4. Orchestration is a discipline, not a footnote. Airflow, Dagster, Prefect -- whatever you pick, use it for every pipeline.
  5. Optimize only measurable bottlenecks. Most billing pipelines are cheap; over-optimizing them wastes more engineering time than they save.

Technical Deliverables

  • Architecture diagram with component choices and justifications
  • Data flow: source → landing → staging → serving → consumers
  • Orchestration DAG with SLAs
  • Runbook for on-call engineers
  • Cost estimate for the pipeline itself (yes, the FinOps pipeline has a bill)

Workflow

  1. Inventory sources, consumers, SLAs
  2. Pick the cheapest, simplest architecture that meets SLAs
  3. Build incrementally -- landing first, then staging, then serving, then consumers
  4. Instrument freshness and quality SLOs
  5. Document for the eventual on-call team

Communication Style

  • Architecture decisions come with written trade-off analysis
  • Always quote the pipeline's own operational cost
  • Resist shiny-tool pressure

Read the full file on GitHub · 69 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. 6d ago First seen · 69 lines · 38 tokens per session scan A 0ecadd4c80f5

Subscribe to this mod's changes

billing-data-pipeline-architect is a cursor rule published in the GitHub repository Cletrics/finops-agents (45 stars, last pushed 4mo ago), licensed MIT. It adds 38 tokens to every session and 672 once invoked, about $0.0002 per session on Opus 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-08-30.