tianqi
查询中国地区的天气预报,支持15天及逐小时预报、各种生活指数
Security Assessment
About tianqi
tianqi (天气) is a weather-forecast skill for locations across China. It solves the problem of pulling structured Chinese weather data on demand by wrapping a small set of HTTP endpoints behind a single shell helper (scripts/curl.sh), so an agent can look up a city, then fetch conditions for that city without hand-crafting each request. All documented calls are read-only HTTP GET requests against weather data hosts.
The skill documents a fixed sequence of queries: searching for a city code by name, retrieving a weather overview, fetching station location and coordinates, and then requesting minute-level precipitation, daily forecasts (up to 15 days), hourly forecasts, and meteorological warnings. It also ships a reference table mapping numeric weather-condition codes to Chinese descriptions (clear, cloudy, rain, snow, haze, sandstorm, and many gradations), plus field-name legends for temperature, humidity, wind speed, and pressure in each response.
It targets Chinese-language users, agents, and developers who need programmatic weather lookups for cities in China, including 15-day and hourly forecasts and lifestyle indices. Typical use cases include answering weather questions, building daily-briefing style automations, and enriching location-based responses with current conditions or warnings.
FAQ
How do I look up the weather for a specific city?
First run the search command with a city name to get its numeric city code, then substitute that code (replacing the sample 101020100) into the overview, daily, hourly, or warning query URLs shown in the SKILL.
What forecast granularity is available?
The documented endpoints cover a weather overview, minute-level precipitation (needs latitude/longitude from station info first), daily forecasts, hourly forecasts, and meteorological warnings.
What do the numeric codes in the responses mean?
The SKILL includes a code table translating condition codes (for example 00 clear, 07 light rain, 14 light snow, 53 haze) into Chinese, plus field legends for temperature, humidity, wind speed, and pressure.
What are the prerequisites?
A bash shell and the bundled scripts/curl.sh helper. Requests are plain read-only HTTP GET calls, and the domains are templated placeholders you resolve to the real weather hosts.
Does it cover locations outside China?
No. It is scoped to weather forecasts for regions within China.
Install tianqi
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
aahl/skills