Yandex Metrika Core: shared client for skills

Yandex Metrika Core

A shared PHP OAuth and API client for Yandex Metrika that the author's separate OpenCode skills are built on

Skill

Low risk

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

Why this level

  • On its own it only reads Metrika stats via the API; no write calls are documented
  • Stores the OAuth token in a config JSON file on disk
All reasons and checks
Russian stack

prikotov/yandex-metrika-core

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/yandex-metrika-core

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-core --skill yandex-metrika-core -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-core --skill yandex-metrika-core -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-core --skill yandex-metrika-core -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-core --skill yandex-metrika-core -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-core --skill yandex-metrika-core -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-core --skill yandex-metrika-core -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-core --skill yandex-metrika-core -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-core --skill yandex-metrika-core -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 c863fca.

Text for your agent

Clone the repo into .opencode/skills/yandex-metrika-core, create a Yandex OAuth app with Metrika scopes, then install the actual skill you need alongside it, such as yandex-metrika-search.

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

Installs the shared client; individual skills like yandex-metrika-search are installed alongside it the same way.

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

What it does

The package contains MetrikaClient, a shared PHP client that handles OAuth authorization, Metrika API requests and exporting results to CSV and Markdown. On its own it gives an agent no callable tool: it is infrastructure for the author's family of skills, such as yandex-metrika-search, which are installed alongside it and use this client. The README lists three more skills built on core, but only the related yandex-metrika-search is in the catalog so far.

Who it is for. For people installing this author's Yandex Metrika skills, who first need to install their shared dependency.

Good fit when

  • You are installing the yandex-metrika-search skill or another of this author's skills built on core
  • You want to write your own Metrika skill on top of a ready PHP client with OAuth and export

Not a fit when

  • You want a ready-made agent tool: core does nothing by itself without a skill on top of it
  • You need a client that is not written in PHP

Example request

Install yandex-metrika-search together with its yandex-metrika-core dependency

Limitations

The package is only useful together with a skill that uses it; on its own it solves no agent task. Requires PHP and a Yandex OAuth app with Metrika scopes. The README gives almost no install examples for core itself and points to README.md for details.

How to disable. Delete the yandex-metrika-core folder from the agent's skills directory along with the skills that depend on it.

Security check

  • On its own it only reads Metrika stats via the API; no write calls are documented
  • Stores the OAuth token in a config JSON file on disk

README in short

SKILL.md and the README describe the package as a library and catalog of Yandex Metrika skills, list MetrikaClient with OAuth, API requests and export, give a table of four skills built on it, and point to README.md for install details.

SKILL.md

---
name: yandex-metrika-core
description: Библиотека и каталог skills для Яндекс.Метрики
license: MIT
compatibility: opencode
---

## Доступные skills

### yandex-metrika-search
Поисковые фразы с метриками:
- Фразы: визиты, просмотры, отказы, время на сайте
- Фразы + страницы входа

### yandex-metrika-pages
Популярные страницы:
- URL страниц с визитами и просмотрами
- Время на странице, отказы
- Страницы входа и выхода

### yandex-metrika-traffic
Источники трафика:
- Поисковые системы
- Социальные сети
- Реферальные ссылки
- Прямые заходы

### yandex-metrika-tech
Технические данные:
- Браузеры и версии
- Устройства (desktop/mobile/tablet)
- Операционные системы
- Разрешения экранов

---

Подробности установки в README.md

FAQ

Does core give the agent a tool directly?

No, it is only a shared OAuth client and export library; tools come from skills like yandex-metrika-search that depend on it.

Do I need this package if I only install yandex-metrika-search?

Yes, the yandex-metrika-search README explicitly requires yandex-metrika-core to be installed.

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 Core: shared client for skills

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