技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
google-weather【数据与研究】Google Weather API - accurate, real-time weather data. Get current conditions, temperature, humidity, wind, and forecasts. Powered by Google's Weather API for reliable, hyperlocal data updated every 15 minutes. Supports any location worldwide.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Get accurate weather conditions using Google's Weather API. Requires a Google Cloud API key with Weather API enabled.
# Current weather (formatted output)
python3 skills/google-weather/lib/weather_helper.py current "New York"
python3 skills/google-weather/lib/weather_helper.py current "London"
python3 skills/google-weather/lib/weather_helper.py current "Sydney"
# 24h Forecast
python3 skills/google-weather/lib/weather_helper.py forecast "Tel Aviv"
# Raw JSON data
python3 skills/google-weather/lib/weather_helper.py json "Paris"
*New York*
Partly Cloudy ⛅
🌡️ 12°C (feels like 10°C)
💨 Wind: 18 km/h NORTHWEST
💧 Humidity: 55%
*24h Forecast for Tel Aviv*
18:00: 17.8°C, ☀️ 5 km/h NORTH
22:00: 14.3°C, ☀️ 6 km/h EAST_NORTHEAST
02:00: 12.8°C, ⛅ 8 km/h NORTHEAST
06:00: 10.8°C, ☀️ 6 km/h EAST_NORTHEAST
10:00: 16.1°C, ☀️ 5 km/h SOUTH
14:00: 20.4°C, 🌤️ 8 km/h WEST_NORTHWEST
Any location worldwide - just type the city name:
New York, London, Paris, Berlin, SydneySan Francisco, Berlin, Singapore, DubaiThe skill automatically geocodes locations using Google Maps API.
GOOGLE_API_KEY environment variableAlso supports
GOOGLE_WEATHER_API_KEYorGOOGLE_MAPS_API_KEYif you already have one configured.
Output adapts to location - supports English, Hebrew, and other languages based on the language parameter.
# Hebrew output
python3 skills/google-weather/lib/weather_helper.py current "Tel Aviv"
# Output: בהיר ☀️ 19°C...