← 返回 Skills 市场
ziqi-jin

weather-cn-fixed

作者 ziqi · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
259
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install weather-cn-fixed
功能描述
中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型)
安全使用建议
This skill is internally consistent and appears to implement a lightweight scraper for weather.com.cn. Before installing, consider: 1) scraping fragility — the script parses HTML with grep/sed and may break if the site structure changes; 2) rate limits and terms-of-service — frequent automated requests could violate the site’s rules; 3) execution risk — it includes an executable shell script, so inspect the file (already reviewed) or run in a sandbox if you don't trust the source; 4) network access — the skill requires outbound access to www.weather.com.cn; restrict network permissions if possible. No secrets are requested and there are no remote install URLs, so the immediate security footprint is small.
功能分析
Type: OpenClaw Skill Name: weather-cn-fixed Version: 1.0.2 The weather-cn.sh script contains a shell injection vulnerability due to the use of 'eval' on unsanitized data parsed from an external website (weather.com.cn). Specifically, the script extracts content from HTML tags like <title> and passes it directly into an eval statement in the format_output function, which could allow arbitrary command execution if the fetched content is manipulated or the site is compromised. While the script's purpose is legitimate weather retrieval, the lack of input sanitization poses a significant security risk.
能力评估
Purpose & Capability
Name/description match the implementation: the bundled weather-cn.sh fetches HTML from weather.com.cn and parses it. Required binaries (curl, grep) are appropriate and the included city code file is consistent with the stated purpose.
Instruction Scope
SKILL.md instructs running the included script and documents its behavior. The runtime instructions and script only read the local weather_codes.txt, fetch HTML from weather.com.cn, parse it with grep/sed, and print formatted output; they do not ask for unrelated files, credentials, or external endpoints beyond listed fallbacks.
Install Mechanism
No install spec (instruction-only + included script) — code is provided in the skill bundle itself. Nothing is downloaded from arbitrary URLs during install, so install risk is low.
Credentials
The skill requires no environment variables or credentials. Binaries requested (curl, grep) are minimal and proportional to the scraping/parsing task.
Persistence & Privilege
always:false and default autonomous invocation are used (normal for skills). The skill does not request persistent system-wide changes or modify other skills/configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install weather-cn-fixed
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /weather-cn-fixed 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
修复温度显示问题:使用正确的hidden_title字段获取实时天气数据
元数据
Slug weather-cn-fixed
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

weather-cn-fixed 是什么?

中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 259 次。

如何安装 weather-cn-fixed?

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

weather-cn-fixed 是免费的吗?

是的,weather-cn-fixed 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

weather-cn-fixed 支持哪些平台?

weather-cn-fixed 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 weather-cn-fixed?

由 ziqi(@ziqi-jin)开发并维护,当前版本 v1.0.2。

💬 留言讨论