Yandex Metrika skill plugin wrapper
claude-skill-yandex-metrika
A Claude Code plugin bundling a Yandex Metrika skill: traffic, conversions, UTM, search engines and Direct costs, with caching
Low risk
We rate an entry low when it mostly gives the agent instructions and reference material.
Why this level
- The scripts only read Reporting API data; there is no write access to Metrika
Install
Manual install
mkdir -p ~/.claude/skills && cp -r skills/yandex-metrika ~/.claude/skills/Global install for all projects, from the README.
This is third-party code. Review the repository files before installing.
What it does
The repository packages Aleksandr Poliakov's yandex-metrika skill into a standalone Claude Code plugin with a .claude-plugin/plugin.json manifest, so it can be installed with one command instead of digging through the original monorepo. The skill provides shell scripts for Reporting API reports: counters and goals list, traffic summary, conversions, UTM report, search engines, e-commerce, Direct clients and costs, period comparison. Every command caches responses under cache/ keyed by counter plus dates plus parameters and keeps terminal output short, with full data going to CSV or a file to avoid bloating the model's context.
Who it is for. For those who want to install a ready Metrika skill in Claude Code with one command, without cloning a large monorepo.
Good fit when
- You want a ready set of shell scripts for Metrika reports in Claude Code
- Caching matters, so the API is not hit repeatedly and the model's context stays clean
- It is easier to install one plugin than to find the right skill inside someone else's monorepo
Not a fit when
- You want the original and its updates directly: this is a separately saved copy with no guaranteed sync to upstream
- You need Direct or Webmaster support: only Metrika is covered here
Example request
Show the traffic summary and conversions for the metallik.ru counter over the last monthLimitations
This is the repository author's saved copy of Aleksandr Poliakov's skill (artwist-polyakov/polyakov-claude-skills), not the original: upstream updates are not pulled in automatically. A Yandex OAuth token with metrika:read scope is needed, placed in config/.env. The scripts require a bash environment.
How to disable. Delete the yandex-metrika folder from ~/.claude/skills or .claude/skills, or disable the plugin via claude --plugin-dir.
Security check
- The scripts only read Reporting API data; there is no write access to Metrika
README in short
The README is upfront that the skill is taken from artwist-polyakov/polyakov-claude-skills and saved as a working copy. It shows three install paths (global, per-project, or as a plugin via a local marketplace), metrika:read token setup, and a short list of 11 shell scripts with caching and exact, unsampled data.
SKILL.md
--- name: yandex-metrika description: | Аналитика Yandex Metrika: трафик, конверсии, UTM, поисковые системы. Cache-first подход для гигиены контекстного окна. Triggers: яндекс метрика, yandex metrika, metrika analytics, метрика трафик, метрика конверсии, метрика отчет. --- # yandex-metrika Работа с Yandex Metrika Reporting API v1. Отчеты по трафику, конверсиям, UTM-меткам, поисковым системам. ## Config Требуется YANDEX_METRIKA_TOKEN в config/.env. Инструкция: config/README.md. ## Philosophy 1. Cache-first, конфигурационные данные (счетчики, цели, инфо) кешируются надолго. Отчеты кешируются по ключу counter+dates+params. Перед API-запросом всегда проверяем кеш. 2. Context window hygiene, stdout ограничен 30 строками. Полные данные в CSV/файл. 3. Точные данные, accuracy=1 (без сэмплирования), фильтр isRobot по умолчанию. 4. Атрибуция, дефолт lastsign (последний значимый источник). Спрашиваем пользователя при первом запуске.
FAQ
Is this the official skill from Poliakov?
No, it is llirikkcoder's saved working copy under the same MIT license; the original lives at artwist-polyakov/polyakov-claude-skills.
What token scope is needed?
metrika:read; the walkthrough is in skills/yandex-metrika/config/README.md.
Related
Official DataLens (Yandex) skills for Claude Code, Codex and OpenCode: SDK, HTML reports and RLS resolution
A Yandex Metrika MCP server generated from the API spec: 108 methods, 10 tools declared by default, transparent filters and response metadata
An open MCP server and agent skill set for SEO: keyword research, competitors, backlinks and site audits powered by DataForSEO
A Claude Code plugin for SEO audits: technical SEO, E-E-A-T, schema, local and AI search via parallel subagents