← 返回 Skills 市场
bowen31337

SmartShift Advisor

作者 bowen31337 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
108
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install smartshift-advisor
功能描述
Advises battery charge/discharge strategy using Amber prices, solar forecast, and inverter state to optimize energy flow and cost savings.
安全使用建议
What to consider before installing: - Do not install until the skill metadata is fixed and documents exactly which credentials and paths it needs. The package currently omits declared env vars while the scripts expect AMBER_API_KEY and AMBER_SITE_ID, a Home Assistant token (or token file at ~/.openclaw/workspace/ha-smartshift/.ha_token), and INVERTER_URL/INVERTER_SN — sensitive values you should not supply blindly. - Review the scripts yourself. They call external services (Amber API, Open-Meteo) and your local HA/inverter endpoints, and they read/write under ~/.openclaw/workspace/ha-smartshift/. Ensure you are comfortable with that filesystem access and with recommendations being written back into Home Assistant via write_advice.py. - The SKILL.md embeds metadata requesting always-load (metadata.openclaw.always: true) even though the registry marks always:false. Ask the author to remove/justify always:true. Always-loaded skills increase exposure if they access credentials. - The inverter probe disables TLS verification to connect to INVERTER_URL; verify the inverter endpoint is a trusted local IP and consider securing it or adjusting the script to allow verifying a certificate. - If you proceed: run the scripts manually in a controlled environment (not auto-run) first, use least-privilege tokens (short-lived or limited-scope HA tokens), and do not expose high-privilege credentials to the skill until you are satisfied with behavior. - Ask the publisher (or upstream repo) for: an explicit requirements list (env vars and config.json schema), documentation of exactly which external endpoints are contacted, and confirmation that no data is exfiltrated beyond the stated services. If the author cannot provide clear answers, classify this skill as high-risk and avoid installing it.
能力标签
cryptocan-make-purchasesrequires-sensitive-credentials
能力评估
Purpose & Capability
The skill claims to use Amber prices, a solar forecast and inverter state (which is coherent), but the registry lists no required environment variables or config paths while the shipped scripts clearly expect AMBER_API_KEY, AMBER_SITE_ID, HA_URL/HA_TOKEN (or token file), INVERTER_URL and INVERTER_SN, LATITUDE/LONGITUDE, and write/read state under ~/.openclaw/workspace/ha-smartshift. Required credentials and paths are not declared in the metadata — this is an incoherence.
Instruction Scope
SKILL.md instructs editing config.json but does not document the Home Assistant token file or inverter URL/SN the scripts access. The included scripts will: query Home Assistant history (consumption_profile), call a local inverter endpoint (inverter_state), call Amber and Open-Meteo (network), and read/write files in ~/.openclaw/workspace/ha-smartshift. Those I/O/network actions are within the advisor's purpose but the runtime instructions omit several sensitive data flows (HA token, inverter credentials, local file reads).
Install Mechanism
No install spec (instruction-only) and all source is included in the skill bundle. There are no external download URLs or package installs declared, which reduces supply-chain risk relative to arbitrary remote installs.
Credentials
The registry declares no required env vars or primary credential, yet scripts expect multiple sensitive values (AMBER_API_KEY, AMBER_SITE_ID, HA_TOKEN or a token file, INVERTER_URL/INVERTER_SN). The skill also reads a token from ~/.openclaw/workspace/ha-smartshift/.ha_token and writes state there. Requesting no credentials but accessing them at runtime is disproportionate and should be declared and justified.
Persistence & Privilege
SKILL.md contains metadata that sets metadata.openclaw.always: true (with a reason 'Auto-classified as always-load'), but the registry flags show always:false. This mismatch is notable: if the runtime honours SKILL.md, the skill could be force-loaded always. The scripts persist state under ~/.openclaw/workspace/ha-smartshift/ (expected for this use) and do not modify other skills or system-wide settings. The inverter fetch disables TLS verification (CERT_NONE) for local access, which is a security tradeoff worth noting.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install smartshift-advisor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /smartshift-advisor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of SmartShift Advisor. - Advises battery charge/discharge strategy using Amber Electric prices, solar forecast, and inverter state. - Fetches real-time data with separate scripts for prices, solar forecast, and inverter state. - Provides automated strategy recommendations based on configurable thresholds. - Outputs strategy advice as JSON for integration with Home Assistant. - Includes straightforward configuration through a local config file.
元数据
Slug smartshift-advisor
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

SmartShift Advisor 是什么?

Advises battery charge/discharge strategy using Amber prices, solar forecast, and inverter state to optimize energy flow and cost savings. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 108 次。

如何安装 SmartShift Advisor?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install smartshift-advisor」即可一键安装,无需额外配置。

SmartShift Advisor 是免费的吗?

是的,SmartShift Advisor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

SmartShift Advisor 支持哪些平台?

SmartShift Advisor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 SmartShift Advisor?

由 bowen31337(@bowen31337)开发并维护,当前版本 v1.0.0。

💬 留言讨论