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
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
Install
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/yandex-metrika-coreDetects 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 -yThe 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 -yThe 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 -yThe 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 -yThe 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 -yThe 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 -yThe 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 -yThe 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 -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
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-coreInstalls 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 dependencyLimitations
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.
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