weather · hkuds — Claude Code skill: what it does, how to install
Fetches current conditions and weather forecasts via wttr.in and Open-Meteo without API keys.
MIT 4 installs ★ 50,255 updated 2026-10-29
npx skills add HKUDS/nanobot --skill weather -a claude-codeWhat weather does
The skill provides instructions for querying weather data with curl. It relies on wttr.in for human-readable terminal output, short summaries, and airport lookups. When an agent needs structured data like temperature or wind speed based on coordinates, it queries the Open-Meteo JSON endpoint instead.
A local curl binary is required. Under Windows PowerShell, bare curl resolves to Invoke-WebRequest, so queries must explicitly call curl.exe.
What it helps with
- check current temperature and wind in a specific city
- fetch today's forecast in a single network call
- look up airport conditions with IATA codes
- query coordinates for JSON weather data via Open-Meteo
Example prompts for the agent
- What is the current weather in London?
- Show me today's forecast for JFK using metric units.
- Get JSON weather conditions for latitude 51.5 and longitude -0.12.
How to install weather
1Skills CLI (Vercel)
npx skills add HKUDS/nanobot --skill weather -a claude-code2Manually: put the files in place
~/.claude/skills/weather/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/weather/
1Skills CLI (Vercel)
npx skills add HKUDS/nanobot --skill weather -a codex2Manually: put the files in place
.agents/skills/weather/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add HKUDS/nanobot --skill weather -a cursor2Manually: put the files in place
.cursor/skills/weather/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install HKUDS/nanobot nanobot/skills/weather2Manually: put the files in place
.github/skills/weather/SKILL.md1Skills CLI (Vercel)
npx skills add HKUDS/nanobot --skill weather -a gemini-cli2Platform CLI
gemini skills install https://github.com/HKUDS/nanobot --path nanobot/skills/weatherManually: put the files in place
.devin/skills/weather/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add HKUDS/nanobot --skill weather -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about weather
How to install weather in Claude Code?
Run npx skills add HKUDS/nanobot --skill weather -a claude-code in your terminal.
Does the weather skill need an API key?
No keys are needed. Both wttr.in and Open-Meteo provide free endpoints without authentication.
What tools must be installed on the system?
You need curl. If you run Windows PowerShell, use curl.exe to avoid conflicts with the built-in Invoke-WebRequest alias.
Source text
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
Similar skills
All skills for Agent setup: memory, context, orchestration →weather by other authors comes first.