> ## Documentation Index
> Fetch the complete documentation index at: https://f82cc46-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://f82cc46-productmetrics.manicule.dev/docs/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://f82cc46-productmetrics.manicule.dev/docs/api/mcp.
> Every agent surface: https://f82cc46-productmetrics.manicule.dev/docs/.well-known/llms-manifest.json

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

<!-- agent-signals: reading_time_min: 3 · est_tokens: 1040 · 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.

Install the skills in your project or for your user, give the agent a way in through the `productmetrics` CLI or the MCP server, then check the agent sees them.



* **You need:** Node.js 22.20 or later, and Claude Code, Cursor, Codex or another supported agent.
* **Run:** `npx skills add https://www.productmetrics.io/docs`
* **Result:** The five Product Metrics skills in your agent, signed in through the CLI or MCP.

## 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.

## Set it up

### 1. Install the skills

From the project where the agent works:

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

Installation is per project by default. To skip the prompts or install one skill everywhere, see [Install flags](#install-flags).

**You should see:** the CLI lists the Product Metrics skills and the agents it found, and asks which to install.

### 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).

**You should see:** Product Metrics opens in your browser, where you sign in and approve the connection.

### 3. Check the agent sees them

```bash
npx skills list
```

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.

**You should see:** `set-up-tracking`, `connect-google-ads`, `check-tracking`, `bid-on-profit` and `analyse-google-ads` in `npx skills list` for the agent you chose.

## Install flags

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
```

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

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

## Update

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

## Troubleshooting

| Problem                | Fix                                                                                                                                                             |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **A skill is missing** | Check that the agent was selected during install, and that the index lists it: `curl -s https://www.productmetrics.io/docs/.well-known/agent-skills/index.json` |

## Where next



* [Skills overview](/docs/agent-skills/overview): what each skill does and how agents find them
* [set-up-tracking skill](/docs/agent-skills/set-up-tracking): the whole setup, from nothing to tracking active
* [CLI for agents](/docs/cli/for-agents): how an agent uses the CLI
