weather · happycapy-ai — Claude Code skill: forecasts and setup
Fetches current conditions and forecasts for a city or airport. It works for quick answers and JSON-based weather requests.
MIT ★ 138 updated 2026-09-03
npx skills add happycapy-ai/Happycapy-skills --skill weather -a claude-codeWhat weather does
The skill retrieves weather data through wttr.in. It can return a compact result or a fuller forecast with temperature, humidity, wind, and condition details. City names containing spaces use +, and airport codes can be queried directly.
For scripts and other programmatic tasks, the skill includes an Open-Meteo fallback that returns JSON from latitude and longitude values. Neither service needs an API key. The requests depend on curl being available in PATH.
What it helps with
- check current conditions for a city
- fetch a forecast by airport code
- request weather data as JSON
- show temperature, humidity, and wind
- save a forecast as PNG
Example prompts for the agent
- Show the current weather for
Londonin a compact format. - Get the full
wttr.inforecast forNew+York. - Query
Open-Meteofor this city's coordinates and return the weather as JSON.
How to install weather
1Skills CLI (Vercel)
npx skills add happycapy-ai/Happycapy-skills --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 happycapy-ai/Happycapy-skills --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 happycapy-ai/Happycapy-skills --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 happycapy-ai/Happycapy-skills skills/weather2Manually: put the files in place
.github/skills/weather/SKILL.md1Skills CLI (Vercel)
npx skills add happycapy-ai/Happycapy-skills --skill weather -a gemini-cli2Platform CLI
gemini skills install https://github.com/happycapy-ai/Happycapy-skills --path skills/weatherManually: put the files in place
.devin/skills/weather/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.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 do I install weather in Claude Code?
Run npx skills add happycapy-ai/Happycapy-skills --skill weather -a claude-code, then use ~/.claude/skills/weather/SKILL.md.
What does weather do?
It retrieves current conditions and forecasts from wttr.in, with Open-Meteo available for JSON-oriented requests. Queries can use city names or airport codes.
What does weather require to work?
The skill runs curl commands, so curl must be available in PATH. Neither wttr.in nor Open-Meteo requires an API key.
Source text
SKILL.md · MIT
---
name: weather
description: Get current weather and forecasts (no API key required).
homepage: https://wttr.in/:help
metadata: { "openclaw": { "emoji": "🌤️", "requires": { "bins": ["curl"] } } }
---
# Weather
Two free services, no API keys needed.
## wttr.in (primary)
Quick one-liner:
```bash
curl -s "wttr.in/London?format=3"
# Output: London: ⛅️ +8°C
```
Compact format:
```bash
curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
# Output: London: ⛅️ +8°C 71% ↙5km/h
```
Full forecast:
```bash
curl -s "wttr.in/London?T"
```
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: `curl -s "wttr.in/Berlin.png" -o /tmp/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
© happycapy-ai · MIT · happycapy-ai/Happycapy-skills
Similar skills
All skills for Backend and APIs →weather by other authors comes first.