← Back to Skills Marketplace
hanksu7889

Weather Push

by HankSU7889 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
407
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install weather-push
Description
每日天气推送 - 定时发送深圳天气+mihomo服务状态到飞书
Usage Guidance
This script is coherent with its weather+service-check purpose, but review and adapt it before enabling: - Inspect and change hard-coded values: the SSH target (10.144.1.3), SSH user (sulada2), and the Feishu target OU ID are baked into the script; replace with your own targets or make them configurable. - Provide SSH credentials intentionally: the script expects an SSH key/agent to allow passwordless SSH. Confirm which key will be used and do not expose private keys. - Re-enable host-key verification: StrictHostKeyChecking=no weakens SSH security and can allow MitM; consider using known_hosts or more secure SSH options. - Verify the openclaw CLI path: /home/aisulada/.npm-global/bin/openclaw is user-specific and may not exist; change to the correct path or use a configurable command. - Check logging and confidentiality: logs are written to /tmp/weather-push.log; ensure log files are stored securely if they contain sensitive identifiers. - Test in a safe environment first: run manually and confirm outputs, SSH behavior, and that messages are sent to the expected Feishu recipients. If you want a lower-risk version, request the maintainer remove hard-coded hosts/users, make paths and targets configurable via declared env vars, and avoid disabling SSH host-key checks.
Capability Analysis
Type: OpenClaw Skill Name: weather-push Version: 1.0.0 The skill is classified as suspicious due to critical vulnerabilities, specifically the use of `StrictHostKeyChecking=no` in SSH connections to `10.144.1.3` in `push.sh`, which makes it vulnerable to Man-in-the-Middle attacks. Additionally, the `parse_weather_json` function in `push.sh` embeds raw `curl` output directly into a Python script string literal (`json.loads('''$DATA''')`), creating a potential Python code injection vulnerability if the `curl` output could be manipulated. While the skill's stated purpose (weather and service status updates) appears benign, these vulnerabilities present significant security risks.
Capability Assessment
Purpose & Capability
Name/description match the behavior: the script fetches weather data, computes differences, checks a remote MiHoMo service, and sends a Feishu message. The declared dependencies (python3 + lunarcalendar, SSH access) are consistent with the stated purpose.
Instruction Scope
The SKILL.md and push.sh instruct the agent to SSH into an internal host (10.144.1.3) as a specific user (sulada2) and run systemctl/pgrep on that host. The script also calls a local OpenClaw CLI at a hard-coded user path and writes logs to /tmp. Disabling StrictHostKeyChecking and hard-coded targets give the script broad, specific network/system access that the user may not expect.
Install Mechanism
No install spec — instruction-only plus an included script. Nothing is downloaded or extracted during install, which is low risk. The only runtime requirements are Python packages and SSH access.
Credentials
The skill does not declare env vars or credentials, but it requires SSH credentials/key material to access 10.144.1.3 and expects a user-local openclaw binary path (/home/aisulada/.npm-global/bin/openclaw). These implicit credential assumptions are reasonable for the function but should be explicit; hard-coded username, internal IP, and Feishu target are sensitive and may not be appropriate for other environments.
Persistence & Privilege
The skill is not always-enabled and does not modify other skills or system-wide config. It runs as a scheduled/explicit task only and does not request elevated platform privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install weather-push
  3. After installation, invoke the skill by name or use /weather-push
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of weather-push skill. - Sends daily morning weather updates for Shenzhen Longgang and Futian districts to Feishu. - Includes lunar calendar date, temperature comparison with previous day, and Mihomo server (10.144.1.3) status check. - Scheduled automatic push at 8:00 AM; manual run and test push at 12:00 PM supported. - Requires Python3 (lunarcalendar), SSH access to Mihomo server, and OpenClaw message interface.
Metadata
Slug weather-push
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Weather Push?

每日天气推送 - 定时发送深圳天气+mihomo服务状态到飞书. It is an AI Agent Skill for Claude Code / OpenClaw, with 407 downloads so far.

How do I install Weather Push?

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

Is Weather Push free?

Yes, Weather Push is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Weather Push support?

Weather Push is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Weather Push?

It is built and maintained by HankSU7889 (@hanksu7889); the current version is v1.0.0.

💬 Comments