yandex-wordstat

yandex-wordstat is a skill for Codex from nebelov/yandex-direct-for-all. It costs 53 tokens per session (1,659 once invoked), scanned A, original, MIT.

A reference guide to Yandex Wordstat API v2, the Yandex service used to study what people search for. It documents requests, authentication, quotas, regions, devices, and search-demand trends.

In plain words
What is it for?
Use it when working with Wordstat API requests and interpreting search-demand data. It is not a guide for choosing keywords, creating campaigns, or defining stop words.
Why use it?
It helps avoid using outdated API endpoints or sending requests with incorrect permissions, regions, or request details.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when working with Wordstat API requests and interpreting search-demand data. It is not a guide for choosing keywords, creating campaigns, or defining stop words.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nebelov/yandex-direct-for-all/yandex-wordstat
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nebelov/yandex-direct-for-all --skill yandex-wordstat
Clone the repo
git clone --depth 1 https://github.com/nebelov/yandex-direct-for-all

Made for: Codex.

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-wordstat

README.md
[![agentmods](https://agentmods.dev/badge/skills/nebelov/yandex-direct-for-all/yandex-wordstat/github.svg)](https://agentmods.dev/skills/nebelov/yandex-direct-for-all/yandex-wordstat)
Your own site
<a href="https://agentmods.dev/skills/nebelov/yandex-direct-for-all/yandex-wordstat"><img src="https://agentmods.dev/badge/skills/nebelov/yandex-direct-for-all/yandex-wordstat/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-wordstat

Your own site · 80×15
<a href="https://agentmods.dev/skills/nebelov/yandex-direct-for-all/yandex-wordstat"><img src="https://agentmods.dev/badge/skills/nebelov/yandex-direct-for-all/yandex-wordstat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,659 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.
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.00053 $0.01659
Opus 5 $0.00026 $0.00830
Sonnet 5 $0.00011 $0.00332
Haiku 4.5 $0.00005 $0.00166

Measured 12d ago against content hash 5f6665852329, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

yandex-wordstat 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 12d 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/yandex-direct-for-all/skills/yandex-wordstat/SKILL.md · 178 lines

How it starts

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

Yandex Wordstat API v2

Этот файл не задает порядок сбора семантики, смысловые решения, минус-слова, структуру кампаний или готовность к сборке.

Для любых задач Яндекс.Директа, ключевых фраз, SQR, семантики и стоп-слов сначала открыть yandex-direct-unified, его обязательные references и keyword-collection-runbook.md. Этот файл использовать только как справочник по текущему Wordstat API.

Канонический транспорт

  • Базовый адрес: https://searchapi.api.cloud.yandex.net.
  • Текущая версия: синхронный REST API v2.
  • Старый https://api.wordstat.yandex.net/v1/* и метод userInfo не использовать.
  • folderId передается в теле каждого запроса.
  • Для локального клиента рабочий сбор идет по целевому гео; вся Россия может использоваться только как явно обозначенный фон.

Авторизация

Разрешены два варианта:

  1. API-ключ: заголовок Authorization: Api-Key <key>.
  2. IAM-токен: заголовок Authorization: Bearer <iam-token>.

Для API-ключа нужна область yc.search-api.execute, а сервисному аккаунту или пользователю — роль search-api.webSearch.user на нужный каталог.

Секреты нельзя печатать, передавать в аргументах процесса или сохранять в raw/manifest. Канонический credential-файл должен находиться в закрытом каталоге 700, иметь владельца рабочего пользователя и права 600.

Общие перечисления

Устройства:

  • DEVICE_ALL;
  • DEVICE_DESKTOP;
  • DEVICE_PHONE;
  • DEVICE_TABLET.

Если передается список devices, в нем не более трех значений. Для topRequests и dynamics список regions содержит не более 100 строковых ID.

Методы

POST /v2/wordstat/topRequests

Назначение: спрос за последние 30 дней, популярные вложенные фразы и ассоциации.

Запрос:

{
  "phrase": "обязательная фраза до 400 символов",
  "numPhrases": 2000,
  "regions": ["регион"],
  "devices": ["DEVICE_ALL"],
  "folderId": "каталог"
}

numPhrases: от 1 до 2000.

Ответ:

{
  "totalCount": 0,
  "results": [{"phrase": "...", "count": 0}],
  "associations": [{"phrase": "...", "count": 0}]
}

Read the full file on GitHub · 178 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 178 lines · 53 tokens per session scan A 5f6665852329

Subscribe to this mod's changes

yandex-wordstat is a skill published in the GitHub repository nebelov/yandex-direct-for-all (21 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 1,659 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

watch

File sentinel that monitors the working directory for changes and marker comments, then auto-triggers appropriate skills. Poll-based via git diff against the last scan commit. Writes intake items for batch processing and routes marker actions through /do. Use for automatic reactions to file changes; do NOT use for…

SethGammon/Citadel · 70 tokens

review

5-pass structured code review — correctness, security, performance, readability, consistency.

SethGammon/Citadel · 17 tokens

live-preview

Mid-build visual verification loop. Takes screenshots of components during construction, not just after. Catches visual regressions and invisible features before they compound. Requires Playwright or similar screenshot tool.

SethGammon/Citadel · 40 tokens

marshal

Meta-orchestrator that takes any direction — broad, specific, or vague — and autonomously chains skills and context into actionable work. Gathers context from codebase, docs, and memory. Only asks the user when it genuinely cannot proceed. Single-session orchestrator.

SethGammon/Citadel · 56 tokens

wiki

Markdown-first knowledge base where the LLM acts as librarian. Ingests raw sources, compiles and interlinks topic files, self-maintains an index. No vector DB or embeddings required -- uses LLM-native navigation over structured markdown up to 400K words.

SethGammon/Citadel · 56 tokens

stss

Reduce defensive disclaimers, stacked hedging, and self-protective narration in proposals and decision-facing writing. Use when the user asks to rewrite or audit a proposal, plan, research contribution, executive summary, or similar text for directness. Do not use for ordinary code work or unrelated prose.

lennney/stop-that-shit · 63 tokens