← 返回 Skills 市场
Weather Push
作者
HankSU7889
· GitHub ↗
· v1.0.0
407
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install weather-push
功能描述
每日天气推送 - 定时发送深圳天气+mihomo服务状态到飞书
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install weather-push - 安装完成后,直接呼叫该 Skill 的名称或使用
/weather-push触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
Weather Push 是什么?
每日天气推送 - 定时发送深圳天气+mihomo服务状态到飞书. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 407 次。
如何安装 Weather Push?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install weather-push」即可一键安装,无需额外配置。
Weather Push 是免费的吗?
是的,Weather Push 完全免费(开源免费),可自由下载、安装和使用。
Weather Push 支持哪些平台?
Weather Push 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Weather Push?
由 HankSU7889(@hanksu7889)开发并维护,当前版本 v1.0.0。
推荐 Skills