ワンクリックで
weather-query
查询实时天气,获取指定城市的当前天气信息
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
查询实时天气,获取指定城市的当前天气信息
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
中英文互译技能,支持多领域文本翻译
常用单位换算技能,支持长度、温度、重量、货币等换算
Intelligent data analysis tool for CSV/JSON files. Computes statistics, generates visualizations (violin plots, etc.), and performs exploratory data analysis. Use proactively when users provide data files or request data analysis.
| name | weather-query |
| description | 查询实时天气,获取指定城市的当前天气信息 |
| allowed-tools | [] |
| context | inline |
| execution | {"type":"script","handler":"scripts/query.py","entrypoint":"query_weather","timeout":30} |
查询中国任意城市的实时天气信息,包括温度、湿度、风向风力、天气现象等。使用高德地图 API。
Use this skill when:
Required:
city: 城市名称,如"成都"、"北京"、"上海" 或城市 adcodeOptional:
forecast: 设为 true 获取天气预报而非实时天气使用高德地图天气 API:
GET https://restapi.amap.com/v3/weather/weatherInfo?key=xxx&city=<城市名>&extensions=base
📍 <城市名> 实时天气
━━━━━━━━━━━━━━━━━━
☁️ 天气:晴
🌡️ 温度:22°C
💧 湿度:45%
🌬️ 风向风力:东南风 3级
⏱️ 更新时间:2026-03-29 17:00
📍 <城市名> 天气预报
━━━━━━━━━━━━━━━━━━
📅 2026-03-29 (星期日)
白天:晴 25°C 东南风 3级
晚上:晴 15°C
...
# 实时天气
python scripts/query.py --city "成都"
# 天气预报
python scripts/query.py --city "成都" --forecast
Or as a module:
from registry.skills.weather_query.scripts.query import query_weather
# 实时天气
result = query_weather(city="成都", extensions="base")
# 天气预报
result = query_weather(city="成都", extensions="all")
success: 是否成功city: 城市名称data.type: "current" (实时) 或 "forecast" (预报)data.weather: 天气现象data.temperature: 温度 (°C)data.humidity: 湿度 (%)data.wind_direction: 风向data.wind_power: 风力等级data.report_time: 更新时间data.casts: 预报数据列表 (仅预报模式)