qweather
SKILL.md
qweather — Weather Query Skill
Query real-time weather, forecasts, and life indices via QWeather (和风天气) API.
Quick Start
- Ensure
QWEATHER_API_KEYandQWEATHER_API_HOSTare set (get both at https://console.qweather.com). - Run
bun scripts/weather.ts --helpin this skill directory. - Pick the matching command from
references/command-map.md.
Workflow
- If the user provides a city name (e.g. "北京", "Shanghai"), first run
lookupto get the LocationID. - Use the LocationID to call
now,forecast, orindices. - Return the result in natural language.
Common City Mapping
When the user provides a city name, use the lookup command to resolve it to a LocationID. Common examples:
- 北京 → 101010100
- 上海 → 101020100
- 广州 → 101280101
- 深圳 → 101280601
Always use lookup for unfamiliar city names to get the correct LocationID.
Notes
- This skill is script-first and does not run an MCP server.
- Requires
QWEATHER_API_KEYandQWEATHER_API_HOSTenvironment variables. - API host is per-developer, find yours at https://console.qweather.com/setting
- Data updated every 10-20 minutes for real-time weather.
Weekly Installs
2
Repository
deusyu/rainman-skillsGitHub Stars
6
First Seen
4 days ago
Security Audits
Installed on
amp2
cline2
opencode2
cursor2
kimi-cli2
codex2