← 返回 Skills 市场
hoopan007

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

作者 Hoopan · GitHub ↗ · v1.0.2
cross-platform ⚠ suspicious
544
总下载
1
收藏
8
当前安装
3
版本数
在 OpenClaw 中安装
/install weather-china
功能描述
中国天气预报查询 - 基于中国天气网(weather.com.cn)获取7天天气预报和生活指数数据。纯 Python 实现,无需 API Key。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install weather-china
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /weather-china 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug weather-china
版本 1.0.2
许可证
累计安装 10
当前安装数 8
历史版本数 3
常见问题

中国天气预报查询 (China Weather) 是什么?

中国天气预报查询 - 基于中国天气网(weather.com.cn)获取7天天气预报和生活指数数据。纯 Python 实现,无需 API Key。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 544 次。

如何安装 中国天气预报查询 (China Weather)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install weather-china」即可一键安装,无需额外配置。

中国天气预报查询 (China Weather) 是免费的吗?

是的,中国天气预报查询 (China Weather) 完全免费(开源免费),可自由下载、安装和使用。

中国天气预报查询 (China Weather) 支持哪些平台?

中国天气预报查询 (China Weather) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 中国天气预报查询 (China Weather)?

由 Hoopan(@hoopan007)开发并维护,当前版本 v1.0.2。

💬 留言讨论