yandex-weather-smarthome

Gets current weather and short forecast (today/tomorrow) for the user's configured home location via Yandex Weather API. Trigger when user asks about weather, temperature, wind, conditions, or forecast in Russian/English: "какая погода", "погода", "погода на сегодня", "погода на завтра", "прогноз", "weather", "forecast", "weather tomorrow".

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "yandex-weather-smarthome" with this command: npx skills add alkselsv/yandex-weather-smarthome

Yandex Weather SmartHome

Purpose

Use this skill to quickly return the current weather and short forecast for the user's configured home coordinates.

Data source:

  • Yandex Weather API (https://api.weather.yandex.ru/v2/forecast)

Activation Rules

Activate automatically when the user asks about:

  • current weather ("какая погода", "погода сейчас", "weather now")
  • short forecast ("погода на сегодня", "погода на завтра", "forecast today/tomorrow")
  • weather conditions ("температура", "ветер", "осадки", "condition", "wind")

If the request is clearly about weather but location is not specified, use configured home coordinates from environment variables (do not ask for coordinates unless user explicitly requests another city/location).

Security and Secrets

  • Never print or expose YANDEX_WEATHER_KEY.
  • Never store API keys in files.
  • Read credentials only from environment variables.
  • If key/config is missing, explain what variable is missing in one short sentence.

Execution Workflow

  1. Run the local script:
python3 ~/.nanobot/workspace/skills/yandex-weather-smarthome/weather.py
  1. If the user asked for structured/raw output, run:
python3 ~/.nanobot/workspace/skills/yandex-weather-smarthome/weather.py --json
  1. Return weather result in Russian using the exact fixed multiline template below.
  2. Do not paraphrase, compress, or rewrite labels/sentences.

Response Style

  • Non-technical user-facing text: do not mention headers, endpoints, or internals unless user asks.
  • Always include:
    • current temperature
    • feels like
    • condition
    • wind speed
  • Include today/tomorrow forecast when available.
  • Use clear units (°C, м/с).

Strict Output Contract

  • Output MUST match the same section names and field labels:
    • Сейчас -> Температура, Ощущается как, Погода, Ветер
    • Сегодня -> Днём, Ночью, Описание
    • Завтра -> Днём, Ночью, Описание
  • Do not add extra words in headers (forbidden: Сейчас дома, Сейчас у вас).
  • Do not merge multiple fields into one sentence.
  • Do not rewrite in narrative style.
  • If a value is missing, keep the same label and print нет данных.

Required output format (use exactly this structure and labels):

Сейчас:
Температура: 9 °C
Ощущается как: 4 °C
Погода: облачно с прояснениями
Ветер: 4 м/с

Сегодня:
Днём: 12 °C
Ночью: 1 °C
Описание: пасмурно

Завтра:
Днём: 18 °C
Ночью: 7 °C
Описание: небольшой дождь

Error Handling

  • If required env var is missing:
    • Return one short action-oriented message naming the missing variable.
  • If HTTP/API error:
    • Retry once.
    • If still failing, return: "Не удалось получить погоду сейчас. Попробуйте чуть позже."
  • If script returns partial data:
    • Keep the same template and fill missing values as нет данных.

Required Environment Variables

YANDEX_WEATHER_KEY=<api_key>
YANDEX_WEATHER_LAT=<latitude>
YANDEX_WEATHER_LON=<longitude>

How to get API key (short)

  1. Open Yandex Weather SmartHome page and go to personal cabinet registration.
  2. Register with phone number and accept the user agreement.
  3. After registration, copy API key from the personal cabinet.
  4. Export the key as YANDEX_WEATHER_KEY.

Official page with FAQ and onboarding:

Example:

export YANDEX_WEATHER_KEY="your_key"
export YANDEX_WEATHER_LAT="52.721"
export YANDEX_WEATHER_LON="41.452"

Notes

  • The script already localizes weather conditions to Russian.
  • Default behavior is text output; use --json only when structured output is needed.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Find and Offer New Work and Tasks

Post jobs and hire people, or search for local work and apply. Connects employers and job-seekers via the Blossom marketplace.

Registry SourceRecently Updated
General

Get local help for shifts and tasks (Blossomai.org)

Post jobs and hire people, or search for local work and apply. Connects employers and job-seekers via the Blossom marketplace.

Registry SourceRecently Updated
2.6K1robbiwu
General

Golang Structs Interfaces

Golang struct and interface design patterns — composition, embedding, type assertions, type switches, interface segregation, dependency injection via interfa...

Registry SourceRecently Updated
2010samber
General

C2C Platform Skill System

C2C本地生活服务平台十大功能集群技能体系。基于"任务为中心,AI Pipeline驱动"思想,覆盖市场情报、内容运营、用户增长、交易数据、知识管理、合规风控、供需运营、平台协同、资质准入、技术保障十大业务流。触发词:C2C、本地生活、服务平台、撮合平台、交易平台、裂变、虚拟币、钱包、信用分、履约、条目、意图、易...

Registry SourceRecently Updated