Agent skill

China Weather

by dongsheng123132 in dongsheng123132/u-claw

“中国城市天气查询 - 支持中文城市名、农历日期、wttr.in接口”

— description from SKILL.md by dongsheng123132
MITAuto-check passedDocuments & Office

Install China Weather

skills CLI
$ npx skills add dongsheng123132/u-claw --skill china-weather -a claude-code

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

GitHub CLI
$ gh skill install dongsheng123132/u-claw china-weather --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/dongsheng123132/u-claw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/portable/skills-cn/china-weather .claude/skills/china-weather && 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
china-weather
GitHub stars
1.8k
Token cost
~281 tokens
SKILL.md length
66 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

  • SKILL.md covers 功能概述, 查询方式, 使用示例 and 适用场景, plus 3 more sections
  • Calls curl

About this skill

China Weather is a skill in dongsheng123132/u-claw (1.8k stars). Its SKILL.md is about 281 tokens. Licence: MIT.

What it can do on your machine

Read from SKILL.md and the folder at commit 9e769e6. 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

    Shell commands in SKILL.md call:

    • curl

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

  • Network

    No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.

    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

China Weather loads about 281 tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 66 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from dongsheng123132/u-claw at commit 9e769e6, republished under its MIT licence (© dongsheng123132). 66 words, ~281 tokens.

Download SKILL.mdSave it as .claude/skills/china-weather/SKILL.md (or your agent's skills folder).
name
china-weather
description
中国城市天气查询 - 支持中文城市名、农历日期、wttr.in接口

中国城市天气查询

通过 wttr.in 查询中国各城市天气信息,支持中文城市名输入,附带农历日期和生活建议。

功能概述

  • 实时天气: 通过 curl 调用 wttr.in 获取天气数据
  • 中文城市名: 支持直接输入"深圳"、"北京"等中文名
  • 多日预报: 支持当天及未来 3 天天气预报
  • 农历日期: 自动附带当天农历日期信息
  • 生活指数: 穿衣建议、出行提示、紫外线指数

查询方式

使用 Bash 工具执行以下命令格式:

bash
# 基础查询(中文输出)
curl -s "wttr.in/深圳?lang=zh"

# 精简单行格式
curl -s "wttr.in/深圳?format=3&lang=zh"

# 仅今天的天气
curl -s "wttr.in/深圳?0&lang=zh"

# JSON 格式(便于解析)
curl -s "wttr.in/深圳?format=j1"

使用示例

查天气
深圳今天天气怎么样?
出行建议
明天要去杭州出差,需要带伞吗?
多城市对比
北京和上海这周末天气哪个好?想出去玩
穿衣建议
广州现在多少度?穿什么衣服合适?

适用场景

  • 快速查询国内任意城市天气
  • 出差/旅行前了解目的地天气
  • 需要穿衣或出行建议
  • 查看未来几天天气趋势
  • 终端环境下无法打开天气 App 时

不适用场景

  • 需要精确到小时的天气预报(wttr.in 精度有限)
  • 查询历史天气数据
  • 需要灾害预警等官方气象信息(请使用中国气象局官网)
  • 查询海外城市天气(本技能优化了中国城市名映射)

城市名映射

常见城市直接使用拼音或中文均可:

  • 北京 → Beijing / 北京
  • 上海 → Shanghai / 上海
  • 深圳 → Shenzhen / 深圳
  • 广州 → Guangzhou / 广州

如遇查询失败,尝试使用城市拼音替代中文名。

注意事项

  • wttr.in 为免费服务,偶尔可能响应较慢
  • 温度默认摄氏度,风速默认 km/h
  • 数据来源为 WorldWeatherOnline,仅供参考

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

Files

Just SKILL.md in portable/skills-cn/china-weather of dongsheng123132/u-claw.

Open the folder on GitHubat commit 9e769e6

Compare with similar skills

China Weather next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

China Weather compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
China Weather this skilldongsheng123132/u-claw1.8k—~281Automated safety check: PassMIT
Markdown Article FormatterJimLiu/baoyu-skills27k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
DOCXrvdbreemen/OTGW-firmware20733 repos~4.3kAutomated safety check: PassProprietary
Word Document Reader and WriterHKUDS/DeepTutor41k—~2.5kAutomated safety check: PassApache-2.0

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    27k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • DOCX

    rvdbreemen/OTGW-firmware

    A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).

    207 GitHub starsUsed in 33 repos~4.3k tokens
    Documents & OfficeAuto-check passed
  • Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.

    41k GitHub stars~2.5k tokensUpdated 3 days ago
    Documents & OfficeAuto-check passed
  • Crossposting

    wasp-lang/wasp

    Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.

    19k GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed

