Weather

From ericwang915/PythonClaw · View interactive version

Weather is an AI agent skill from the GitHub repository ericwang915/PythonClaw. Get current weather and forecasts via Open-Meteo and wttr.in. Use when: user asks about weather, temperature, rain, wind, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed.

How to use this skill

Skill file

Weather Skill

Fetch current weather and forecasts via Open-Meteo (Python script) or wttr.in (curl).

When to Use

✅ USE this skill when:

When NOT to Use

❌ DON'T use this skill when:

Usage/Commands

Option A — Python script (Open-Meteo)

python {skill_path}/weather.py "City Name" [options]

Options:

Option B — wttr.in (curl, no Python needed)

# Current weather for a city
curl -s "wttr.in/CityName?format=%l%20%t%20%h%20%w%20%c"

# Human-readable output (default)
curl -s "wttr.in/CityName"

# JSON output
curl -s "wttr.in/CityName?format=j1"

# 3-day forecast
curl -s "wttr.in/CityName?2"

Examples

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.