← Back to Skills Marketplace
hoopan007

中国天气预报查询 (China Weather)

by Hoopan · GitHub ↗ · v1.0.2
cross-platform ⚠ suspicious
544
Downloads
1
Stars
8
Active Installs
3
Versions
Install in OpenClaw
/install weather-china
Description
中国天气预报查询 - 基于中国天气网(weather.com.cn)获取7天天气预报和生活指数数据。纯 Python 实现,无需 API Key。
Usage Guidance
This skill is coherent with its description: it runs a Python scraper to fetch weather data from weather.com.cn and needs network access. However, the provided lib/weather_cn.py content was truncated, so you should inspect the complete file before installing or allowing execution. Specifically: 1) confirm there are no additional network endpoints, telemetry callbacks, or suspicious shell executions in the missing portion; 2) run the script in a restricted/sandboxed environment if possible; 3) ensure you are comfortable granting the agent the ability to exec python3 (the skill uses allowed-tools: exec) and that outbound HTTP access to weather.com.cn is acceptable for your environment. If you cannot review the full source, treat this as higher risk and avoid installing.
Capability Analysis
Type: OpenClaw Skill Name: weather-china Version: 1.0.2 The skill is a legitimate weather forecasting tool that scrapes data from the official China Weather website (weather.com.cn). The Python script (lib/weather_cn.py) uses standard libraries to fetch and parse HTML/JSONP data, includes input validation for city codes, and contains no evidence of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
Name/description match the observed behavior: the skill ships a Python script that searches toy1.weather.com.cn for city codes and scrapes weather.com.cn pages for a 7-day forecast and life indices. Required binary (python3) is appropriate and no unrelated credentials or binaries are requested.
Instruction Scope
SKILL.md instructs the agent to run the bundled Python script (allowed-tools includes exec). The instructions are scoped to querying weather data and explicitly note the network dependency (access to www.weather.com.cn). This is expected, but because execution is allowed, review of the full script is necessary before trusting it.
Install Mechanism
No install spec — instruction-only with a bundled code file. No downloads or external installers are requested. This is low-risk in terms of install mechanism.
Credentials
No environment variables, no credentials, and no config paths are required. The skill only needs outbound HTTP access to weather.com.cn and the toy1 search endpoint, which is proportionate to its purpose.
Persistence & Privilege
Skill is not always-on, does not request persistent system-wide changes, and does not modify other skills' configs. Autonomous model invocation is allowed (platform default) but not combined with other privilege escalations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install weather-china
  3. After installation, invoke the skill by name or use /weather-china
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Updated description in SKILL.md to Chinese and made wording more concise. - Bumped version number to 1.0.2 in SKILL.md. - No changes to code or functionality.
v1.0.1
中国天气预报查询 - 基于中国天气网(weather.com.cn)获取7天天气预报和生活指数数据
v1.0.0
China Weather Forecast - Get 7-day weather forecast and life index data from weather.com.cn. Pure Python implementation with automatic city code search.
Metadata
Slug weather-china
Version 1.0.2
License
All-time Installs 10
Active Installs 8
Total Versions 3
Frequently Asked Questions

What is 中国天气预报查询 (China Weather)?

中国天气预报查询 - 基于中国天气网(weather.com.cn)获取7天天气预报和生活指数数据。纯 Python 实现,无需 API Key。 It is an AI Agent Skill for Claude Code / OpenClaw, with 544 downloads so far.

How do I install 中国天气预报查询 (China Weather)?

Run "/install weather-china" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 中国天气预报查询 (China Weather) free?

Yes, 中国天气预报查询 (China Weather) is completely free (open-source). You can download, install and use it at no cost.

Which platforms does 中国天气预报查询 (China Weather) support?

中国天气预报查询 (China Weather) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 中国天气预报查询 (China Weather)?

It is built and maintained by Hoopan (@hoopan007); the current version is v1.0.2.

💬 Comments