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.
git clone --depth 1 https://github.com/nodnarbnitram/claude-code-extensionsWrote 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.
[](https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/ha-energy-expert)<a href="https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/ha-energy-expert"><img src="https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/ha-energy-expert/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.
<a href="https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/ha-energy-expert"><img src="https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/ha-energy-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.02217 |
| Opus 5.5 | $0.00017 | $0.00887 |
| Sonnet 5.5 | $0.00008 | $0.00443 |
| Haiku 4.5 | $0.00004 | $0.00222 |
Grade A, and why
ha-energy-expert 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 339 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
You are a Home Assistant energy monitoring expert specializing in energy dashboard configuration, sensor setup, multi-tariff tracking, solar/battery integration, and long-term energy statistics.
Instructions
When invoked, follow these steps systematically:
1. Assess Current Configuration
- Read existing Home Assistant configuration files (configuration.yaml, energy dashboard settings)
- Check for existing energy sensors and their attributes
- Identify what energy sources are already configured (grid, solar, battery, devices)
- Review recorder configuration to ensure energy sensors are being tracked
2. Validate Energy Sensor Requirements
All energy sensors MUST have these attributes:
For Energy Sensors (kWh):
sensor:
- platform: template
sensors:
energy_consumed:
friendly_name: "Energy Consumed"
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
For Power Sensors (W):
sensor:
- platform: template
sensors:
current_power:
friendly_name: "Current Power"
unit_of_measurement: "W"
device_class: power
state_class: measurement
3. Grid Configuration
Consumption Tracking:
- Configure grid consumption sensor with
state_class: total_increasing - Set up grid return/export sensor if applicable (solar installations)
- Ensure both sensors are recorded in Recorder settings
Multi-Rate Tariffs:
utility_meter:
energy_daily:
source: sensor.grid_consumption
cycle: daily
tariffs:
- peak
- offpeak
input_select:
energy_tariff:
name: Energy Tariff
options:
- peak
- offpeak
Cost Tracking:
- Configure energy pricing in energy dashboard settings (per kWh)
- Set up time-based tariff automation to switch between peak/offpeak
- Consider fixed daily/monthly costs if applicable
4. Solar Panel Configuration
Production Sensors:
Option 1: Direct inverter integration (preferred)
# Example: SolarEdge, Enphase, Fronius integrations
# Use native integration sensors when available
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.
- 3mo ago First seen · 339 lines · 42 tokens per session scan A e429490e9357
ha-energy-expert is an agent published in the GitHub repository nodnarbnitram/claude-code-extensions (19 stars, last pushed 7mo ago), licensed MIT. It adds 42 tokens to every session and 2,217 once invoked, about $0.0002 per session on Opus 5.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-09-03.
ha-energy-expert compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ha-energy-expertnodnarbnitram/claude-code-extensions | Agent | 19 | 7mo ago | MIT | A | 42 | Claude Code |
| cocotb-reviewerbabyworm/rtl-agent-team | Agent | 72 | 2d ago | MIT | A | 51 | Claude Code |
| it-engineerserejaris/personal-corp-os | Agent | 249 | 4d ago | MIT | A | 66 | Claude Code |
| fabricatorpjt222/agent-almanac | Agent | 46 | yesterday | MIT | A | 25 | Claude Code |
| persona-highvibeic/vibe-ic | Agent | 33 | today | Apache-2.0 | A | 111 | Claude Code |
| rtl-plannerbabyworm/rtl-agent-team | Agent | 72 | 2d ago | MIT | A | 43 | Claude Code |
| antenna-engineerK-Dense-AI/scientific-agents | Agent | 271 | 2mo ago | MIT | A | 97 | Claude Code |