ha-suggestions

ha-suggestions is an agent for Claude Code from ESJavadex/claude-homeassistant-plugins. It costs 59 tokens per session (1,509 once invoked), scanned A, original, MIT.

A smart-home adviser for Home Assistant, a system that connects and automates household devices. It examines configuration files, sensors, devices, and existing automations.

In plain words
What is it for?
Suggesting automations, scenes, scripts, device additions, and improvements to existing Home Assistant setups.
Why use it?
It helps reveal useful improvements that may be difficult to spot when a home setup has many devices and routines.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the homeassistant-config plugin — 1 skill, 1 command, 1 agent shipped together

Good fit Suggesting automations, scenes, scripts, device additions, and improvements to existing Home Assistant setups.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/esjavadex/claude-homeassistant-plugins/ha-suggestions
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.

Clone the repo
git clone --depth 1 https://github.com/ESJavadex/claude-homeassistant-plugins

Made for: Claude Code.

Or install homeassistant-config, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

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 ha-suggestions

README.md
[![agentmods](https://agentmods.dev/badge/agents/esjavadex/claude-homeassistant-plugins/ha-suggestions/github.svg)](https://agentmods.dev/agents/esjavadex/claude-homeassistant-plugins/ha-suggestions)
Your own site
<a href="https://agentmods.dev/agents/esjavadex/claude-homeassistant-plugins/ha-suggestions"><img src="https://agentmods.dev/badge/agents/esjavadex/claude-homeassistant-plugins/ha-suggestions/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 ha-suggestions

Your own site · 80×15
<a href="https://agentmods.dev/agents/esjavadex/claude-homeassistant-plugins/ha-suggestions"><img src="https://agentmods.dev/badge/agents/esjavadex/claude-homeassistant-plugins/ha-suggestions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,509 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.00059 $0.01509
Opus 5 $0.00030 $0.00754
Sonnet 5 $0.00012 $0.00302
Haiku 4.5 $0.00006 $0.00151

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

Security

Grade A, and why

ha-suggestions 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 9d 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.

homeassistant-config/agents/ha-suggestions.md · 217 lines

How it starts

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

You are an expert smart home consultant and Home Assistant specialist. Your role is to analyze users' existing Home Assistant configurations and provide actionable suggestions for:

  1. New Automations - Based on available sensors and devices
  2. New Scenes - Mood and activity-based configurations
  3. Script Improvements - Reusable sequences and routines
  4. Device Recommendations - Gadgets that would enhance the setup
  5. Optimization - Improvements to existing automations

Analysis Process

Step 1: Discover the Configuration

Search for Home Assistant configuration files:

# Find main configuration files
find . -name "*.yaml" -o -name "*.yml" | head -50

Look for:

  • configuration.yaml - Main config
  • automations.yaml or automations/ - Existing automations
  • scenes.yaml or scenes/ - Existing scenes
  • scripts.yaml or scripts/ - Existing scripts
  • sensors.yaml or sensors/ - Custom sensors
  • .storage/core.entity_registry - All registered entities

Step 2: Inventory Current Setup

Extract and categorize:

Entities by Domain:

  • light.* - Smart lights
  • switch.* - Smart switches/plugs
  • sensor.* - Sensors (temperature, humidity, power, etc.)
  • binary_sensor.* - Motion, door/window, presence sensors
  • climate.* - Thermostats and HVAC
  • media_player.* - Speakers, TVs, streaming devices
  • cover.* - Blinds, curtains, garage doors
  • lock.* - Smart locks
  • camera.* - Security cameras
  • vacuum.* - Robot vacuums
  • person.* - Tracked people for presence detection

Integrations in Use:

  • Look for integration configurations in configuration.yaml
  • Check .storage/core.config_entries for installed integrations

Step 3: Generate Suggestions

Based on the inventory, provide suggestions in these categories:

Suggestion Categories

A. Automation Suggestions

For each suggestion, provide:

  • Name: Descriptive automation name
  • Purpose: What problem it solves
  • Triggers: What starts it
  • Actions: What it does
  • Required Entities: What's needed
  • Complete YAML: Ready-to-use code

Read the full file on GitHub · 217 lines

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. 9d ago First seen · 217 lines · 59 tokens per session scan A 4dbaabbb7ad6

Subscribe to this mod's changes

ha-suggestions is an agent published in the GitHub repository ESJavadex/claude-homeassistant-plugins (26 stars, last pushed 9mo ago), licensed MIT. It adds 59 tokens to every session and 1,509 once invoked, about $0.0003 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-30.

Related

Other agents, from other repositories

cheatsheet-language-reviewer

Language and editorial reviewer for OWASP cheat sheet changes. Checks US English correctness, grammar, clarity for non-native readers, and the project's structural/style conventions. Invoked by /review-cheatsheet-pr.

OWASP/CheatSheetSeries · 48 tokens

seo-meta-optimizer

Creates optimized meta titles, descriptions, and URL suggestions based on character limits and best practices. Generates compelling, keyword-rich metadata. Use PROACTIVELY for new content.

echoVic/blade-code · 39 tokens

check

Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.

mindfold-ai/Trellis · 34 tokens

java-pro

Master modern Java with streams, concurrency, and JVM optimization. Handles Spring Boot, reactive programming, and enterprise patterns. Use PROACTIVELY for Java performance tuning, concurrent programming, or complex enterprise solutions.

echoVic/blade-code · 44 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

persona-high

Simulated senior IC designer with full datasheet / PDK / corner fluency. Specifies CRC polynomials, bit-period cycles, opcode hex, GF180MCU 5V corners. Pushes back hard when the AI hand-waves and demands datasheet-section traceability. Drives the IC Expert Agent (plain-language register) during Phase-1 training to…

vibeic/vibe-ic · 111 tokens