# Analytics

> Analytics is an open-source agent skill for analytics and data. When the user wants to set up or audit analytics, or asks whether a metric or number is calculated right, what to track, or how to name even. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/coreyhaines31/marketingskills/tree/main/skills/analytics
- **Repository:** https://github.com/coreyhaines31/marketingskills
- **GitHub stars:** 60,928
- **License:** MIT
- **Skill name:** analytics
- **Collection:** https://github.com/coreyhaines31/marketingskills
- **Categories:** analytics and data
- **Listing updated:** 2026-11-17

## About

When the user wants to set up or audit analytics, or asks whether a metric or number is calculated right, what to track, or how to name events: tracking plans, GA4, GTM, Mixpanel, PostHog, UTMs. Rate metrics divide matching closed windows, never full-period spend by partial-period results. For conversions in ad platforms, see conversion-tracking. For attribution or platforms that over-claim, see attribution. For tests, see ab-testing.

## When your agent uses it

> When the user wants to set up or audit analytics, or asks whether a metric or number is calculated right, what to track, or how to name events: tracking plans, GA4, GTM, Mixpanel, PostHog, UTMs. Rate metrics divide matching closed windows, never full-period spend by partial-period results. For conversions in ad platforms, see conversion-tracking. For attribution or platforms that over-claim, see attribution. For tests, see ab-testing.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/coreyhaines31/marketingskills/tree/HEAD/skills/analytics)
- [License: MIT](https://github.com/coreyhaines31/marketingskills/tree/HEAD/skills/analytics)

## Install

### Claude Code

This skill ships in the `marketing-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add coreyhaines31/marketingskills
/plugin install marketing-skills@marketingskills
```

Or copy only this skill to `~/.claude/skills/analytics`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/coreyhaines31/marketingskills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/analytics &&
cp -R "$tmp/skills/analytics" ~/.claude/skills/analytics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/analytics` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/analytics` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/coreyhaines31/marketingskills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/analytics &&
cp -R "$tmp/skills/analytics" ~/.agents/skills/analytics &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/analytics` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/analytics` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/coreyhaines31/marketingskills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/analytics &&
cp -R "$tmp/skills/analytics" ~/.cursor/skills/analytics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/analytics` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/coreyhaines31/marketingskills.git --path skills/analytics
```

Or copy the folder to `~/.gemini/skills/analytics` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/analytics`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/coreyhaines31/marketingskills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/analytics &&
cp -R "$tmp/skills/analytics" ~/.copilot/skills/analytics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/analytics` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/coreyhaines31/marketingskills.git
```

Then copy `marketingskills/skills/analytics` into your agent's skills folder as `analytics`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Analytics in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/analytics to use it in all your projects, or to .claude/skills/analytics in one project. Or install the marketing-skills plugin, which includes it: /plugin marketplace add coreyhaines31/marketingskills, then /plugin install marketing-skills@marketingskills.

### Does Analytics run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Analytics?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Analytics?

The closest alternatives to Analytics are Power bi report design consultation, PR dashboard, Power bi model design review, Power bi dax optimization and Power bi performance troubleshooting.

## Alternatives

- [Power bi report design consultation](https://ai-powered.com/skills/power-bi-report-design-consultation): Power bi report design consultation is an open-source agent skill for analytics and data.
- [PR dashboard](https://ai-powered.com/skills/pr-dashboard): PR dashboard is an open-source agent skill for analytics and data.
- [Power bi model design review](https://ai-powered.com/skills/power-bi-model-design-review): Power bi model design review is an open-source agent skill for analytics and data.
- [Power bi dax optimization](https://ai-powered.com/skills/power-bi-dax-optimization): Power bi dax optimization is an open-source agent skill for analytics and data.
- [Power bi performance troubleshooting](https://ai-powered.com/skills/power-bi-performance-troubleshooting): Power bi performance troubleshooting is an open-source agent skill for analytics and data.
- [Jupyter notebook](https://ai-powered.com/skills/jupyter-notebook): Jupyter notebook is an agent skill for analytics and data.
- [Azure storage file datalake py](https://ai-powered.com/skills/azure-storage-file-datalake-py): Azure storage file datalake py is an open-source agent skill for cloud and infrastructure.
- [Data analysis](https://ai-powered.com/skills/data-analysis): Data analysis is an open-source agent skill for analytics and data.

---
Source: https://ai-powered.com/skills/analytics-coreyhaines31
