← 返回 Skills 市场
WeatherPanel Note AI PC
作者
yinquan251
· GitHub ↗
· v1.0.2
· MIT-0
229
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install weatherpanel-note-aipc
功能描述
WeatherPanel Note AI PC for Shanghai weather. This skill fetches current weather from Open-Meteo, summarizes the overall conditions with a local LLM through...
安全使用建议
This skill appears to do what it says: fetch Open‑Meteo data, summarize via a local summarize CLI, update a local dashboard, and append to an Obsidian note. Before installing or running it, consider: 1) The skill will write files under ~/.openclaw/state and your Canvas directory and will append to the configured Obsidian note — verify OBISIDIAN_VAULT/NOTE_PATH to avoid unwanted writes. 2) The summarization step invokes an external binary named by SUMMARIZE_BIN (default 'summarize') using shell=True; ensure that the summarize binary on your PATH (or any override you set in the allowlisted config) is the trusted implementation you expect. 3) The Obsidian flush step calls an external obsidian-cli; ensure that binary is trusted. 4) If you are concerned about injection via SUMMARIZE_BIN overrides, run the pipeline with a controlled SUMMARIZE_BIN pointing to a known executable, or inspect/lock the config file at ~/.openclaw/state/weatherpanel_note_aipc/config.json. 5) If you want extra safety, run the scripts in a restricted environment or inspect the bundled files (they are included) before use.
功能分析
Type: OpenClaw Skill
Name: weatherpanel-note-aipc
Version: 1.0.2
The skill bundle contains a shell injection vulnerability in `scripts/summarize_weather.py`, where `subprocess.run` is invoked with `shell=True` on a command string constructed from parameters (latitude, longitude, etc.) that can be influenced via a local JSON configuration file. While the developer included a comment suggesting this was intended to handle special characters in URLs on Windows, it creates a risk of arbitrary command execution. The rest of the bundle, including weather data retrieval from Open-Meteo and Obsidian integration via `scripts/flush_to_obsidian.py`, appears to follow the stated purpose without evidence of intentional malice or data exfiltration.
能力评估
Purpose & Capability
The name/description match the code: fetch_weather.py calls Open‑Meteo, summarize_weather.py calls a local 'summarize' CLI, dashboard.html is copied to a local Canvas path, and flush_to_obsidian.py appends to an Obsidian note. No unrelated cloud credentials, unrelated binaries, or extraneous capabilities are requested.
Instruction Scope
Runtime instructions are limited to running the bundled Python pipeline and writing only into the user's Canvas and state directories and an Obsidian note. One notable implementation detail: summarize_weather.py launches the summarize CLI with shell=True (it builds a quoted command string) which increases risk if SUMMARIZE_BIN is malicious or contains shell metacharacters; SUMMARIZE_BIN can be overridden via environment or the allowlisted config file. The skill otherwise respects the stated limits (does not read generic secret files and uses an allowlist for config keys).
Install Mechanism
No install spec or remote downloads are present; the skill is instruction + local Python scripts only. Nothing is fetched or executed from arbitrary URLs by the skill itself.
Credentials
The skill declares no required environment variables and the env_loader only populates a small allowlisted set from a user-side config JSON. Allowed keys are non-secret (paths, binary names, coordinates, base URL). The code uses standard HOME/USERPROFILE and optional HTTP_PROXY/HTTPS_PROXY—expected for a network client.
Persistence & Privilege
The skill does not request 'always: true' or any elevated/automatic persistence. It writes state and canvas files under ~/.openclaw/state and the user's Canvas/Obsidian locations (expected for its function) and does not modify global OpenClaw config or system startup settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install weatherpanel-note-aipc - 安装完成后,直接呼叫该 Skill 的名称或使用
/weatherpanel-note-aipc触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Improved safety: now writes summaries directly to a verified Markdown note under a configured Obsidian vault directory, instead of using `obsidian-cli`.
- Weather source and summary generation are now more controlled: uses fixed Shanghai coordinates and a safe subprocess call to `summarize`.
- Clarified and tightened configuration options; only a limited set of keys are supported.
- Documentation updated to reflect these safeguards and behavioral changes.
v1.0.1
Version 1.0.1
- Added scripts/run_weatherpanel.py to the skill package.
- Overhauled SKILL.md with a new design: all operations now use Python scripts instead of batch files.
- Significantly tightened security: disallows editing HEARTBEAT.md and using .bat/.cmd/.ps1 files; only bundled Python scripts may be run.
- Clarified actions for fetching, summarizing, updating dashboard, and writing to Obsidian, each with a corresponding command.
- Documented optional allowlisted JSON config for advanced settings.
v1.0.0
- Initial release of WeatherPanel Note AI PC dashboard for Shanghai weather.
- Automatically fetches, summarizes, and displays current weather data using Open-Meteo and a local LLM.
- Integrates with Obsidian and provides a live Canvas dashboard with weather charts and token cost.
- Responds to a wide range of weather-related keywords to trigger updates and dashboard display.
- Sets up scheduled weather updates every 5 minutes and supports manual refresh and token cost checks.
元数据
常见问题
WeatherPanel Note AI PC 是什么?
WeatherPanel Note AI PC for Shanghai weather. This skill fetches current weather from Open-Meteo, summarizes the overall conditions with a local LLM through... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 229 次。
如何安装 WeatherPanel Note AI PC?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install weatherpanel-note-aipc」即可一键安装,无需额外配置。
WeatherPanel Note AI PC 是免费的吗?
是的,WeatherPanel Note AI PC 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
WeatherPanel Note AI PC 支持哪些平台?
WeatherPanel Note AI PC 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 WeatherPanel Note AI PC?
由 yinquan251(@yinquan251)开发并维护,当前版本 v1.0.2。
推荐 Skills