← Back to Skills Marketplace
bowen31337

SmartShift Advisor

by bowen31337 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
108
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install smartshift-advisor
Description
Advises battery charge/discharge strategy using Amber prices, solar forecast, and inverter state to optimize energy flow and cost savings.
Usage Guidance
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.
Capability Tags
cryptocan-make-purchasesrequires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install smartshift-advisor
  3. After installation, invoke the skill by name or use /smartshift-advisor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug smartshift-advisor
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is SmartShift Advisor?

Advises battery charge/discharge strategy using Amber prices, solar forecast, and inverter state to optimize energy flow and cost savings. It is an AI Agent Skill for Claude Code / OpenClaw, with 108 downloads so far.

How do I install SmartShift Advisor?

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

Is SmartShift Advisor free?

Yes, SmartShift Advisor is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does SmartShift Advisor support?

SmartShift Advisor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created SmartShift Advisor?

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

💬 Comments