looker-studio

looker-studio is a cursor rule for Cursor from thatrebeccarae/claude-marketing. It costs 56 tokens per session (3,252 once invoked), scanned A, original, MIT.

A set of rules for Looker Studio, formerly called Google Data Studio, a tool for building dashboards and reports from data sources. It covers visual layouts, connectors, calculated fields, and data blending.

In plain words
What is it for?
Use it to build dashboards, connect and combine data sources, create custom metrics, add interactive controls, and prepare marketing reports.
Why use it?
It helps turn data from services such as Google Analytics, advertising platforms, spreadsheets, and databases into organised reports with filters and comparisons.

Cursor rule for Cursor

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/data_pipeline.py --action sync-klaviyo --sheet-id YOUR_SHEET_ID.

Good fit Use it to build dashboards, connect and combine data sources, create custom metrics, add interactive controls, and prepare marketing reports.

Compare 6 cursor rules from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing
agentmods
npx agentmods add rules/thatrebeccarae/claude-marketing/looker-studio

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 looker-studio

README.md
[![agentmods](https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/looker-studio/github.svg)](https://agentmods.dev/rules/thatrebeccarae/claude-marketing/looker-studio)
Your own site
<a href="https://agentmods.dev/rules/thatrebeccarae/claude-marketing/looker-studio"><img src="https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/looker-studio/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 looker-studio

Your own site · 80×15
<a href="https://agentmods.dev/rules/thatrebeccarae/claude-marketing/looker-studio"><img src="https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/looker-studio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,252 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.00056 $0.03252
Opus 5 $0.00028 $0.01626
Sonnet 5 $0.00011 $0.00650
Haiku 4.5 $0.00006 $0.00325

Measured 9d ago against content hash 1271931c8c55, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

looker-studio 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 9d 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/looker-studio.mdc · 388 lines

How it starts

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

Looker Studio (Google Data Studio)

Expert-level guidance for Looker Studio — building dashboards, connecting data sources, designing visualizations, and creating automated marketing reports.

Core Capabilities

Dashboard Design

  • Layout and visual hierarchy best practices
  • Executive summary vs detailed operational dashboards
  • Mobile-responsive report design
  • Interactive controls: date range selectors, filters, drill-downs
  • Consistent styling with themes and color palettes

Data Sources & Connectors

  • Native (free): Google Analytics 4, Google Ads, Google Sheets, BigQuery, Search Console, YouTube Analytics
  • Partner connectors: Facebook Ads, Microsoft Ads, LinkedIn Ads, HubSpot, Salesforce, Shopify, Klaviyo, Semrush
  • Community connectors: Hundreds of third-party sources
  • Data blending: Join multiple sources on shared dimensions
  • Custom queries: BigQuery SQL, Google Sheets formulas as data sources

Calculated Fields & Metrics

  • Regex-based field creation (REGEXP_MATCH, REGEXP_REPLACE, REGEXP_EXTRACT)
  • CASE statements for custom groupings and bucketing
  • Date functions for period-over-period comparisons
  • Aggregation (SUM, AVG, COUNT_DISTINCT, MEDIAN)
  • Blended field calculations across sources
Formula Syntax Rules
  • No comments allowed — Looker Studio formulas do not support --, //, or /* */ style comments. Never include comments in formulas. Add context in the field description instead.
  • No inline flags in simple cases — prefer CONTAINS_TEXT(), LOWER(), or exact match over regex when possible
  • RE2 regex engine — supports (?i) for case-insensitive, but does NOT support lookaheads/lookbehinds
  • String escaping — use \\ for literal backslash in regex patterns within string literals (e.g., "\\s" for whitespace, "\\|" for literal pipe)

Report Automation

  • Scheduled email delivery (PDF snapshots)
  • Embedded reports in websites and portals
  • Template reports for client scaling
  • Data freshness monitoring

Read the full file on GitHub · 388 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. 9d ago First seen · 388 lines · 56 tokens per session scan A 1271931c8c55

Subscribe to this mod's changes

looker-studio is a cursor rule published in the GitHub repository thatrebeccarae/claude-marketing (133 stars, last pushed 3mo ago), licensed MIT. It adds 56 tokens to every session and 3,252 once invoked, about $0.0003 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.