name: weather-query description: Use when users ask about weather conditions, forecasts, or climate information for locations in China.
This skill enables AI agents to fetch real-time weather information and forecasts for locations in China using the provided shell scripts.
Use this skill when users: - Ask about current weather conditions - Want weather forecasts - Need temperature, humidity, wind information - Request air quality data - Plan outdoor activities and need weather info
Use the realtime.sh script to get current conditions, air quality, daily life indices, and weather alerts.
./scripts/realtime.sh <query> [--encoding <text|json|markdown>]
Use the forecast.sh script to get hourly and daily forecast data, along with sunrise/sunset times.
./scripts/forecast.sh <query> [--encoding <text|json|markdown>] [--days <0-8>]
query (Required): The name of the city, district, or area in Chinese (e.g., 雨花台, 北京). Can be provided as a positional argument or with --query.encoding (Optional): Used to specify the returned data format. Can be text, json, or markdown.days (Optional, forecast only): Used to specify the weather forecast date range. An integer between 0 and 8.To balance information depth with token consumption, you MUST use the following rules for the encoding parameter:
--encoding markdown)Why: Provides well-structured, easy-to-read information with moderate token usage.
Brief Information (--encoding text)
Why: Returns only essential details in plain text, saving maximum tokens.
Complete Information (--encoding json)
Poor AQI: Suggest wearing mask
Fallbacks: If a specific district doesn't work, try the city name
updated timestamp in the response小葱技能站7w4.net每天更新,海量AI技能等你发现。
The weather API supports most cities and districts in China, including: - Provincial capitals: 北京, 上海, 广州, 深圳, 成都, 杭州, 南京, 武汉, etc. - Major cities: 苏州, 青岛, 大连, 厦门, etc. - Districts: 海淀区, 朝阳区, 浦东新区, etc.
这是一款简洁实用的天气查询工具,通过输入城市名即可快速获取当前天气信息。文档说明详细,中英文支持良好,无需注册或付费即可使用。查询结果包含温度、湿度、风速、气压等丰富数据。不足之处是功能相对基础,仅能查询当天实时天气,无法查看未来几天的预报或历史天气记录。如果你需要的是一个轻量级的即时天气查询助手,这个 Skill 基本可以满足需求。