More from dongsheng123132/u-claw

All 17 skills in this repo
  • Deepseek Helper

    dongsheng123132/u-claw

    DeepSeek API 助手 - 编程辅助、模型选择、API调用指南、定价信息. An agent skill from dongsheng123132/u-claw.

    1.8k GitHub stars~367 tokensUpdated 4 days ago
    Auto-check passed
  • Image Compress

    dongsheng123132/u-claw

    图片压缩/转换 - 批量压缩、改尺寸、转格式(jpg/png/webp),本地处理不失隐私. An agent skill from dongsheng123132/u-claw.

    1.8k GitHub stars~274 tokensUpdated 4 days ago
    Auto-check passed
  • Web To Markdown

    dongsheng123132/u-claw

    网页转 Markdown - 抓取任意网页正文并转成干净的 Markdown,便于阅读/收藏/二次创作. An agent skill from dongsheng123132/u-claw.

    1.8k GitHub stars~347 tokensUpdated 4 days ago
    Auto-check passed
  • China Translate

    dongsheng123132/u-claw

    中英互译 + 本地化 - 技术翻译、UI本地化、文化适配、避免机翻腔

    1.8k GitHub stars~526 tokensUpdated 4 days ago
    Auto-check passed
  • Ppt Designer

    dongsheng123132/u-claw

    PPT 演示助手 - 幻灯片设计、内容结构、视觉优化、动画建议、演讲稿

    1.8k GitHub stars~415 tokensUpdated 4 days ago
    Auto-check passed
  • Bilibili Helper

    dongsheng123132/u-claw

    B站内容助手 - 视频标题描述优化、标签策略、封面设计建议、分区选择、评论互动

    1.8k GitHub stars~380 tokensUpdated 4 days ago
    Auto-check passed

Questions about China Weather

How do I install China Weather in Claude Code?

Run `npx skills add dongsheng123132/u-claw --skill china-weather -a claude-code`. Or copy the skill folder (portable/skills-cn/china-weather in dongsheng123132/u-claw) into .claude/skills/china-weather in your project. Claude Code loads it when a task matches its description.

How do I install China Weather in Codex?

Run `npx skills add dongsheng123132/u-claw --skill china-weather -a codex`. Or copy the skill folder (portable/skills-cn/china-weather in dongsheng123132/u-claw) into .agents/skills/china-weather in your project. Codex loads it when a task matches its description.

Can I use China Weather 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 dongsheng123132/u-claw --skill china-weather -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/china-weather, .gemini/skills/china-weather, .github/skills/china-weather and .opencode/skills/china-weather in your project.

What does China Weather need to run?

Going by SKILL.md and its folder, China Weather needs the command-line tools its instructions call (curl).

Does China Weather access the network?

SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is China Weather 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. Review the folder before installing.

What licence does China Weather use?

China Weather 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 China Weather use?

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

What are the alternatives to China Weather?

Skills that share tags, products or a category with China Weather: Markdown Article Formatter (JimLiu/baoyu-skills, 27k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and DOCX (rvdbreemen/OTGW-firmware, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains China Weather?

dongsheng123132 (a GitHub user) maintains it in dongsheng123132/u-claw, which has 1,759 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 6, 2026.

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