Weather

Get current weather and forecasts using free APIs (no API key required).

How to use it

  1. Hit Copy the whole skill.
  2. Claude: ⋯ → Download .md, then Customize → Skills → Add → Upload skill.
    ChatGPT: make a Project and paste it into Instructions.
    Neither? Paste it at the top of a new chat — it works for that chat.
  3. Describe your job in plain words. The AI follows the skill from there.
Claude Code — installs the whole folder, not just SKILL.md
npx degit gooseworks-ai/goose-skills/skills/research-tools/capabilities/weather#main ~/.claude/skills/weather

For one project only, change the path to .claude/skills/weather.

Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Show the full text94 lines
weather/SKILL.md94 lines2.3 KBpushed 96d agoRawView on GitHub

Weather

Setup

Read your credentials from ~/.gooseworks/credentials.json:

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:

curl -s "wttr.in/London?format=3"
# Output: London: ⛅️ +8°C

Compact format:

curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
# Output: London: ⛅️ +8°C 71% ↙5km/h

Full forecast:

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
  • Airport codes work: wttr.in/JFK, wttr.in/SFO
  • Units: ?m metric, ?u USCS (Fahrenheit)
  • Limit days: ?1 today only, ?0 current only
  • Save as image: curl -s "wttr.in/Berlin.png" -o weather.png

Open-Meteo (JSON API)

Better for programmatic use. Free, no key.

curl -s "https://api.open-meteo.com/v1/forecast?latitude=37.77&longitude=-122.42&current_weather=true"

Response includes: temperature, windspeed, weathercode, time.

Get coordinates first

curl -s "https://geocoding-api.open-meteo.com/v1/search?name=San+Francisco&count=1"

Examples

San Francisco right now:

curl -s "wttr.in/San+Francisco?format=3"

Tokyo 3-day forecast:

curl -s "wttr.in/Tokyo?3T"

JSON weather for coordinates:

curl -s "https://api.open-meteo.com/v1/forecast?latitude=35.68&longitude=139.69&current_weather=true&hourly=temperature_2m"
1---
2name: weather
3description: 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.
4source: orthogonal
5---
6 
7 
8# Weather
9 
10## Setup
11 
12Read your credentials from ~/.gooseworks/credentials.json:
13```bash
14export GOOSEWORKS_API_KEY=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json'))['api_key'])")
15export GOOSEWORKS_API_BASE=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json')).get('api_base','https://api.gooseworks.ai'))")
16```
17 
18If ~/.gooseworks/credentials.json does not exist, tell the user to run: `npx gooseworks login`
19 
20All endpoints use Bearer auth: `-H "Authorization: Bearer $GOOSEWORKS_API_KEY"`
21 
22 
23Get weather data using free services - no API keys needed.
24 
25## wttr.in (Primary)
26 
27Fast, simple, works everywhere.
28 
29**Quick check:**
30```bash
31curl -s "wttr.in/London?format=3"
32# Output: London: ⛅️ +8°C
33```
34 
35**Compact format:**
36```bash
37curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
38# Output: London: ⛅️ +8°C 71% ↙5km/h
39```
40 
41**Full forecast:**
42```bash
43curl -s "wttr.in/London?T"
44```
45 
46### Format Codes
47| Code | Meaning |
48|------|---------|
49| `%c` | Weather condition emoji |
50| `%t` | Temperature |
51| `%h` | Humidity |
52| `%w` | Wind |
53| `%l` | Location |
54| `%m` | Moon phase |
55 
56### Tips
57- URL-encode spaces: `wttr.in/New+York` or `wttr.in/San%20Francisco`
58- Airport codes work: `wttr.in/JFK`, `wttr.in/SFO`
59- Units: `?m` metric, `?u` USCS (Fahrenheit)
60- Limit days: `?1` today only, `?0` current only
61- Save as image: `curl -s "wttr.in/Berlin.png" -o weather.png`
62 
63## Open-Meteo (JSON API)
64 
65Better for programmatic use. Free, no key.
66 
67```bash
68curl -s "https://api.open-meteo.com/v1/forecast?latitude=37.77&longitude=-122.42&current_weather=true"
69```
70 
71Response includes: temperature, windspeed, weathercode, time.
72 
73### Get coordinates first
74```bash
75curl -s "https://geocoding-api.open-meteo.com/v1/search?name=San+Francisco&count=1"
76```
77 
78## Examples
79 
80**San Francisco right now:**
81```bash
82curl -s "wttr.in/San+Francisco?format=3"
83```
84 
85**Tokyo 3-day forecast:**
86```bash
87curl -s "wttr.in/Tokyo?3T"
88```
89 
90**JSON weather for coordinates:**
91```bash
92curl -s "https://api.open-meteo.com/v1/forecast?latitude=35.68&longitude=139.69&current_weather=true&hourly=temperature_2m"
93```
94 

Discussion

Alternatives

Also in Services & APIs
Context7Pulls up-to-date, version-specific library docs and code examples into the prompt so the AI stops inventing old APIs.Coding · MITAdaptyv Bio Foundry APIHow to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval. Use this skill whenever the user mentions Adaptyv, Foundry API, protein binding assays, protein screening experiments, BLI/SPR assays, thermostability assays, or wants to submit protein sequences for experimental characterization. Also trigger when code imports `adaptyv`, `adaptyv_sdk`, or `FoundryClient`, or references `foundry-api-public.adaptyvbio.com`.Science · MIT.NET Backend Development PatternsMaster C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.Coding · MITAdd AI protectionProtect AI chat and completion endpoints from abuse — detect prompt injection and jailbreak attempts, block PII and sensitive info from leaking in responses, and enforce token budget rate limits to control costs. Use this skill when the user is building or securing any endpoint that processes user prompts with an LLM, even if they describe it as "preventing jailbreaks," "stopping prompt attacks," "blocking sensitive data," or "controlling AI API costs" rather than naming specific protections.Coding · CC0-1.0