Yandex Metrika search phrases: SEO skill

Yandex Metrika Search Phrases

A skill that pulls real search phrases from Yandex Metrika with visits, bounce rate and time on site into CSV and Markdown

Skill

Low risk

We rate an entry low when it mostly gives the agent instructions and reference material.

Why this level

  • Only reads Metrika stats and saves reports locally; there are no write calls
All reasons and checks
Russian stack

prikotov/yandex-metrika-search

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/yandex-metrika-search-phrases

Detects the agents on your machine, checks the risk and pins the version.

Other ways to install

Run in a terminal in the project folder

npx skills add prikotov/yandex-metrika-search --skill yandex-metrika-search -a claude-code -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Run in a terminal in the project folder

npx skills add prikotov/yandex-metrika-search --skill yandex-metrika-search -a cursor -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Run in a terminal in the project folder

npx skills add prikotov/yandex-metrika-search --skill yandex-metrika-search -a github-copilot -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Run in a terminal in the project folder

npx skills add prikotov/yandex-metrika-search --skill yandex-metrika-search -a codex -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Run in a terminal in the project folder

npx skills add prikotov/yandex-metrika-search --skill yandex-metrika-search -a gemini-cli -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Run in a terminal in the project folder

npx skills add prikotov/yandex-metrika-search --skill yandex-metrika-search -a cline -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Run in a terminal in the project folder

npx skills add prikotov/yandex-metrika-search --skill yandex-metrika-search -a roo -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

A fork of Roo Code, same .roo folders.

Run in a terminal in the project folder

npx skills add prikotov/yandex-metrika-search --skill yandex-metrika-search -a opencode -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

You will need: Node.js

Checked against the repository on Sep 25, 2026, commit 1dbd716.

Text for your agent

Install yandex-metrika-core first, then clone yandex-metrika-search into .opencode/skills/yandex-metrika-search and run php .opencode/skills/yandex-metrika-search/metrika.php with the desired options and date range.

Other ways from the author
git clone https://github.com/prikotov/yandex-metrika-core.git .opencode/skills/yandex-metrika-core
git clone https://github.com/prikotov/yandex-metrika-search.git .opencode/skills/yandex-metrika-search

First the required core dependency, then the skill itself.

This is third-party code. Review the repository files before installing.

What it does

The PHP skill runs via a command from the .opencode/skills directory and calls the Metrika API through the yandex-metrika-core client, which must be installed separately. It builds a report of the search phrases people use to find the site, with visits, pageviews, bounce rate and time on site, plus a cross-report of phrases with entry pages. You can pick a site from the config, sort by any of five fields, choose sort direction, set a record limit and a date range. Results are saved as CSV and Markdown files.

Who it is for. For SEO specialists and marketers who want a site's real search phrases without a manual export from the Metrika interface.

Good fit when

  • You need content ideas based on real queries that bring people to the site
  • You need to find pages with a high bounce rate for specific phrases
  • You need a recurring search phrase report in a format the agent can analyze further

Not a fit when

  • yandex-metrika-core is not installed: the skill will not run without it
  • You need traffic sources or technical data rather than search phrases: the author has separate skills for those, not yet in the catalog

Example request

Pull the top 20 search phrases with the highest bounce rate for the last month

Limitations

Strictly requires the separately installed yandex-metrika-core with a configured OAuth app and a counter ID in the config. Runs only via PHP from the command line; there is no ready MCP interface. No license file.

How to disable. Delete the yandex-metrika-search folder from the agent's skills directory.

Security check

  • Only reads Metrika stats and saves reports locally; there are no write calls

README in short

The README explains why search phrases matter for SEO, lists the two output files, requires yandex-metrika-core as a dependency, gives a git clone install command into the OpenCode skills directory, and shows running metrika.php with sort, limit and date range options.

SKILL.md

---
name: yandex-metrika-search
description: Поисковые фразы из Яндекс.Метрики для SEO-анализа
---

## Когда использовать

- Анализ поискового трафика
- Поиск популярных запросов
- Определение фраз с высокими отказами

## Запуск

```bash
php .opencode/skills/yandex-metrika-search/metrika.php [опции] [дата_от] [дата_до]
```

### Параметры дат

- `дата_от` — начало периода (формат: YYYY-MM-DD), по умолчанию 30 дней назад
- `дата_до` — конец периода (формат: YYYY-MM-DD), по умолчанию сегодня

### Опции

| Опция | Сокращение | Описание | Значения | По умолчанию |
|-------|------------|----------|----------|--------------|
| `--site` | | Имя сайта из конфига | имя сайта | default_counter |
| `--sort` | `-s` | Поле сортировки | `visits`, `visitors`, `bounce_rate`, `page_depth`, `avg_duration` | `visits` |
| `--order` | `-o` | Направление сортировки | `asc`, `desc` | `desc` |
| `--limit` | `-l` | Лимит записей | число | все записи |

FAQ

Do I have to install yandex-metrika-core separately?

Yes, the README explicitly requires yandex-metrika-core installed, and the skill uses its MetrikaClient.

What format is the report in?

CSV and Markdown, as two files: the phrases with metrics, and a separate cross-report of phrases with entry pages.

Official

Official DataLens (Yandex) skills for Claude Code, Codex and OpenCode: SDK, HTML reports and RLS resolution

SkillMedium riskRussian stackNo VPN needed12Repository stars
Editors’ pick

A Yandex Metrika MCP server generated from the API spec: 108 methods, 10 tools declared by default, transparent filters and response metadata

MCP serverMedium riskRussian stackNo VPN needed2Repository stars
Official

An open MCP server and agent skill set for SEO: keyword research, competitors, backlinks and site audits powered by DataForSEO

MCP serverMedium risk21.5KRepository stars

A Claude Code plugin for SEO audits: technical SEO, E-E-A-T, schema, local and AI search via parallel subagents

PluginHigh risk17.9KRepository stars
Foxx AIYandex Metrika search phrases: SEO skill

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.