energy-dashboard

energy-dashboard is a skill for Claude Code from larsboes/Axon. It costs 191 tokens per session (1,306 once invoked), scanned A, original, MIT.

A tool for configuring Home Assistant’s Energy Dashboard, which tracks household energy such as solar power, grid flow, and battery activity.

In plain words
What is it for?
Use it to read or set the dashboard’s solar, grid import and export, and battery charge and discharge sources.
Why use it?
The needed dashboard settings are available through Home Assistant’s WebSocket interface rather than its regular REST interface.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to read or set the dashboard’s solar, grid import and export, and battery charge and discharge sources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/larsboes/axon/energy-dashboard
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add larsboes/Axon --skill energy-dashboard
Clone the repo
git clone --depth 1 https://github.com/larsboes/Axon

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for energy-dashboard

README.md
[![agentmods](https://agentmods.dev/badge/skills/larsboes/axon/energy-dashboard/github.svg)](https://agentmods.dev/skills/larsboes/axon/energy-dashboard)
Your own site
<a href="https://agentmods.dev/skills/larsboes/axon/energy-dashboard"><img src="https://agentmods.dev/badge/skills/larsboes/axon/energy-dashboard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for energy-dashboard

Your own site · 80×15
<a href="https://agentmods.dev/skills/larsboes/axon/energy-dashboard"><img src="https://agentmods.dev/badge/skills/larsboes/axon/energy-dashboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,306 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00191 $0.01306
Opus 5 $0.00096 $0.00653
Sonnet 5 $0.00038 $0.00261
Haiku 4.5 $0.00019 $0.00131

Measured 10d ago against content hash 82be4a55c522, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

energy-dashboard scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Packs/home-automation/skills/energy-dashboard/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

energy-dashboard

Configure the Home Assistant Energy Dashboard automatically. The dashboard's preferences sit behind HA's WebSocket API (energy/get_prefs / energy/save_prefs) — the REST API does not expose them — so this is a pure-Python-3 stdlib tool with a minimal built-in WebSocket client (no websockets dependency). Two commands: show (read the current sources) and set (write sources built from flags). Credentials come from a Bitwarden item at runtime, never hardcoded; source entities are always parameters, so nothing is pinned to one house.

Setup (once)

  1. In Home Assistant: create a long-lived access token (Profile → Security → Long-lived access tokens). That token is HA_TOKEN.
  2. Non-secret config: set HA_URL (e.g. http://<host>:8123) in the axon-overlay overlay's config/home-assistant.vars (resolved via $AXON_HOME_ROOT). The WebSocket endpoint is derived from it (http→ws, https→wss, /api/websocket).
  3. In Bitwarden: item home-assistant/ha (override with $HA_BW_ITEM) holding only the secret custom field HA_TOKEN — the same item the ha-cli skill uses. Provision via Axon setup-secret.sh.
  4. Point bw at the vault once: bw config server <vault-url>.

Run

Unlock Bitwarden interactively, then call (the tool reads $BW_SESSION, never the master password):

export BW_SESSION=$(bw unlock --raw)

# Read the current sources
scripts/energy-dashboard show
scripts/energy-dashboard show -j            # raw prefs JSON

# Configure sources (each source is added only if its entity is given)
scripts/energy-dashboard set \
  --solar-production sensor.solar_lifetime_energy \
  --solar-power      sensor.solar_power \
  --grid-import      sensor.grid_import_energy \
  --grid-export      sensor.grid_export_energy \
  --battery-from     sensor.battery_discharge_energy \
  --battery-to       sensor.battery_charge_energy

# Advanced: supply the whole energy_sources array as raw JSON
scripts/energy-dashboard set --sources-file ./sources.json

Read the full file on GitHub · 88 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 88 lines · 191 tokens per session scan A 82be4a55c522

Subscribe to this mod's changes

energy-dashboard is a skill published in the GitHub repository larsboes/Axon (1 stars, last pushed yesterday), licensed MIT. It adds 191 tokens to every session and 1,306 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.