artwist-polyakov/polyakov-claude-skills/yandex-wordstat
Claude Code and agent skill by artwist-polyakov/polyakov-claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Анализ поискового спроса через Yandex Wordstat API. Используй когда нужно: исследовать спрос, семантическое ядро, частотность запросов, сезонность или региональный спрос. Топ до 2000 запросов, ассоциации, динамика, экспорт CSV. Поиск упущенного спроса: анализ XLSX-выгрузки из Яндекс Директ, сегментация фраз, расширение семантики, сравнение OR-запросов. Triggers: упущенный спрос.
Install
npx vskill@latest install artwist-polyakov/polyakov-claude-skills/yandex-wordstatSKILL.md
yandex-wordstat
Analyze search demand and keyword statistics using Yandex Wordstat API.
Настройка
Скилл работает через Wordstat API в Yandex Cloud Search API v2. Для авторизации выберите IAM через авторизованный JSON-ключ сервисного аккаунта или API-ключ сервисного аккаунта. IAM-токен скрипты получают и обновляют автоматически; API-ключ автоматически не обновляется.
Единая инструкция по настройке, переходу со старого API и устранению ошибок: config/README.md.
⚠️ Операторы в `dynamics`: при --period weekly|monthly поддерживается только оператор +. Минус-слова, кавычки, группировки и точные формы работают только при --period daily. Скилл проверяет фразу и сообщает об ошибке до отправки запроса. Подробнее — в README.
Philosophy
- Skepticism to non-target demand — high numbers don't mean quality traffic
- Creative semantic expansion — think like a customer
- Always clarify region — ask user for target region before analysis
- Show operators in reports — include Wordstat operators for verification
- VERIFY INTENT via web search — always check what people actually want to buy
CRITICAL: Intent Verification
Before marking ANY query as "target", verify intent via WebSearch!
The Problem
Query "каолиновая вата для дымохода" looks relevant for chimney seller, but:
- People search this to BUY COTTON WOOL, not chimneys
- They already HAVE a chimney and need insulation material
- This is NOT a target query for chimney sales!
Verification Process
For every promising query, ASK YOURSELF:
- What does the person want to BUY? (not just "what are they interested in")
- Will they buy OUR product from this search?
- Or are they looking for something adjacent/complementary?
MANDATORY: Use WebSearch
Always run WebSearch to check:
Look at search results:
- What products are shown?
- What questions do people ask?
- Is this informational or transactional intent?
Red Flags (likely NOT target)
- Query contains "для [вашего продукта]" — they need ACCESSORY, not your product
- Query about materials/components — they DIY, not buy finished product
- Query has "своими руками", "как сделать" — informational, not buying
- Query about repair/maintenance — they already own it
Examples
| Query | Looks like | Actually | Target? | |
|---|---|---|---|---|
| каолиновая вата для дымохода | chimney buyer | cotton wool buyer | ❌ NO | |
| дымоход купить | chimney buyer | chimney buyer | ✅ YES | |
| утепление дымохода | chimney buyer | insulation DIYer | ❌ NO | |
| дымоход сэндвич цена | chimney buyer | chimney buyer | ✅ YES | |
| потерпевший дтп | lawyer client | news reader | ❌ NO | |
| юрист после дтп | lawyer client | lawyer client | ✅ YES |
Workflow Update
- Find queries in Wordstat
- WebSearch each promising query to verify intent
- Mark as target ONLY if intent matches the sale
- Report both target AND rejected queries with reasoning
Workflow
STOP! Before any analysis:
- ASK user about region and WAIT for answer:
``` "Для какого региона анализировать спрос?
- Вся Россия (по умолчанию)
- Москва и область
- Конкретный город (какой?)"
``` НЕ ПРОДОЛЖАЙ пока пользователь не ответит!
- ASK about business goal:
`` "Что именно вы продаёте/рекламируете? Это важно для фильтрации нецелевых запросов." ``
After getting answers:
- Check connection:
bash scripts/quota.sh - Run analysis using appropriate script
- Verify intent via WebSearch for each promising query
- Present results with target/non-target separation
Scripts
quota.sh
Check API connection.
top_requests.sh
Get top search phrases. Supports up to 2000 results and CSV export.
| Param | Required | Default | Values | |
|---|---|---|---|---|
--phrase | yes | - | text with operators | |
--regions | no | all | comma-separated IDs | |
--devices | no | all | all, desktop, phone, tablet | |
--limit | no | 50 (set by the skill) | 1-2000 (maps to API numPhrases) | |
--csv | no | - | path to output CSV file | |
--sep | no | ; | CSV separator (; for RU Excel) |
Result types: Top Requests vs Associations
The output contains two sections (both in stdout and CSV):
- top (
topRequests) — queries that contain the words from your phrase, sorted by frequency. These are direct variations of the search query. Example: phrase "юрист дтп" → "юрист по дтп", "консультация юриста по дтп". - assoc (
associations) — queries similar by meaning but not necessarily containing the same words, sorted by similarity. These are semantically related searches. Example: phrase "юрист дтп" → "юридическая ответственность", "адвокат аварии".
For analysis: top results are your primary keyword pool. assoc results are useful for semantic expansion but often contain noise — always verify intent before including them.
CSV export details
CSV format: UTF-8 with BOM, columns: n;phrase;impressions;type. When --csv is set, stdout shows first 20 rows per section; full data goes to file.
Working with large CSV exports
When --limit is set to a high value (e.g. 500-2000), use CSV export and read the file in chunks:
This approach lets the agent process large datasets without flooding stdout.
dynamics.sh
Get search volume trends over time.
| Param | Required | Default | Values | |
|---|---|---|---|---|
--phrase | yes | - | text | |
--period | no | monthly | daily, weekly, monthly | |
--from-date | yes | - | YYYY-MM-DD | |
--to-date | no | today | YYYY-MM-DD | |
--regions | no | all | region IDs | |
--devices | no | all | all, desktop, phone, tablet |
regions_stats.sh
Get regional distribution.
| Param | Required | Default | Values | |
|---|---|---|---|---|
--phrase | yes | - | text | |
--region-type | no | all | cities, regions, all | |
--devices | no | all | all, desktop, phone, tablet |
regions_tree.sh
Show common region IDs.
search_region.sh
Find region ID by name.
Wordstat Operators
Quotes "query"
Shows demand ONLY for this exact phrase (no additional words).
Exclamation !word
Fixes exact word form.
Combination "!word !word"
Exact phrase + exact forms.
Minus -word
Exclude queries with this word.
Grouping (a|b|c)
Multiple variants in one query.
Stop words
Always fix prepositions with `!`:
Analysis Strategy
- Broad query:
юрист дтп— see total volume - Narrow with quotes:
"юрист дтп"— exact phrase only - Fix forms:
"!юрист !по !дтп"— exact match - Clean with minus:
юрист дтп -бесплатно -онлайн - Expand: synonyms, related terms, client problems
Popular Region IDs
| Region | ID | |
|---|---|---|
| Россия | 225 | |
| Москва | 213 | |
| Москва и область | 1 | |
| Санкт-Петербург | 2 | |
| Екатеринбург | 54 | |
| Новосибирск | 65 | |
| Казань | 43 |
Run bash scripts/regions_tree.sh for full list.
Квоты и лимиты
Актуальные ограничения для Wordstat приведены в документации Yandex Search API.
Example Session
Key Points
- ВСЕГДА спрашивай регион и жди ответа
- ВСЕГДА уточняй что именно продаёт клиент
- ВСЕГДА проверяй интент через WebSearch
- Разделяй отчёт на целевые/нецелевые с объяснением
Расширенные сценарии
Поиск упущенного спроса
Анализ рекламной кампании Яндекс Директ для нахождения фраз, не покрытых текущей семантикой. Требования: XLSX-выгрузка из Яндекс Директ (лист «Тексты»). Подробнее: MISSED_DEMAND.md
Security
- Security scanPassed, 85 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/yandex-wordstat/skills/yandex-wordstat/SKILL.md
Popularity
- Repository stars
- 166
- Repository forks
- 38
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/artwist-polyakov/polyakov-claude-skills/yandex-wordstat)