ga4-export-guardian
Skill by jeremylongshore
Investigates GA4 BigQuery export gaps and query scan risk from table inventory and dry-run receipts. Built for analysts checking missing daily tables or whether a query stays within a scan budget.
Install ga4-export-guardian
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/ga4-export-guardian ~/.claude/skills/ga4-export-guardianRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/ga4-export-guardian ~/.gemini/antigravity-cli/skills/ga4-export-guardianAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install ga4-export-guardian in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill builds a date-by-date ledger of observed GA4 export tables in BigQuery. It selects one source per day, preferring the daily table over the intraday table, and does not add their row counts together. Missing days beyond an operator-set bound are flagged for investigation rather than treated as confirmed data loss.
For query risk, it inspects a BigQuery dry-run Job resource against the exact SQL hash and a configured maximumBytesBilled cap. A bundled Python 3.10+ script, inspect-export.py, runs the local analysis and writes a JSON investigation. The skill is an investigation workflow only. It does not create export links, grant IAM, modify tables or run paid queries. It is intended for analytics and data engineering staff who need to diagnose GA4 export delays or query costs.
Written from the project's SKILL.md and checked against it.
What it can do
- Export table ledgerBuilds a date-by-date ledger of observed daily and intraday GA4 export tables.
- Source selectionSelects one source per day, preferring the daily table, without summing row counts.
- Gap investigationFlags missing days beyond an operator bound for investigation with listing and permission checks.
- Dry-run query checkInspects a BigQuery dry-run estimate against the configured maximumBytesBilled cap.
- Local inspection scriptRuns inspect-export.py on a receipt file to produce a JSON investigation report.
- Receipt validationChecks dataset and property binding, dates, duplicate table IDs and dry-run structure.
What you need
- Python 3.10+ and IANA timezone data
- Numeric GA4 property ID and export dataset
- Optional google-cloud-bigquery and approved ADC for collection
- Optional completed BigQuery dry-run Job resource
Try asking
- Check why GA4 BigQuery tables look missing for the last two weeks
- Check this GA4 query's scan budget against a 2000-byte cap
- Explain whether daily and intraday GA4 tables overlap for one date
Good to know
- Investigation only. It does not create export links, grant IAM, modify tables or execute paid queries.
- A dry-run estimate is not a certification of billable bytes. Billing verification is still required.
- The helper accepts up to 2 MiB of input and a requested window of at most 366 days.
- Table metadata does not prove complete event delivery.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/.curated/ga4-export-guardian/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadBash(python3:*)
Alternatives to ga4-export-guardian
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
ga4-export-guardian: common questions
What does GA4 Export Guardian check?
It checks GA4 BigQuery export tables for gaps and overlap between daily and intraday data. It also checks a dry-run query estimate against a configured byte cap.
Does it run my GA4 queries?
No. The source says it is not an autonomous query runner and does not execute paid queries. Any separately authorized execution must keep an approved maximumBytesBilled.
Can it confirm that my GA4 data is complete?
No. The source says a visible table does not prove complete or immutable data, and metadata counts do not prove event delivery.
How do I install ga4-export-guardian?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ga4-export-guardian free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ga4-export-guardian safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ga4-export-guardian?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
