Agent skill

Google Analytics

by refly-ai in refly-ai/refly-skills

Integrate with Google Analytics for web metrics. An agent skill from refly-ai/refly-skills.

No licenceAuto-check passedFrontend & Design

Install Google Analytics

skills CLI
$ npx skills add refly-ai/refly-skills --skill google-analytics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install refly-ai/refly-skills google-analytics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/refly-ai/refly-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/google-analytics .claude/skills/google-analytics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
google-analytics
GitHub stars
204
Token cost
~504 tokens
SKILL.md length
85 words
Files
2
Skills in repo
48
Repo updated
First seen
Licence
None found

At a glance

Integrate with Google Analytics for web metrics. An agent skill from refly-ai/refly-skills.

  • Works in 3 steps: Run the Skill and Get Run ID → Open Workflow in Browser and Wait for… → Extract Text Content
  • Retrieve website analytics reports
  • SKILL.md covers Input, Execution (Pattern B: Text/Data), Expected Output and Rules
  • Calls jq; reaches refly.ai

What it does

Google Analytics is an agent skill from refly-ai/refly-skills. Integrate with Google Analytics for web metrics. Use when you need to: (1) retrieve website analytics reports, (2) track traffic and user metrics, or (3) analyze web performance data.

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in Frontend & Design, covering Data analysis and Web performance. It works with Google Analytics. The repository describes itself as: Refly skills repository.

When your agent uses it

  • Retrieve website analytics reports
  • Track traffic and user metrics
  • Analyze web performance data

Example prompts

  • “/google-analytics”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Run the Skill and Get Run ID
  2. Open Workflow in Browser and Wait for Completion
  3. Extract Text Content

What it can do on your machine

Read from SKILL.md and the folder at commit 5a546d2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • refly.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Google Analytics loads about 504 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 85 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~504

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 85 words (~504 tokens).

“Integrate with Google Analytics for web metrics. Use when you need to: (1) retrieve website analytics reports, (2) track traffic and user metrics, or (3) analyze web performance data.”

— opening of SKILL.md by refly-ai
name
google-analytics
version
1.0.0
skillId
skp-pd5q1x9nd5zoqjihacwf7apk
workflowId
c-o5nfiwa9rm39qmcjglnva7ye
installationId
skpi-mtb0qx9adafqm4d2ll3f9zqr
category
text-data

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in skills/google-analytics of refly-ai/refly-skills.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit 5a546d2

Compare with similar skills

Google Analytics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Google Analytics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Google Analytics this skillrefly-ai/refly-skills204—~504Automated safety check: PassNone
SEO GoogleAgriciDaniel/codex-seo7872 repos~3.4kAutomated safety check: PassMIT
Google Analytics Data API Basicsgoogle/skills21k—~2.4kAutomated safety check: PassApache-2.0
SEO Coachakseolabs-seo/seo-coach145—~2.8kAutomated safety check: PassNone
React Doctormakeplane/plane60k12 repos~657Automated safety check: PassAGPL-3.0
Fixing Motion Performanceibelick/ui-skills9.4k5 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • SEO Google

    AgriciDaniel/codex-seo

    Google SEO APIs: Search Console (Search Analytics, URL Inspection, Sitemaps), PageSpeed Insights v5, CrUX field data with 25-week history, Indexing API v3, and GA4 organic traffic.

    787 GitHub starsUsed in 2 repos~3.4k tokens
    Frontend & DesignAuto-check passed
  • Official

    Manages Google Analytics reporting data, enables the Analytics Data API via the Cloud CLI, and creates reports using the Google Analytics Data API (v1beta).

    21k GitHub stars~2.4k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • SEO Coach

    akseolabs-seo/seo-coach

    Beginner-first SEO coaching for people who want to learn by doing one safe, verifiable step at a time.

    145 GitHub stars~2.8k tokensUpdated 1 mo ago
    Marketing & SEOAuto-check passed
  • React Doctor

    makeplane/plane

    Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.

    60k GitHub starsUsed in 12 repos~657 tokens
    Frontend & DesignAuto-check passed
  • Fixing Motion Performance

    ibelick/ui-skills

    Audits and fixes web animation performance: layout thrashing, work that belongs on the compositor, scroll-linked motion and costly blur effects.

    9.4k GitHub starsUsed in 5 repos~1.4k tokens
    Frontend & DesignAuto-check passed
  • Google SEO APIs

    AgriciDaniel/claude-seo

    Pulls real Google data for SEO work: Search Console, PageSpeed Insights, CrUX field data, the Indexing API and GA4 organic traffic, through /seo google commands.

    18k GitHub starsUsed in 1 repo~4.2k tokens
    Marketing & SEOAuto-check passed

