weather · hkuds — скилл для Claude Code: что делает и как установить
Скилл weather запрашивает текущую погоду и прогнозы через бесплатные сервисы wttr.in и Open-Meteo без регистрации и ключей API.
MIT 4 установок ★ 50 255 обновлён 2026-10-29
npx skills add HKUDS/nanobot --skill weather -a claude-codeЧто делает weather
Скилл учит агента запрашивать метеосводки через утилиту curl. Основным источником выступает сервис wttr.in, поддерживающий форматированный текст, коды аэропортов и вывод графики в PNG. Если нужен машиночитаемый JSON с температурой и скоростью ветра по координатам, агент обращается к Open-Meteo.
Для работы в системе обязательно должен быть бинарник curl. В Windows PowerShell вызов без расширения перехватывается встроенным командлетом Invoke-WebRequest, поэтому там нужно запускать именно curl.exe.
Какие задачи решает
- проверить текущую температуру и влажность в указанном городе
- получить прогноз на сегодня одним запросом без лишних вызовов
- узнать погоду по коду аэропорта
- получить структурированный JSON с погодой по координатам
Примеры запросов агенту
- Какая сейчас погода в Лондоне?
- Покажи прогноз на сегодня для JFK в метрической системе.
- Запроси данные о погоде для координат 51.5 и -0.12 в формате JSON.
Как установить weather
1Через Skills CLI (Vercel)
npx skills add HKUDS/nanobot --skill weather -a claude-code2Вручную: положить файлы
~/.claude/skills/weather/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/weather/
1Через Skills CLI (Vercel)
npx skills add HKUDS/nanobot --skill weather -a codex2Вручную: положить файлы
.agents/skills/weather/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add HKUDS/nanobot --skill weather -a cursor2Вручную: положить файлы
.cursor/skills/weather/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install HKUDS/nanobot nanobot/skills/weather2Вручную: положить файлы
.github/skills/weather/SKILL.md1Через Skills CLI (Vercel)
npx skills add HKUDS/nanobot --skill weather -a gemini-cli2Командой платформы
gemini skills install https://github.com/HKUDS/nanobot --path nanobot/skills/weatherВручную: положить файлы
.devin/skills/weather/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add HKUDS/nanobot --skill weather -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о weather
Как установить weather в Claude Code?
Выполните в терминале команду npx skills add HKUDS/nanobot --skill weather -a claude-code.
Нужен ли API-ключ для работы скилла weather?
Ключи не нужны. Сервисы wttr.in и Open-Meteo работают бесплатно и не требуют авторизации.
Что нужно установить заранее?
Требуется утилита curl. В среде Windows PowerShell запускайте curl.exe, чтобы команда не конфликтовала с Invoke-WebRequest.
Исходный текст
SKILL.md · MIT
---
name: weather
description: Get current weather and forecasts.
homepage: https://wttr.in/:help
metadata: {"nanobot":{"emoji":"🌤️","requires":{"bins":["curl"]}}}
---
# Weather
Two free services, no API keys needed.
## wttr.in (primary)
Choose one request that matches the user's scope. Do not fetch current
conditions separately when a today or forecast request already includes them.
Platform notes:
- On Windows PowerShell, use `curl.exe`; bare `curl` may resolve to
`Invoke-WebRequest`.
- On macOS and Linux, use `curl`.
Current conditions only:
```bash
curl -s "https://wttr.in/London?format=3"
# Output: London: ⛅️ +8°C
```
Custom current conditions format:
```bash
curl -s "https://wttr.in/London?format=%l:+%c+%t+%h+%w"
# Output: London: ⛅️ +8°C 71% ↙5km/h
```
Today's weather, including current conditions (use this single request for
questions about today's weather):
```bash
curl -s "https://wttr.in/London?1&m"
```
Full forecast:
```bash
curl -s "https://wttr.in/London?T&m"
```
On Windows PowerShell, replace `curl` with `curl.exe` in the commands above.
Format codes: `%c` condition · `%t` temp · `%h` humidity · `%w` wind · `%l` location · `%m` moon
Tips:
- URL-encode spaces: `wttr.in/New+York`
- Airport codes: `wttr.in/JFK`
- Units: `?m` (metric) `?u` (USCS)
- Today only: `?1` · Current only: `?0`
- PNG (macOS/Linux): `curl -s "https://wttr.in/Berlin.png" -o weather.png`
- PNG (Windows PowerShell): `curl.exe -s "https://wttr.in/Berlin.png" -o weather.png`
## Open-Meteo (fallback, JSON)
Free, no key, good for programmatic use:
```bash
curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12¤t_weather=true"
```
Find coordinates for a city, then query. Returns JSON with temp, windspeed, weathercode.
Docs: https://open-meteo.com/en/docs
© HKUDS · MIT · HKUDS/nanobot
Похожие скиллы
Все скиллы по теме «Настройка агента: память, контекст, субагенты» →Сначала — weather от других авторов.