yandex-metrica

yandex-metrica is a skill for Claude Code from VKirill/claude-lane-stack. It costs 240 tokens per session (6,342 once invoked), scanned A, original, MIT.

A skill for working with Yandex Metrica, a web-analytics service that records visits, traffic sources, and conversions. It covers the service's reporting, management, and log-export APIs.

In plain words
What is it for?
Use it for traffic reports, time-series data, drill-downs, attribution, raw log exports, and counter or goal administration.
Why use it?
It provides guidance for retrieving analytics data, comparing periods or segments, and managing Metrica counters and goals through APIs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Source of truth: [STACK_VERSIONS.md](../../STACK_VERSIONS.md) — verified 2026-08-24.

Part of the lane-stack plugin — 62 skills, 4 commands, 13 agents, 1 MCP server shipped together

Good fit Use it for traffic reports, time-series data, drill-downs, attribution, raw log exports, and counter or goal administration.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/VKirill/claude-lane-stack
agentmods
npx agentmods add skills/vkirill/claude-lane-stack/yandex-metrica

Made for: Claude Code.

Or install lane-stack, the plugin that ships this one along with the rest of its 62 skills, 4 commands, 13 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yandex-metrica

README.md
[![agentmods](https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/yandex-metrica/github.svg)](https://agentmods.dev/skills/vkirill/claude-lane-stack/yandex-metrica)
Your own site
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/yandex-metrica"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/yandex-metrica/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for yandex-metrica

Your own site · 80×15
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/yandex-metrica"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/yandex-metrica.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 240 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,342 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00240 $0.06342
Opus 5.5 $0.00096 $0.02537
Sonnet 5.5 $0.00048 $0.01268
Haiku 4.5 $0.00024 $0.00634

Measured 1mo ago against content hash 4e1478266b01, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

yandex-metrica scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/lane-stack/skills/yandex/yandex-metrica/SKILL.md · 289 lines

How it starts

The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Version Requirements (May 2026)

Primary pins:

  • Yandex Metrika API: Reporting v1 (/stat/v1/data), Management v1 (/management/v1), Logs (/management/v1/counter/{id}/logrequests*) — stable, no deprecation notice
  • Base URL: https://api-metrika.yandex.net
  • Python: 3.14.x
  • Node.js: 24.x (Active LTS)

Source of truth: STACK_VERSIONS.md — verified 2026-08-24

Usage

Loaded automatically when its description matches the active task. Read only the section you need, then follow the link to the relevant reference file for full detail.

Use this skill when

  • Pulling traffic/source/goal/conversion reports via Reporting API (/stat/v1/data)
  • Time-series via /stat/v1/data/bytime (charts grouped by day/week/month)
  • Hierarchical drill-down (e.g. city → page → device) via /stat/v1/data/drilldown
  • A/B segment or period comparisons via /stat/v1/data/comparison
  • Raw hit/visit export via Logs API for ClickHouse / BigQuery / DuckDB
  • Multi-touch attribution — first/last/last-significant/Yandex Direct/cross-device via attribution=
  • CRUD on counters, goals, filters, representatives, operations via Management API
  • Importing expenses, CRM data, offline conversions, user params via Data Import API
  • Storing OAuth tokens with the right minimum scope (metrika:read / metrika:write / metrika:offline_data)
  • Building a Python (httpx) or Node.js client with Logs API polling, 429/503 retry, request_id deduplication
  • Detecting sampling (sampled=true, sample_share) and re-running with accuracy=full when needed

Do not use this skill when

  • Search Console-style queries / index / sitemap — that is not Metrika. Use yandex-webmaster (cascade marker)
  • Yandex.Direct ad campaign stats (impressions, clicks, CPC, CTR) — separate API. Use yandex-direct (cascade marker)
  • Google Analytics 4 — different platform and API. Use google-analytics (cascade marker)
  • AppMetrica (mobile app analytics on appmetrica.yandex.com) — separate API. Use appmetrica (cascade marker)
  • Placing the JS tag on a page or configuring goals via JS — that is tag-manager / frontend work, not API
  • Downstream processing of collected data (ETL, ClickHouse, dashboards) — that belongs to clickhouse / polars / pandas / postgresql
  • Session-recording (Webvisor) data — Webvisor API exists separately and is not covered here

Read the full file on GitHub · 289 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 289 lines · 240 tokens per session scan A 4e1478266b01

Subscribe to this mod's changes

yandex-metrica is a skill published in the GitHub repository VKirill/claude-lane-stack (122 stars, last pushed today), licensed MIT. It adds 240 tokens to every session and 6,342 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

build-teaql-app

Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C#/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries. Mandatory order: first draft and save a complete KSML model, then verify the client and evaluate that saved model, repair it through repeated evaluation…

teaql/teaql-agent-kit · 112 tokens

eval-agents

Audit custom subagent definitions for Claude Code (.claude/agents/.md) and Codex (.codex/agents/.toml): loadability against the native schema, description overlap, model tier, tool scope, and headless-safe instructions. Use when onboarding to a project with agents, after adding or importing agents, or when the parent…

FlorianBruniaux/claude-code-ultimate-guide · 80 tokens

self-assessment

Interactive skill assessment with personalized learning path generation.

FlorianBruniaux/claude-code-ultimate-guide · 12 tokens

land-and-deploy

Merge PR, wait for CI, verify deploy, run canary. The complete landing pipeline.

FlorianBruniaux/claude-code-ultimate-guide · 24 tokens

source-command-methodology-advisor

Analyzes your codebase and asks 3 targeted questions to recommend the right AI-assisted development methodology stack.

FlorianBruniaux/claude-code-ultimate-guide · 27 tokens

git-ai-archaeology

Analyze AI config evolution in a git repo. Use when mapping AI adoption history, finding when configs were first introduced, charting commit velocity by month, or identifying maturity phases in a project's AI tooling.

FlorianBruniaux/claude-code-ultimate-guide · 47 tokens