More from refly-ai/refly-skills

All 48 skills in this repo
  • Airtable

    refly-ai/refly-skills

    Integrate with Airtable for database management. An agent skill from refly-ai/refly-skills.

    204 GitHub stars~493 tokensUpdated 2 mo ago
    Auto-check passed
  • Apollo

    refly-ai/refly-skills

    Search sales leads with Apollo.io. An agent skill from refly-ai/refly-skills.

    204 GitHub stars~470 tokensUpdated 2 mo ago
    Auto-check passed
  • Asana

    refly-ai/refly-skills

    Integrate with Asana for task management. An agent skill from refly-ai/refly-skills.

    204 GitHub stars~470 tokensUpdated 2 mo ago
    Auto-check passed
  • Excel

    refly-ai/refly-skills

    Integrate with Microsoft Excel for spreadsheets. An agent skill from refly-ai/refly-skills.

    204 GitHub stars~545 tokensUpdated 2 mo ago
    Auto-check passed
  • Fal Audio

    refly-ai/refly-skills

    Generate AI audio using Fal.ai audio models. An agent skill from refly-ai/refly-skills.

    204 GitHub stars~602 tokensUpdated 2 mo ago
    Auto-check passed
  • Fal Image

    refly-ai/refly-skills

    Generate AI images using Fal.ai Flux models. An agent skill from refly-ai/refly-skills.

    204 GitHub stars~847 tokensUpdated 2 mo ago
    Auto-check passed

Questions about Google Analytics

What does Google Analytics do?

Integrate with Google Analytics for web metrics. An agent skill from refly-ai/refly-skills. Google Analytics is an agent skill from refly-ai/refly-skills. Integrate with Google Analytics for web metrics.

When should I use Google Analytics?

Google Analytics fits situations like: retrieve website analytics reports; track traffic and user metrics; analyze web performance data.

How do I install Google Analytics in Claude Code?

Run `npx skills add refly-ai/refly-skills --skill google-analytics -a claude-code`. Or copy the skill folder (skills/google-analytics in refly-ai/refly-skills) into .claude/skills/google-analytics in your project. Claude Code loads it when a task matches its description.

How do I install Google Analytics in Codex?

Run `npx skills add refly-ai/refly-skills --skill google-analytics -a codex`. Or copy the skill folder (skills/google-analytics in refly-ai/refly-skills) into .agents/skills/google-analytics in your project. Codex loads it when a task matches its description.

Can I use Google Analytics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add refly-ai/refly-skills --skill google-analytics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/google-analytics, .gemini/skills/google-analytics, .github/skills/google-analytics and .opencode/skills/google-analytics in your project.

What does Google Analytics need to run?

Going by SKILL.md and its folder, Google Analytics needs the command-line tools its instructions call (jq).

Does Google Analytics access the network?

SKILL.md names 1 domain. In commands or code: refly.ai; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Google Analytics safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Google Analytics use?

No licence was found for Google Analytics or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Google Analytics use?

About 504 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Google Analytics?

Skills that share tags, products or a category with Google Analytics: SEO Google (AgriciDaniel/codex-seo, 787 stars), Google Analytics Data API Basics (google/skills, 21k stars), SEO Coach (akseolabs-seo/seo-coach, 145 stars) and React Doctor (makeplane/plane, 60k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Google Analytics?

refly-ai (a GitHub organization) maintains it in refly-ai/refly-skills, which has 204 GitHub stars. The repository holds 48 skills in this directory. The repository was last updated on July 20, 2026.

Source: refly-ai/refly-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.