Logotipo de Yandex Wordstat

Yandex Wordstat

Comunidad
artwist-polyakov
yandex-wordstat

Анализ поискового спроса через Yandex Wordstat API. Используй когда нужно: исследовать спрос, семантическое ядро, частотность запросов, сезонность или региональный спрос. Топ до 2000 запросов, ассоциации, динамика, экспорт CSV. Поиск упущенного спроса: анализ XLSX-выгрузки из Яндекс Директ, сегментация фраз, расширение семантики, сравнение OR-запросов. Triggers: упущенный спрос.

Descripción general

Editorartwist-polyakov
Repositoriopolyakov-claude-skills
Nombre de la habilidadyandex-wordstat
Estrellas
218
Forks
55
Archivos incluidos
21
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 21

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por artwist-polyakov en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Yandex Wordstat en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/artwist-polyakov/polyakov-claude-skills/tree/main/plugins/yandex-wordstat/skills/yandex-wordstat
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/artwist-polyakov/polyakov-claude-skills.git /tmp/polyakov-claude-skills
mkdir -p .claude/skills
cp -r /tmp/polyakov-claude-skills/plugins/yandex-wordstat/skills/yandex-wordstat .claude/skills/yandex-wordstat
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Yandex Wordstat en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Yandex Wordstat automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Yandex Wordstat no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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

  1. Skepticism to non-target demand — high numbers don't mean quality traffic
  2. Creative semantic expansion — think like a customer
  3. Always clarify region — ask user for target region before analysis
  4. Show operators in reports — include Wordstat operators for verification
  5. 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:

  1. What does the person want to BUY? (not just "what are they interested in")
  2. Will they buy OUR product from this search?
  3. Or are they looking for something adjacent/complementary?

MANDATORY: Use WebSearch

Always run WebSearch to check:

WebSearch: "каолиновая вата для дымохода" что ищут покупатели

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

QueryLooks likeActuallyTarget?
каолиновая вата для дымоходаchimney buyercotton wool buyer❌ NO
дымоход купитьchimney buyerchimney buyer✅ YES
утепление дымоходаchimney buyerinsulation DIYer❌ NO
дымоход сэндвич ценаchimney buyerchimney buyer✅ YES
потерпевший дтпlawyer clientnews reader❌ NO
юрист после дтпlawyer clientlawyer client✅ YES

Workflow Update

  1. Find queries in Wordstat
  2. WebSearch each promising query to verify intent
  3. Mark as target ONLY if intent matches the sale
  4. Report both target AND rejected queries with reasoning

Workflow

STOP! Before any analysis:

  1. ASK user about region and WAIT for answer:

    "Для какого региона анализировать спрос?
    - Вся Россия (по умолчанию)
    - Москва и область
    - Конкретный город (какой?)"

    НЕ ПРОДОЛЖАЙ пока пользователь не ответит!

  2. ASK about business goal:

    "Что именно вы продаёте/рекламируете?
    Это важно для фильтрации нецелевых запросов."

After getting answers:

  1. Check connection: bash scripts/quota.sh
  2. Run analysis using appropriate script
  3. Verify intent via WebSearch for each promising query
  4. Present results with target/non-target separation

Scripts

quota.sh

Check API connection.

bash
bash scripts/quota.sh

top_requests.sh

Get top search phrases. Supports up to 2000 results and CSV export.

bash
bash scripts/top_requests.sh \
  --phrase "юрист дтп" \
  --regions "213" \
  --devices "all"

# Extended: 500 results exported to CSV
bash scripts/top_requests.sh \
  --phrase "юрист дтп" \
  --limit 500 \
  --csv report.csv

# Max results with comma separator
bash scripts/top_requests.sh \
  --phrase "юрист дтп" \
  --limit 2000 \
  --csv full_report.csv \
  --sep ","
ParamRequiredDefaultValues
--phraseyes-text with operators
--regionsnoallcomma-separated IDs
--devicesnoallall, desktop, phone, tablet
--limitno50 (set by the skill)1-2000 (maps to API numPhrases)
--csvno-path to output CSV file
--sepno;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:

bash
# Export 2000 results
bash scripts/top_requests.sh --phrase "query" --limit 2000 --csv data.csv

# Read first 50 rows (header + data)
head -n 51 data.csv

# Read rows 51-100
tail -n +52 data.csv | head -50

# Count total rows
wc -l < data.csv

# Filter only associations
grep ";assoc$" data.csv

This approach lets the agent process large datasets without flooding stdout.

dynamics.sh

Get search volume trends over time.

