中国城市天气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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/kenera/weather-zhWhat 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
- "查询北京今天的天气情况"
- "上海现在温度多少?会不会下雨?"
- "我想知道明天成都的穿衣指数和天气预报"
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.txtfile. - 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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-kenera-weather-zh": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, code-execution
Related Skills
subskill-generation-rule
Define and enforce project orgnization rules for generating subskills. put generated recommendation outputs under data/, place new feature scripts under subskills/<feature>/, and optionally add SKILL.md inside each feature folder to keep main skill root clean.
weather-zh
中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型)
A股短线交易决策 A-Share Short-Term Decision
A-share short-term trading decision skill for 1-5 day horizon. Use when you need real-data market sentiment, sector rotation, strong stock scanning, capital flow confirmation, date-based short-term signal scoring, prediction logging, and next-day market comparison for CN A-share momentum trading.