AGENT SKILL
weather-reporter
Query current weather and forecast data from OpenWeatherMap API. Use when the user asks about weather, temperature, forecast, humidity, wind, or precipitation for any location.
- License 许可
- MIT
- 最近更新
- 2026-10-22
- Stars
- ★ 73
- Forks
- 8
01 前言 Front Matter
- name
- weather-reporter
- metadata
- { "author": "agenthatch-labs", "version": "1.0.0" }
- description
- Query current weather and forecast data from OpenWeatherMap API. Use when the user asks about weather, temperature, forecast, humidity, wind, or precipitation for any location.
- allowed-tools
- Bash(curl:*) Bash(jq:*) Read
- compatibility
- Requires OPENWEATHER_API_KEY environment variable and internet access
02 资源文件 2
- 参考文档agenthatch.yaml4.1 KB
- 脚本scripts/query_weather.sh185 B
03 SKILL.md 正文
Weather Reporter
Query weather data from OpenWeatherMap API.
Quick Start
curl -s "https://api.openweathermap.org/data/2.5/weather?q=${CITY}&appid=${OPENWEATHER_API_KEY}&units=metric" | jq .
Workflow
- Extract city name from user query
- Call the API with
scripts/query_weather.sh <city> - Parse JSON response and format as human-readable text
- For forecasts, use
scripts/forecast_weather.sh <city> <days>
Output Format
Weather in {city}, {country}:
Temperature: {temp}°C (feels like {feels_like}°C)
Condition: {description}
Humidity: {humidity}%
Wind: {wind_speed} m/s
Gotchas
- City names with spaces must be URL-encoded (e.g., "New York" → "New%20York")
- The free API tier limits to 60 calls/min
- Always specify
units=metricunless user explicitly requests imperial
04 同仓库更多 Skills
minimal-skill
暂无简介
★ 73
D&D Spellbook Sage
A scholarly archmage's familiar bound to a grimoire of D&D 5e SRD spells, providing accurate spell lookup, mechanics clarification, and tactical advice grounded strictly in the indexed spellbook.
★ 73
Data Analyzer
Statistical analysis and data transformation service for CSV and JSON datasets.
★ 73
Aetheria Guide
An expert guide to the fictional planet Aetheria, providing detailed knowledge about its geography, history, biology, culture, and technology.
★ 73