weather
直接从专业天气API获取实时天气数据和历史天气信息。当需要查询任意城市的当前天气、未来预报、空气质量等精准气象数据时使用该技能。
When & Why to Use This Skill
This Claude skill provides real-time, high-precision meteorological data by integrating directly with professional weather APIs. It offers a significant upgrade over general web searches by delivering specific metrics such as current temperature, humidity, wind speed, multi-day forecasts, and Air Quality Index (AQI) for any global city, ensuring users have actionable and accurate environmental insights.
Use Cases
- Travel Planning: Retrieve detailed 7-day forecasts for specific destinations to optimize packing lists and outdoor itineraries.
- Event Coordination: Monitor real-time weather conditions and wind alerts to manage logistics for outdoor weddings, sports, or corporate events.
- Health & Daily Routine: Check localized Air Quality Index (AQI) and UV levels to plan outdoor exercise or manage health sensitivities.
- Logistics & Transportation: Access immediate weather updates to anticipate potential delays in shipping or commuting due to adverse conditions like heavy rain or snow.
| name | weather |
|---|---|
| description | 直接从专业天气API获取实时天气数据和历史天气信息。当需要查询任意城市的当前天气、未来预报、空气质量等精准气象数据时使用该技能。 |
| author | Alice |
| version | 1.0.0 |
Weather 技能
功能概述
本技能通过直接调用专业天气服务API获取气象数据,提供比搜索工具更实时、更准确的天气信息。
核心能力
- 实时天气查询(温度、湿度、风力、天气状况)
- 未来预报查询(24小时预报、多日预报)
- 空气质量查询
- 支持全球城市搜索
使用说明
调用 weather_tool.py 并传入城市名称即可获取天气数据。
依赖
- 天气API服务接入(需要API Key)
- requests 库