> ## Documentation Index
> Fetch the complete documentation index at: https://dc9c767-productmetrics.manicule.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://dc9c767-productmetrics.manicule.dev/docs/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://dc9c767-productmetrics.manicule.dev/docs/api/mcp.
> Every agent surface: https://dc9c767-productmetrics.manicule.dev/docs/.well-known/llms-manifest.json

# Install Product Metrics skills (/docs/agent-skills/install)

<!-- agent-signals: reading_time_min: 2 · est_tokens: 752 · updated: 2026-11-16 -->
Related: [Product Metrics agent skills](/docs/agent-skills/overview.md), [set-up-tracking skill](/docs/agent-skills/set-up-tracking.md), [connect-google-ads skill](/docs/agent-skills/connect-google-ads.md), [check-tracking skill](/docs/agent-skills/check-tracking.md), [bid-on-profit skill](/docs/agent-skills/bid-on-profit.md), [analyse-google-ads skill](/docs/agent-skills/analyse-google-ads.md)

> Add the Product Metrics skills to Claude Code, Cursor or Codex with one command, then check the agent sees them.

By the end of this page you will:

1. **Install the skills** in your project or for your user
2. **Give the agent a way in**: the `productmetrics` CLI or the MCP server
3. **Check the agent sees them**

## Prerequisites

* Node.js 22.20 or later (for `npx skills`).
* Claude Code, Cursor, Codex or another agent the [skills CLI](https://github.com/vercel-labs/skills) supports.

## 1. Install the skills

From the project where the agent works:

```bash
npx skills add https://www.productmetrics.io/docs
```

The CLI lists the Product Metrics skills and the agents it found, and asks which to install. Installation is per project by default.

Skip the prompts with flags:



**Claude Code:**

```bash
npx skills add https://www.productmetrics.io/docs \
  --skill '*' \
  --agent claude-code \
  -y
```

**Cursor:**

```bash
npx skills add https://www.productmetrics.io/docs \
  --skill '*' \
  --agent cursor \
  -y
```

**Codex:**

```bash
npx skills add https://www.productmetrics.io/docs \
  --skill '*' \
  --agent codex \
  -y
```

**One skill, every project:**

```bash
npx skills add https://www.productmetrics.io/docs \
  --skill set-up-tracking \
  --global
```

`--list` shows the skills without installing anything:

```bash
npx skills add https://www.productmetrics.io/docs \
  --list
```

## 2. Give the agent a way in

A skill only tells the agent what to do. It still needs one of these:



**Claude Code (MCP):**

```bash
claude mcp add --transport http product-metrics \
  https://www.productmetrics.io/mcp
# then /mcp → product-metrics → Authenticate
```

**Cursor (MCP):**

```json
{
  "mcpServers": {
    "product-metrics": {
      "url": "https://www.productmetrics.io/mcp"
    }
  }
}
```

**CLI:**

```bash
# opens your browser; the agent then runs productmetrics with --json
productmetrics login
```

Setup skills work with either. `analyse-google-ads` needs the MCP server for Google Ads reports. See [CLI authentication](/docs/cli/authentication) and [Connect the MCP server](/docs/mcp/connect).

## 3. Check the agent sees them

```bash
npx skills list
```

You should see `set-up-tracking`, `connect-google-ads`, `check-tracking`, `bid-on-profit` and `analyse-google-ads` for the agent you chose. Then open the project in the agent and ask:

```text
Which Product Metrics skills do you have? Describe check-tracking in one line.
```

In Claude Code, the skills also show in the available-skills list. If one is missing, check that the agent was selected during install and that the index lists it:

```bash
curl -s \
  https://www.productmetrics.io/docs/.well-known/agent-skills/index.json
```

## Update

Installed skills don't update themselves. Run `npx skills update` (or the `add` command again) after the docs change.

## Where next

* [Skills overview](/docs/agent-skills/overview)
* [Set up tracking](/docs/agent-skills/set-up-tracking)
* [CLI for agents](/docs/cli/for-agents)
