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

  • 1 ★ on the repository
  • Last commit
Skill

Minimal access

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, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Minimal accessThe tool runs nothing and makes no network calls.

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

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.

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.

Discussion

No questions or reviews yet.

Russian stack

A Claude Code skill for Yandex Metrica built on bash scripts over curl: preset reports, goals, counters and raw log exports

SkillExtended access1Repository stars
Russian stack

A skill and condensed Yandex Metrika API documentation for an agent: reports, Logs API, counter management, OAuth without leaking the token into chat

SkillExtended access16Repository stars

Yandex Metrika skill plugin wrapper

claude-skill-yandex-metrika

Russian stack

A Claude Code plugin bundling a Yandex Metrika skill: traffic, conversions, UTM, search engines and Direct costs, with caching

PluginExtended access
Russian stack

Five cache-first shell skills for Direct, Metrika, Webmaster, Wordstat and Search API, with Claude choosing which one to run

SkillBroad access17Repository stars
Russian stack

Three Agent Skills in one repository: calling the Yandex Direct, Metrica and Wordstat APIs directly via JSON

SkillBroad access1Repository stars

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.

README badge

Original 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` | Лимит записей | число | все записи |

Report a problem