ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified utilities Safety 5/5

中国城市天气Weather in China

中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型)

Why use this skill?

Get real-time weather updates for Chinese cities with this zero-token, Python-based utility for OpenClaw. Fast, reliable, and no API keys required.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/kenera/weather-zh
Or

What This Skill Does

The "中国城市天气" (Weather in China) skill is a high-performance utility designed to provide real-time weather information for Chinese cities directly from the authoritative source, weather.com.cn. Unlike most AI-driven tools that rely on LLM inference to parse weather websites or call expensive external APIs, this skill utilizes a sophisticated, lightweight Python script to fetch and parse raw HTML content directly. This ensures that the information is accurate, delivered in less than a second, and requires zero token consumption from your underlying AI model. It features a localized, clean command-line interface that outputs temperatures, condition icons, and lifestyle indexes such as clothing, exercise, and ultraviolet exposure levels.

Installation

To integrate this utility into your OpenClaw environment, execute the following command in your terminal:

clawhub install openclaw/skills/skills/kenera/weather-zh

Once installed, you can trigger the script directly from your terminal workspace. For even faster access, you can alias the path in your shell configuration (e.g., .zshrc) as follows: alias weather='~/.openclaw/workspace/skills/weather-zh/weather-cn.py'. This allows you to check local conditions by simply typing weather 成都 or any other supported city name.

Use Cases

This skill is optimized for users who need fast, reliable, and recurring weather updates without the overhead of heavy AI computation. It is ideal for:

  • Developers or power users working within terminal environments who need a quick status check without opening a browser.
  • Automating weather reports in local scripts or crontabs.
  • Users monitoring weather in multiple Chinese cities who want to avoid the potential inaccuracies of LLM-interpreted web searches.
  • Scenarios where token economy is strictly monitored, as this skill performs all operations with zero LLM interaction after deployment.

Example Prompts

  1. "查询北京今天的天气情况"
  2. "上海现在温度多少?会不会下雨?"
  3. "我想知道明天成都的穿衣指数和天气预报"

Tips & Limitations

  • Data Integrity: The tool relies on structural parsing of weather.com.cn. While highly efficient, significant changes to the website's HTML architecture may require a minor script update.
  • City Support: The script includes 50+ major Chinese cities by default. If your city is missing, you can easily add it by appending the corresponding ID from the official weather website into the weather_codes.txt file.
  • Network Dependency: Ensure your local network has access to weather.com.cn. If you are behind a strict corporate firewall, ensure that the domain is whitelisted for the system terminal.
  • Accuracy: Lifestyle indices provided are standardized suggestions; please treat them as general guidelines rather than personalized medical or safety advice.

Metadata

Author@kenera
Stars1776
Views1
Updated2026-03-02
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-kenera-weather-zh": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#weather#china#cli#productivity#automation
Safety Score: 5/5

Flags: network-access, file-read, code-execution