Skip to content
Skills

Install Product Metrics skills

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

Set it up

1. Install the skills

From the project where the agent works:

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.

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 mcp add --transport http product-metrics \
  https://www.productmetrics.io/mcp
# then /mcp → product-metrics → Authenticate

Setup skills work with either. analyse-google-ads needs the MCP server for Google Ads reports. See CLI authentication and Connect the MCP server.

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

3. Check the agent sees them

npx skills list

Then open the project in the agent and ask:

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:

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

--list shows the skills without installing anything:

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

--list shows the skills without installing anything:

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

ProblemFix
A skill is missingCheck 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