← 返回 Skills 市场
263
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install weather-cn-pro
功能描述
中国天气网增强版 - 查询中国城市的实时天气、逐小时预报、7天预报和生活指数。 相比基础版增加:逐小时预报、7天预报、更好的格式化输出。 作者: Jeremy
安全使用建议
This skill appears to be a straightforward shell scraper for weather.com.cn and requires only curl/grep, which is consistent with its purpose. However, the script also queries a third‑party AQI service (api.aooi.com) that is not mentioned in the SKILL.md. Before installing or running it, consider: (1) review or remove the get_aqi() call if you don't want your queries (the city name and your IP) sent to a third party; (2) run the script in an environment with limited network access if you want to observe behavior safely; (3) because the source and homepage are unknown, be cautious about trusting future versions — prefer code from a known repository or author; (4) the scraping approach is brittle (may break if the website changes) but not inherently malicious. If you need higher assurance, ask the author to document external endpoints and their purpose or provide a signed/hosted source repository. Additional information that would raise confidence: a documented homepage/repository, an explicit mention in SKILL.md of the AQI provider, or confirmation that no other external endpoints are used.
功能分析
Type: OpenClaw Skill
Name: weather-cn-pro
Version: 1.0.0
The script `weather-cn-pro.sh` contains a potential command injection vulnerability by using `eval` on data parsed from an external website (weather.com.cn). While the current regex-based extraction provides some sanitization, using `eval` on remote content is a high-risk practice. Additionally, the script makes an unauthenticated request to a third-party API (`api.aooi.com`) for AQI data, which is an external dependency not explicitly mentioned in the primary description.
能力评估
Purpose & Capability
Name and description (China Weather enhancements) match the files: a small shell script plus a city-code list implementing realtime, hourly and 7‑day forecasts via weather.com.cn. Required binaries (curl, grep) are appropriate.
Instruction Scope
The script fetches HTML from weather.com.cn (expected) but also makes a request to a third‑party AQI endpoint (https://api.aooi.com/weather/index?city=...) that is not documented in SKILL.md. The agent/script will send the user-supplied city name to that external service; SKILL.md does not disclose this network call or its purpose.
Install Mechanism
No install spec; this is an instruction-only skill plus a shell script. Nothing is downloaded or installed at runtime beyond the script invoking curl (low risk from install mechanism standpoint).
Credentials
No environment variables or credentials are requested. The script does not attempt to read system secrets or config paths; it only reads its included weather_codes.txt and temporary files.
Persistence & Privilege
always is false and there are no actions that modify other skills or agent configuration. The skill runs only when invoked and does not request persistent privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install weather-cn-pro - 安装完成后,直接呼叫该 Skill 的名称或使用
/weather-cn-pro触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
中国天气网增强版 - 新增逐小时预报、7天预报、更好的格式化输出
元数据
常见问题
weather-cn-pro 是什么?
中国天气网增强版 - 查询中国城市的实时天气、逐小时预报、7天预报和生活指数。 相比基础版增加:逐小时预报、7天预报、更好的格式化输出。 作者: Jeremy. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 263 次。
如何安装 weather-cn-pro?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install weather-cn-pro」即可一键安装,无需额外配置。
weather-cn-pro 是免费的吗?
是的,weather-cn-pro 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
weather-cn-pro 支持哪些平台?
weather-cn-pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 weather-cn-pro?
由 ziqi(@ziqi-jin)开发并维护,当前版本 v1.0.0。
推荐 Skills