Agent skill

Tianqi

by aahl in aahl/skills

“查询中国地区的天气预报,支持15天及逐小时预报、各种生活指数”

— description from SKILL.md by aahl
MITAuto-check passed

Install Tianqi

skills CLI
$ npx skills add aahl/skills --skill tianqi -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aahl/skills tianqi --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aahl/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/tianqi .claude/skills/tianqi && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tianqi
GitHub stars
162
Used in
1 other repo
Token cost
~360 tokens
SKILL.md length
4 words
Files
2 (incl. scripts)
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

  • Runs Shell scripts from its folder; calls bash

About this skill

Tianqi is a skill in aahl/skills (162 stars). Its SKILL.md is about 360 tokens, with 1 other file in the folder (scripts), and copies of it appear in 1 other owners' repositories. Licence: MIT.

What it can do on your machine

Read from SKILL.md and the folder at commit 47edd62. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tianqi loads about 360 tokens when it runs. Until then it costs about 9 tokens; SKILL.md has 4 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~9
When it runs · the whole SKILL.md, loaded when a task matches
~360

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aahl/skills at commit 47edd62, republished under its MIT licence (© aahl). 4 words, ~360 tokens.

Download SKILL.mdSave it as .claude/skills/tianqi/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
tianqi
description
查询中国地区的天气预报,支持15天及逐小时预报、各种生活指数

天气预报

查询中国地区的天气预报,支持15天及逐小时预报、各种生活指数

查询命令

shell
# 搜索城市编号
bash scripts/curl.sh 'https://toy1._DOMAIN_/search' -G --data-urlencode 'cityname=黄埔'

# 获取天气概况 101020100需替换为真实的城市编号
bash scripts/curl.sh 'https://d1._DOMAIN_/weather_index/101020100.html?_=_TIME_'

# 获取站点位置信息 method=stationinfo&areaid=101020100
bash scripts/curl.sh 'https://d7._DOMAIN_/geong/v1/api' -G --data-urlencode 'params={"method":"stationinfo","areaid":"101020100"}'

# 分钟级天气预报,需要先从站点信息中获取经纬度
bash scripts/curl.sh 'https://mpf._DOMAIN_/mpf_v3/webgis/minute?lat=<latitude>&lon=<longitude>&_=_TIME_'
# 返回字段 values:降水量

# 每日天气预报
bash scripts/curl.sh 'https://d1._DOMAIN_/weixinfc/101020100.html?_=_TIME_'
# 返回字段 fa/fb:天气状况代码 fc:最高温度 fd:最低温度 fn:湿度

# 小时级天气预报
bash scripts/curl.sh 'https://d1._DOMAIN_/wap_180h/101020100.html?_=_TIME_'
# 返回字段 ja:天气状况代码 jb:温度 je:湿度 jg:风速 jj:气压

# 气象预警
bash scripts/curl.sh 'https://d1._DOMAIN_/dingzhi/101020100.html?_=_TIME_'

天气状况代码

yaml
'00': 晴
'01': 多云
'02': 阴
'03': 阵雨
'04': 雷阵雨
'05': 雷阵雨伴有冰雹
'06': 雨夹雪
'07': 小雨
'08': 中雨
'09': 大雨
'10': 暴雨
'11': 大暴雨
'12': 特大暴雨
'13': 阵雪
'14': 小雪
'15': 中雪
'16': 大雪
'17': 暴雪
'18': 雾
'19': 冻雨
'20': 沙尘暴
'21': 小到中雨
'22': 中到大雨
'23': 大到暴雨
'24': 暴雨到大暴雨
'25': 大暴雨到特大暴雨
'26': 小到中雪
'27': 中到大雪
'28': 大到暴雪
'29': 浮尘
'30': 扬沙
'31': 强沙尘暴
'32': 浓雾
'49': 强浓雾
'53': 霾
'54': 中度霾
'55': 重度霾
'56': 严重霾
'57': 大雾
'58': 特强浓雾
'301': 雨
'302': 雪

© aahl, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in skills/tianqi of aahl/skills.

  • SKILL.md
  • scripts/curl.sh

Open the folder on GitHubat commit 47edd62

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in aahl/skills, which our catalogue first saw on October 7, 2026.

More from aahl/skills

All 13 skills in this repo
  • Hass Builder

    aahl/skills

    A skill to build and manage Home Assistant configurations. An agent skill from aahl/skills.

    162 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Edge Tts

    aahl/skills

    Text-to-speech conversion using uvx edge-tts for generating audio from text.

    162 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Maishou

    aahl/skills

    商品价格全网对比技能,获取商品在淘宝(Taobao)、天猫(TMall)、京东(JD.com)、拼多多(PinDuoDuo)、抖音(Douyin)、快手(KaiShou)的最优价格、优惠券,当用户想购物或者获取优惠信息时使用。Get the best price, coupons for goods on Chinese e-commerce platforms, compare…

    162 GitHub starsUsed in 1 repo~175 tokens
    Auto-check passed
  • MCP Deepwiki

    aahl/skills

    Skills for accessing and searching docs in DeepWiki/GitHub’s public code repositories can help users understand open-source project source codes, and users can also ask questions directly about the…

    162 GitHub starsUsed in 2 repos~607 tokens
    Auto-check passed
  • Zai Tts

    aahl/skills

    Text-to-speech conversion using GLM-TTS service via the uvx zai-tts command for generating audio from text.

    162 GitHub starsUsed in 1 repo~385 tokens
    Auto-check passed
  • MCP Hass

    aahl/skills

    The skill for control Home Assistant smart home devices and query states using MCP protocol.

    162 GitHub starsUsed in 1 repo~568 tokens
    Auto-check passed

Questions about Tianqi

How do I install Tianqi in Claude Code?

Run `npx skills add aahl/skills --skill tianqi -a claude-code`. Or copy the skill folder (skills/tianqi in aahl/skills) into .claude/skills/tianqi in your project. Claude Code loads it when a task matches its description.

How do I install Tianqi in Codex?

Run `npx skills add aahl/skills --skill tianqi -a codex`. Or copy the skill folder (skills/tianqi in aahl/skills) into .agents/skills/tianqi in your project. Codex loads it when a task matches its description.

Can I use Tianqi in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aahl/skills --skill tianqi -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tianqi, .gemini/skills/tianqi, .github/skills/tianqi and .opencode/skills/tianqi in your project.

What does Tianqi need to run?

Going by SKILL.md and its folder, Tianqi needs a shell for the scripts in its folder and the command-line tools its instructions call (bash).

Does Tianqi access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tianqi safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Tianqi use?

Tianqi is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tianqi use?

About 360 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

Who maintains Tianqi?

aahl (a GitHub organization) maintains it in aahl/skills, which has 162 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 15, 2026.

Source: aahl/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.