weather
Get current weather and forecasts using free APIs (no API key required). Use when asked about weather, temperature, forecasts, or climate conditions for any location.
npx skills add gooseworks-ai/goose-skills --skill weather --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Weather ## Setup Read your credentials from ~/.gooseworks/credentials.json: ```bash export GOOSEWORKS_API_KEY=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json'))['api_key'])") export GOOSEWORKS_API_BASE=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json')).get('api_base','https://api.gooseworks.ai'))") ``` If ~/.gooseworks/credentials.json does not exist, tell the user to run: `npx gooseworks login` All endpoints use Bearer auth: `-H "Authorization: Bearer $GOOSEWORKS_API_KEY"` Get weather data using free services - no API keys needed. ## wttr.in (Primary) Fast, simple, works everywhere. **Quick check:** ```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 | Code | Meaning | |------|---------| | `%c` | Weather condition emoji | | `%t` | Temperature | | `%h` | Humidity | | `%w` | Wind | | `%l` | Location | | `%m` | Moon phase | ### Tips - URL-encode spaces: `wttr.in/New+York` or `wttr.in/San%20Francisco` - Ai
- Setup
- wttr.in (Primary)
- Format Codes
- Tips
- Open-Meteo (JSON API)
- Get coordinates first
- Examples
export GOOSEWORKS_API_KEY=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json'))['api_key'])")
export GOOSEWORKS_API_BASE=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json')).get('api_base','https://api.gooseworks.ai'))")
curl -s "wttr.in/London?format=3"
curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
curl -s "wttr.in/London?T"
curl -s "https://api.open-meteo.com/v1/forecast?latitude=37.77&longitude=-122.42¤t_weather=true"
curl -s "https://geocoding-api.open-meteo.com/v1/search?name=San+Francisco&count=1"
curl -s "wttr.in/San+Francisco?format=3"
curl -s "wttr.in/Tokyo?3T"
curl -s "https://api.open-meteo.com/v1/forecast?latitude=35.68&longitude=139.69¤t_weather=true&hourly=temperature_2m"What does the weather skill do?
Get current weather and forecasts using free APIs (no API key required). Use when asked about weather, temperature, forecasts, or climate conditions for any location.
How do I install it?
Run `npx skills add gooseworks-ai/goose-skills --skill weather --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From gooseworks-ai/goose-skills, a repository with 1,091 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
