google-analytics
Collect and analyze Google Analytics 4 (GA4) website data in a local SQLite database. Stores pageviews, active users, reading dwell time, traffic sources, and outbound clicks so you can run SQL queries or view reports on site performance. Activate when analyzing website traffic,
Supply asset profile
Research and knowledge work
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add danicat/skills --skill google-analytics
Maintenance
fresh
Pushed today
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
16
59/100 Quality · 59/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
Trust, audit, and install readiness at a glance
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Do not auto-installTrust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Sandbox only
Choose a stronger alternative or inspect the source manually before any install attempt.
Stars
16 GitHub stars
Repo activity
16 stars, 3 forks
Maintenance
Pushed today
License
Apache-2.0
Install
npx skills add danicat/skills --skill google-analytics
Install safety
standard package or runtime install path
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Review before production
- The skill requires the `uv` package manager to run scripts, but this dependency is not explicitly documented in SKILL.md (only implied by command examples).
- Low GitHub adoption signal
- Quality score needs review
- Permission surface needs review: secrets or environment access, shell or command execution
Install readiness
Install path available
- Install path is available
- Repository evidence is available
- License is declared
- No Agent Proven outcome evidence yet
Agent-readable metadata
Machine-readable decision data for this skill.
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
- Database and SQL workflows
- Claude Code teams
- builders willing to evaluate younger projects
- Understand table relationships
Suited agents
Install decision
- Command
- npx skills add danicat/skills --skill google-analytics
- Policy
- block
- Human review
- yes
Trust and risk
- Trust
- 51/100
- Audit
- 70/100
- Risk level
- Needs review
Outcome loop
- Endpoint
- /api/agent/outcome
- Event ID
- resolve
- Outcomes
- 5
Install command
npx skills add danicat/skills --skill google-analyticsDo not use when
- teams that need a vendor-supported SLA
- production agents without a repository review
- Low GitHub adoption signal
- The skill requires the `uv` package manager to run scripts, but this dependency is not explicitly documented in SKILL.md (only implied by command examples).
- No OpenAgentSkill engagement data yet
Alternative
Last30days Skill
53.5K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
Academic Research Skills
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
GPT Researcher
28.0K Stars
npx skills add assafelovic/gpt-researcher
Alternative
DeepResearch
19.8K Stars
npx skills add Alibaba-NLP/DeepResearch
Agent safety v2
30/100 · Avoid automatic install
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Shell or command execution
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Network access
Skill likely fetches remote pages, APIs, repositories, or external services.
high
Secrets or environment access
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
medium
Database access
Skill may inspect schemas, query databases, or work with persistent stores.
- High-risk permission hints: Shell or command execution, Secrets or environment access
- Dependency or permission surface needs review
Install targets
Install this skill in your agent workflow
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
OpenAgentSkill CLI
Resolve policy, run the source installer safely, and report a verified install receipt.
$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install danicat-google-analyticsAgent resolve plan
Let an agent verify fit before installing.
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20google-analytics%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20google-analytics%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/danicat-google-analytics/install
Agent should check
- Task fit and alternatives from Resolve API.
- Audit score, trust score, and safety policy warnings.
- Install target compatibility for Codex, Claude Code, Cursor, or CLI.
Copy prompt
Task: Use google-analytics in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20google-analytics%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/danicat-google-analytics/install
Install command: npx skills add danicat/skills --skill google-analytics
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Give an agent the install path, not another directory page.
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/danicat-google-analytics/install
LLM text format
/api/skills/danicat-google-analytics/install?format=text
Find alternatives
/api/skills/search?q=google-analytics&limit=3
Agent prompt
Use google-analytics for this task. Review https://www.openagentskill.com/api/skills/danicat-google-analytics/install, then install with: npx skills add danicat/skills --skill google-analyticsRegistry metadata
Agent-readable profile for automatic skill selection.
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/danicat-google-analytics
LLM text
/api/registry/manifest/danicat-google-analytics?format=text
Install alias
/api/registry/install/danicat-google-analytics
Recommend
/api/registry/recommend?task=Use%20google-analytics%20in%20an%20agent%20workflow&limit=3
Agent fit
Database and SQL
Use-case tags
Platforms
Claude Code
Audit report
Needs review · 70/100
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Fallback candidate for Database and SQL
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Database and SQL
Trust label
Prototype first
Install path
Command ready
Use when
- Database and SQL workflows
- Claude Code teams
- builders willing to evaluate younger projects
Evidence
- recent repository activity
- install command or GitHub repo available
- 59/100 quality profile
review first
- Low GitHub adoption signal
- The skill requires the `uv` package manager to run scripts, but this dependency is not explicitly documented in SKILL.md (only implied by command examples).
- No OpenAgentSkill engagement data yet
Implementation path
- 1Install it in a sandbox agent and run one Database and SQL task end to end.
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
Trust profile
Do not auto-install
Trust Score v5 found insufficient evidence for agent installation. Treat this as discovery material, not an executable recommendation.
GitHub adoption
FIX16 GitHub stars
Stars/forks activity
FIX16 stars, 3 forks; issue activity unavailable in current metadata
Recent maintenance
PASSPushed today
License clarity
PASSApache-2.0
Good signals
- AI review approved
- Install path is available
- Repository evidence is available
- Recently maintained repository
- Install command has no obvious high-risk pattern
- Outcome loop is ready but needs first real agent run
Review before install
- The skill requires the `uv` package manager to run scripts, but this dependency is not explicitly documented in SKILL.md (only implied by command examples).
- Low GitHub adoption signal
- Quality score needs review
- Permission surface needs review: secrets or environment access, shell or command execution
- GitHub adoption: 16 GitHub stars
- Stars/forks activity: 16 stars, 3 forks; issue activity unavailable in current metadata
- Dependency/runtime risk: command execution surface, credential or environment access
- Permission surface: secrets or environment access, shell or command execution
- No real agent outcome reports yet
- Human review required before unattended installation
Recommended action
Choose a stronger alternative or inspect the source manually before any install attempt.
Quality profile
Promising candidate for agent workflows
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Use this skill in these scenarios
Work with data stores
Database and SQL
I need my agent to inspect database schemas, write SQL, and explain query results.
Investigate faster
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Operate web apps
Browser automation
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Add it to a complete workflow
Find, compare, and synthesize
Research report agent
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Operate and verify web apps
Browser QA agent
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Scrape, clean, and reuse web data
Web data pipeline
A practical workflow for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Alternative shortlist
Compare before you install
Similar skills that may fit this task.
Last30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
GPT Researcher
Run autonomous deep research over web and local sources
DeepResearch
Tongyi Deep Research, the Leading Open-source Deep Research Agent
Overview
--- name: google-analytics description: > Collect and analyze Google Analytics 4 (GA4) website data in a local SQLite database. Stores pageviews, active users, reading dwell time, traffic sources, and outbound clicks so you can run SQL queries or view reports on site performance. Activate when analyzing website traffic, measuring reader engagement and dwell time, evaluating the impact of site updates or milestones, or querying Google Analytics with SQL. license: Apache-2.0 metadata: category: analytics tags: "ga4, analytics, traffic, metrics, optimization" author: Daniela Petruzalek (daniela@danicat.dev) version: "0.2.0" catalog: https://skills.danicat.dev ---
# Google Analytics 4 SQLite Ingestion & SQL Analytics
The `google-analytics` skill ingests Google Analytics 4 (GA4) traffic, reading depth, acquisition channels, event streams, and outbound clicks into a local SQLite analytics database (`google_analytics.db` or `$XDG_DATA_HOME/google-analytics/analytics.db`) without data loss, preserving raw JSON payloads on all records, and providing a fast SQL interface for website analytics.
## Available scripts - `scripts/google_analytics.py`: Automated sync, reporting, and annotation CLI for Google Analytics 4. Executed via `uv run scripts/google_analytics.py` (requires Google Cloud ADC or OAuth credentials). - `scripts/test_google_analytics.py`: Unit and regression test suite validating schema, query extraction, and CLI flags.
---
## ⚡ Quick Start & Primary Actions
All operations are driven via the bundled Python CLI script:
```bash # 1. Authorize OAuth 2.0 (with analytics.edit & readonly scopes) uv run scripts/google_analytics.py auth --port 8080
# 2. Discover accessible GA4 properties uv run scripts/google_analytics.py properties
# 3. Create Deployment / Milestone Annotation (Cloud API + Local SQLite) uv run scripts/google_analytics.py annotate \ --title "Major Release / Architecture Overhaul" \ --date 2026-08-18 \ --commit abc1234 \ --description "Milestone description and release context."
# 4. Incremental Sync (Updates newest days + 3-day latency lookback overlap) uv run scripts/google_analytics.py sync --db path/to/database.db
# 5. Full Historical Backfill (Ingests up to 14 months of daily granular data) uv run scripts/google_analytics.py sync --full --db path/to/database.db
# 6. Run Pre-Built Reports uv run scripts/google_analytics.py report overview --db path/to/database.db uv run scripts/google_analytics.py report top-pages --db path/to/database.db uv run scripts/google_analytics.py report channels --db path/to/database.db uv run scripts/google_analytics.py report geo --db path/to/database.db uv run scripts/google_analytics.py report events --db path/to/database.db uv run scripts/google_analytics.py report outbound --db path/to/database.db uv run scripts/google_analytics.py report milestone-impact --db path/to/database.db
# 7. Execute Ad-Hoc SQL Query uv run scripts/google_analytics.py query "SELECT page_path, total_views, total_users, avg_dwell_sec, avg_bounce_pct FROM v_page_performance LIMIT 10" --db path/to/database.db ```
If `--db` is omitted, the script defaults to `google_analytics.db` in the current working directory.
---
## 🗄️ Database Schema & Relational Structure
The database maintains 7 relational tables and 7 analytical views. Detailed DDL and schema definitions are in [`references/schema.md`](references/schema.md).
### Tables
1. **`daily_pages`**: Granular daily page metrics by URL, country, device, and traffic source. - Key columns: `id` (PK), `property_id`, `date`, `page_path`, `page_title`, `country`, `device_category`, `source_medium`, `screen_page_views`, `active_users`, `sessions`, `user_engagement_duration`, `bounce_rate`, `raw_json`, `synced_at`. 2. **`daily_traffic`**: Acquisition channels and source/medium pairs. - Key columns: `id` (PK), `property_id`, `date`, `session_source_medium`, `session_default_channel_group`, `country`, `device_category`, `sessions`, `active_users`, `new_users`, `engaged_sessions`, `user_engagement_duration`, `bounce_rate`, `raw_json`, `synced_at`. 3. **`daily_events`**: User interaction event stream (`scroll`, `click`, `first_visit`, `user_engagement`, `page_view`). - Key columns: `id` (PK), `property_id`, `date`, `event_name`, `page_path`, `country`, `device_category`, `event_count`, `total_users`, `raw_json`, `synced_at`. 4. **`outbound_clicks`**: External link exit destinations and click counts. - Key columns: `id` (PK), `property_id`, `date`, `link_url`, `page_path`, `country`, `event_count`, `total_users`, `raw_json`, `synced_at`. 5. **`properties`**: Verified GA4 property metadata, timezone, and settings. - Key columns: `property_id` (PK), `name`, `account_id`, `display_name`, `industry_category`, `time_zone`, `currency_code`, `service_level`, `raw_json`, `last_synced_at`. 6. **`site_milestones`**: Release milestones and publication events. - Key columns: `commit_hash` (PK), `event_date`, `title`, `description`, `category`, `scope`, `author`, `created_at`. 7. **`sync_history`**: Audit log of sync executions and row counts. - Key columns: `id` (PK), `property_id`, `sync_type`, `start_date`, `end_date`, `pages_synced`, `traffic_synced`, `events_synced`, `outbound_synced`, `status`, `error_message`, `started_at`, `finished_at`.
---
## 📊 Analytical SQL Views
| View Name | Description | Key Columns | | :--- | :--- | :--- | | `v_daily_summary` | Daily aggregated traffic metrics | `date`, `total_sessions`, `total_active_users`, `total_page_views`, `total_engagement_min`, `avg_bounce_pct` | | `v_page_performance` | Page rollup with views, active users, dwell time, and bounce rate | `page_path`, `page_title`, `total_views`, `total_users`, `total_sessions`, `avg_dwell_sec`, `total_dwell_min`, `avg_bounce_pct` | | `v_channel_performance` | Acquisition channel breakdown | `channel_group`, `source_medium`, `total_sessions`, `total_users`, `total_new_users`, `total_engaged_sessions`, `engagement_rate_pct`, `total_dwell_min`, `avg_bounce_pct` | | `v_geo_breakdown` | Country traffic and dwell time | `country`, `total_sessions`, `total_users`, `total_page_views`, `avg_dwell_sec`, `avg_bounce_pct` | | `v_events_summary` | Aggregate event counts | `event_name`, `total_events`, `total_users` | | `v_outbound_links` | Outbound destination rankings | `link_url`, `total_clicks`, `total_users`, `referring_pages_count` | | `v_milestone_impact` | Pre vs. Post milestone comparison | `milestone_title`, `milestone_date`, `cohort`, `days_tracked`, `total_views`, `total_users`, `total_sessions`, `avg_engagement_sec`, `avg_bounce_pct` |
---
## 🔍 SQL Analytics Recipes
Pre-tested SQL query recipes are documented in [`references/queries.md`](references/queries.md).
### 1. Top Landing Pages by Active Dwell Time ```sql SELECT page_path, page_title, total_views, total_users, avg_dwell_sec || 's' AS avg_dwell, total_dwell_min || 'm' AS total_dwell, avg_bounce_pct || '%' AS bounce_pct FROM v_page_performance ORDER BY total_dwell_min DESC LIMIT 15; ```
### 2. Category / Subdirectory Rollup ```sql SELECT CASE WHEN page_path LIKE '/docs/%' THEN 'Docs' WHEN page_path LIKE '/blog/%' THEN 'Blog' WHEN page_path = '/' THEN 'Homepage' ELSE 'Other' END AS category, COUNT(DISTINCT page_path) AS page_count, SUM(total_views) AS total_views, SUM(total_users) AS total_users, ROUND(SUM(total_dwell_min), 1) AS total_dwell_min FROM v_page_performance GROUP BY category ORDER BY total_views DESC; ```
---
## ⚠️ Cross-Tool Alignment: GA4 Organic Search vs. Search Console Property Totals
When cross-referencing GA4 acquisition metrics with Google Search Console data:
1. **Multi-Engine Organic Reach:** GA4 `Organic Search` aggregates landing sessions and active users across **all search engines** (Google Search, Bing, DuckDuckGo, Ecosia, Yahoo, AI search engines). Search Console exclusively measures Google Search impressions and clicks. 2. **Session Arrivals vs. SERP Clicks:** GA4 tracks 100% of landing sessions without query-level privacy truncation. In contrast, Search Console API keyword exports filter out "anonymized queries". 3. **Property-Level Reconciliation:** For organic traffic reporting, GA4 `v_channel_performance` (filtering for `channel_group = 'Organic Search'`) naturally aligns with Search Console property-level totals (`daily_site_performance` in `search-analytics` and GSC Web UI Performance cards), while Search Console's `search_performance` table provides the granular ranking breakdown for identifiable keywords.
---
## 📚 Progressive Disclosure & References
- **Full DDL Schema Reference**: [`references/schema.md`](references/schema.md) — Complete SQL table definitions, column types, constraints, and views. - **SQL Query Cookbook**: [`references/queries.md`](references/queries.md) — Tested SQL recipes for reading depth, acquisition channels, and exit destinations. - **Authentication Guide**: [`references/setup_auth.md`](references/setup_auth.md) — Google Cloud ADC login, API enablement, and GA4 property permissions.
Technical details
- Version
- 1.0.0
- License
- Apache-2.0
- Last updated
- Aug 24, 2026
- Published
- Aug 24, 2026
Decision snapshot
Fallback candidate
recent repository activity
Audit
Install review
Install and adoption review
- Security
- 68/100
- Maintenance
- 100/100
- Install
- 92/100
Agent-proven evidence
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
- Success rate
- —
- Recent failure
- —
- Outcomes
- 0
- Output quality
- —
- Failed
- 0
- Not relevant
- 0
- Installs
- 0
- Risk blocked
- 0
- Setup needed
- 0
- Production
- 0
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Add to agent workflow
Free and open source. Review the report before installing into production agents.
Growth loop
Share kit
Scenario-led draft for google-analytics, ready for a manual X post.
google-analytics: Collect and analyze Google Analytics 4 (GA4) website data in a local SQLite database. Stores... 16 stars https://www.openagentskill.com/skills/danicat-google-analytics?ref=x
Optional reply with install command
Listing + install path for google-analytics: https://www.openagentskill.com/skills/danicat-google-analytics?ref=x Install: npx skills add danicat/skills --skill google-analytics
Listing source
Registry indexed
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
- Creator
- danicat
- Source
- danicat/skills
- Indexed by
- OpenAgentSkill community index
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
Claim this skill listing
This Registry indexed listing is attributed to danicat but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Add the evidence badges to your README
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/danicat-google-analytics)
[](https://www.openagentskill.com/skills/danicat-google-analytics)
[](https://www.openagentskill.com/skills/danicat-google-analytics/audit)
[](https://www.openagentskill.com/skills/danicat-google-analytics)Author
danicat
@danicat
Tags
Platform fit
Health signals
- GitHub stars
- 16
- Quality score
- 32/100
- Last GitHub push
- Aug 23, 2026
- Framework hints
- Unknown
- OpenAgentSkill views
- 0
- Install copies
- 0
- Outbound clicks
- 0
Community signal
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Trust & safety
Do not auto-install
- GitHub adoption16 GitHub starsFIX
- Stars/forks activity16 stars, 3 forks; issue activity unavailable in current metadataFIX
- Recent maintenancePushed todayPASS
- License clarityApache-2.0PASS
- README/SKILL.md completenessPublic metadata needs stronger README/SKILL.md contextINFO
- Dependency/runtime riskcommand execution surface, credential or environment accessFIX
Related skills
Last30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
53.5K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K StarsGPT Researcher
Run autonomous deep research over web and local sources
28.0K StarsDeepResearch
Tongyi Deep Research, the Leading Open-source Deep Research Agent
19.8K Stars