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.

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

1. Install the skills

From the project where the agent works:

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:

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

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.

3. Check the agent sees them

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:

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:

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