China Weather
Use the bundled script to resolve Chinese place names and retrieve current conditions plus forecasts from Open-Meteo. Do not invent or interpolate missing weather data.
Query
Run one of these commands from the skill directory:
python3 scripts/china_weather.py "杭州"
python3 scripts/china_weather.py "深圳南山区" --days 3
python3 scripts/china_weather.py "北京" --days 1 --format json
If python3 is unavailable, use python.
For coordinates supplied by the user, bypass place-name resolution:
python3 scripts/china_weather.py --latitude 31.2304 --longitude 121.4737 --days 5
Respond
- State the resolved location, including the province or administrative area, so the user can spot an ambiguous match.
- Give current conditions first when available.
- Summarize only the requested forecast period. Preserve the units printed by the script.
- Highlight practical signals such as heavy precipitation, large temperature swings, strong winds, or high UV without exaggerating them.
- Include the data source and retrieval time shown by the script.
- If the resolved location is not what the user intended, ask for a province, district, or coordinates and rerun the query.
Safety and limits
- Treat results as model forecasts, not official warnings or guarantees.
- For typhoons, rainstorms, floods, extreme heat, or other safety-critical conditions, advise the user to verify active alerts with the China Meteorological Administration or the relevant local authority.
- Do not claim that this skill retrieves official Chinese weather warnings.
- Do not send credentials, personal data, or unrelated content to the weather endpoints. This skill requires no API key.
- If the API is unavailable or returns incomplete data, report the failure plainly and suggest retrying; do not substitute fabricated values.
Data access
The script sends HTTPS GET requests only to:
geocoding-api.open-meteo.comfor place-name resolutionapi.open-meteo.comfor current and forecast data
It uses the Python standard library, writes no files, executes no downloaded code, and reads no environment variables.
