Weather Automation — скилл для Claude Code: погода и установка
Скилл получает текущую погоду и прогноз, создаёт предупреждения по условиям и запускает погодные сценарии для выбранных локаций.
npx skills add claude-office-skills/skills --skill weather-automation -a claude-codeЧто делает Weather Automation
Weather Automation работает через MCP-сервер weather-mcp. Он вызывает weather_current, weather_forecast, weather_alerts и weather_historical, чтобы получать текущие условия, прогнозы, предупреждения и исторические данные.
Скилл принимает локации, диапазоны дат, пороги предупреждений и триггеры автоматизации. Сценарии могут отправлять уведомления, проверять погоду перед событием календаря или запускать действие для Home Assistant. Пороговые уведомления нужно задать заранее, поэтому это повод проверить условия срабатывания до запуска.
Для частых запросов автор советует использовать кэширование. Также в сценариях предусмотрены метрические и имперские единицы.
Какие задачи решает
- получать текущую погоду по локации или координатам
- запрашивать прогноз для даты или нескольких дней
- настраивать предупреждения о дожде и заморозках
- проверять погоду перед событием из календаря
- отправлять погодную сводку в Slack
Примеры запросов агенту
- «Получи текущую погоду для San Francisco, CA»
- «Настрой предупреждение, если вероятность осадков превысит 70% в ближайшие 6 часов»
- «Проверь прогноз для завтрашнего события из календаря и предупреди организатора о дожде»
Как установить Weather Automation
1Через Skills CLI (Vercel)
npx skills add claude-office-skills/skills --skill weather-automation -a claude-code2Вручную: положить файлы
~/.claude/skills/weather-automation/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/weather-automation/
1Через Skills CLI (Vercel)
npx skills add claude-office-skills/skills --skill weather-automation -a codex2Вручную: положить файлы
.agents/skills/weather-automation/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add claude-office-skills/skills --skill weather-automation -a cursor2Вручную: положить файлы
.cursor/skills/weather-automation/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install claude-office-skills/skills weather-automation2Вручную: положить файлы
.github/skills/weather-automation/SKILL.md1Через Skills CLI (Vercel)
npx skills add claude-office-skills/skills --skill weather-automation -a gemini-cli2Командой платформы
gemini skills install https://github.com/claude-office-skills/skills --path weather-automationВручную: положить файлы
.devin/skills/weather-automation/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add claude-office-skills/skills --skill weather-automation -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о Weather Automation
Как установить Weather Automation в Claude Code?
Выполните npx skills add claude-office-skills/skills --skill weather-automation -a claude-code, затем повторите npx skills add claude-office-skills/skills --skill weather-automation -a claude-code. Файл скилла находится по пути ~/.claude/skills/weather-automation/SKILL.md.
Что делает Weather Automation?
Скилл получает текущие погодные условия, прогнозы, предупреждения и исторические данные. На их основе он помогает строить уведомления и сценарии по погодным условиям.
Какие данные нужны для погодных сценариев?
Можно передавать локации, диапазоны дат, пороги предупреждений и триггеры автоматизации. Локацию можно задавать названием или координатами.
Исходный текст
SKILL.md · MIT
---
name: Weather Automation
description: Automate weather-based workflows, forecasts, alerts, and location-aware notifications
version: 1.0.0
author: Claude Office Skills
category: utilities
tags:
- weather
- forecast
- alerts
- location
- automation
department: operations
models:
- claude-3-opus
- claude-3-sonnet
- gpt-4
mcp:
server: weather-mcp
tools:
- weather_current
- weather_forecast
- weather_alerts
- weather_historical
capabilities:
- Current conditions
- Forecast retrieval
- Weather alerts
- Historical data
input:
- Locations
- Date ranges
- Alert thresholds
- Automation triggers
output:
- Weather data
- Forecasts
- Alert notifications
- Reports
languages:
- en
related_skills:
- calendar-automation
- home-assistant
- slack-workflows
---
# Weather Automation
Automate weather-based workflows and notifications.
## Core Capabilities
### Current Weather
```yaml
current_weather:
location: "San Francisco, CA"
# or coordinates
lat: 37.7749
lon: -122.4194
response:
temperature: 65°F
feels_like: 63°F
humidity: 72%
wind_speed: 12 mph
conditions: "Partly Cloudy"
uv_index: 5
```
### Forecast
```yaml
forecast:
location: "New York, NY"
days: 7
daily:
- date: "2024-01-20"
high: 45°F
low: 32°F
conditions: "Snow"
precipitation_chance: 80%
hourly:
interval: 3 # hours
periods: 24
```
### Weather Alerts
```yaml
alert_rules:
- name: "Rain Alert"
condition:
precipitation_chance: "> 70%"
within_hours: 6
action:
notify: slack
message: "☔ Rain expected in next 6 hours"
- name: "Freeze Warning"
condition:
temperature: "< 32°F"
action:
- notify: sms
- trigger: home_assistant
action: protect_pipes
```
## Workflow Examples
### Morning Briefing
```yaml
morning_weather:
trigger: daily at 6:30 AM
actions:
- get_forecast:
location: home
days: 1
- send_notification:
channel: slack_dm
message: |
🌤️ Good morning! Today's weather:
High: {{high}}°F | Low: {{low}}°F
{{conditions}}
{{#if rain}}☔ Bring an umbrella!{{/if}}
```
### Event Planning
```yaml
event_weather:
trigger: calendar_event_tomorrow
condition:
event_type: outdoor
actions:
- get_forecast:
location: "{{event.location}}"
date: "{{event.date}}"
- if:
precipitation_chance: "> 50%"
then:
- notify: organizer
message: "Consider backup venue - rain likely"
```
## Best Practices
1. **Caching**: Cache frequent requests
2. **Units**: Support both metric/imperial
3. **Accuracy**: Use reliable data sources
4. **Alerts**: Set sensible thresholds
5. **Location**: Support multiple formats
© Claude Office Skills · MIT · claude-office-skills/skills