원클릭으로
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: 预报数据列表 (仅预报模式)