← Back to Skills Marketplace
259
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install weather-cn-fixed
Description
中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型)
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install weather-cn-fixed - After installation, invoke the skill by name or use
/weather-cn-fixed - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
修复温度显示问题:使用正确的hidden_title字段获取实时天气数据
Metadata
Frequently Asked Questions
What is weather-cn-fixed?
中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型). It is an AI Agent Skill for Claude Code / OpenClaw, with 259 downloads so far.
How do I install weather-cn-fixed?
Run "/install weather-cn-fixed" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is weather-cn-fixed free?
Yes, weather-cn-fixed is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does weather-cn-fixed support?
weather-cn-fixed is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created weather-cn-fixed?
It is built and maintained by ziqi (@ziqi-jin); the current version is v1.0.2.
More Skills