bash
bash scripts/dynamics.sh \
  --phrase "юрист дтп" \
  --period "monthly" \
  --from-date "2025-01-01"
ParamRequiredDefaultValues
--phraseyes-text
--periodnomonthlydaily, weekly, monthly
--from-dateyes-YYYY-MM-DD
--to-datenotodayYYYY-MM-DD
--regionsnoallregion IDs
--devicesnoallall, desktop, phone, tablet

regions_stats.sh

Get regional distribution.

bash
bash scripts/regions_stats.sh \
  --phrase "юрист дтп" \
  --region-type "cities"
ParamRequiredDefaultValues
--phraseyes-text
--region-typenoallcities, regions, all
--devicesnoallall, desktop, phone, tablet

regions_tree.sh

Show common region IDs.

bash
bash scripts/regions_tree.sh

search_region.sh

Find region ID by name.

bash
bash scripts/search_region.sh --name "Москва"

Wordstat Operators

Quotes "query"

Shows demand ONLY for this exact phrase (no additional words).

"юрист дтп" → "юрист дтп", "юристы дтп"
             but NOT "юрист по дтп"

Exclamation !word

Fixes exact word form.

!юрист → "юрист по дтп", "юрист москва"
         but NOT "юристы", "юриста"

Combination "!word !word"

Exact phrase + exact forms.

"!юрист !по !дтп" → only "юрист по дтп"

Minus -word

Exclude queries with this word.

юрист дтп -бесплатно -консультация

Grouping (a|b|c)

Multiple variants in one query.

(юрист|адвокат) дтп → combined demand

Stop words

Always fix prepositions with !:

юрист !по дтп    ← correct
юрист по дтп     ← "по" ignored!

Analysis Strategy

  1. Broad query: юрист дтп — see total volume
  2. Narrow with quotes: "юрист дтп" — exact phrase only
  3. Fix forms: "!юрист !по !дтп" — exact match
  4. Clean with minus: юрист дтп -бесплатно -онлайн
  5. Expand: synonyms, related terms, client problems

Popular Region IDs

RegionID
Россия225
Москва213
Москва и область1
Санкт-Петербург2
Екатеринбург54
Новосибирск65
Казань43

Run bash scripts/regions_tree.sh for full list.

Квоты и лимиты

Актуальные ограничения для Wordstat приведены в документации Yandex Search API.

Example Session

User: Найди запросы для рекламы дымоходов

Claude: Для какого региона анализировать спрос?
        И уточните — вы продаёте готовые дымоходы или
        материалы для их изготовления/утепления?

User: Москва, продаём готовые сэндвич-дымоходы

Claude: [Запускает анализ для региона 213]

        Нашёл запросы. Проверяю интент через веб-поиск...

        ✅ ЦЕЛЕВЫЕ (покупают дымоходы):
        - "дымоход сэндвич купить" — 450 показов
        - "дымоход для бани цена" — 380 показов

        ❌ НЕ ЦЕЛЕВЫЕ (покупают другое):
        - "каолиновая вата для дымохода" — ищут утеплитель, не дымоход
        - "монтаж дымохода своими руками" — DIY, не покупатели
        - "чистка дымохода" — уже владеют, сервисный запрос

Key Points

  1. ВСЕГДА спрашивай регион и жди ответа
  2. ВСЕГДА уточняй что именно продаёт клиент
  3. ВСЕГДА проверяй интент через WebSearch
  4. Разделяй отчёт на целевые/нецелевые с объяснением

Расширенные сценарии

Поиск упущенного спроса

Анализ рекламной кампании Яндекс Директ для нахождения фраз, не покрытых текущей семантикой. Требования: XLSX-выгрузка из Яндекс Директ (лист «Тексты»). Подробнее: MISSED_DEMAND.md

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Yandex Wordstat?

Анализ поискового спроса через Yandex Wordstat API. Используй когда нужно: исследовать спрос, семантическое ядро, частотность запросов, сезонность или региональный спрос. Топ до 2000 запросов, ассоциации, динамика, экспорт CSV. Поиск упущенного спроса: анализ XLSX-выгрузки из Яндекс Директ, сегментация фраз, расширение семантики, сравнение OR-запросов. Triggers: упущенный спрос.

¿Por qué usar Yandex Wordstat en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Yandex Wordstat está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Yandex Wordstat en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/artwist-polyakov/polyakov-claude-skills/tree/main/plugins/yandex-wordstat/skills/yandex-wordstat. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Yandex Wordstat?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Yandex Wordstat?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Yandex Wordstat con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Yandex Wordstat?

Sí. artwist-polyakov la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