home-assistant-setup

home-assistant-setup is a skill for Claude Code, Codex from NetMindAI-Open/NarraNexus. It costs 80 tokens per session (1,365 once invoked), scanned B, original, Apache-2.0.

A setup assistant for running Home Assistant locally, where Home Assistant is software for controlling smart-home devices from one place. It connects devices such as Xiaomi, Philips Hue, and Zigbee hardware, then returns the address and access token needed to connect the setup to another service.

In plain words
What is it for?
Installing a local Home Assistant instance, connecting smart-home devices, handling required sign-ins, and providing the connection details for NarraNexus.
Why use it?
It removes much of the manual setup involved in installing Home Assistant and linking supported smart-home accounts and devices.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Installing a local Home Assistant instance, connecting smart-home devices, handling required sign-ins, and providing the connection details for NarraNexus.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/netmindai-open/narranexus/home-assistant-setup
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 NetMindAI-Open/NarraNexus --skill home-assistant-setup
Clone the repo
git clone --depth 1 https://github.com/NetMindAI-Open/NarraNexus

Made for: Claude Code, Codex.

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 home-assistant-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/netmindai-open/narranexus/home-assistant-setup/github.svg)](https://agentmods.dev/skills/netmindai-open/narranexus/home-assistant-setup)
Your own site
<a href="https://agentmods.dev/skills/netmindai-open/narranexus/home-assistant-setup"><img src="https://agentmods.dev/badge/skills/netmindai-open/narranexus/home-assistant-setup/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 home-assistant-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/netmindai-open/narranexus/home-assistant-setup"><img src="https://agentmods.dev/badge/skills/netmindai-open/narranexus/home-assistant-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,365 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00080 $0.01365
Opus 5.5 $0.00032 $0.00546
Sonnet 5.5 $0.00016 $0.00273
Haiku 4.5 $0.00008 $0.00136

Measured 3mo ago against content hash 6ee716072341, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

home-assistant-setup scanned grade B with 1 finding 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.

The scan reads SKILL.md. This mod also ships 1 executable file (ha_setup.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

terminal** prompts for their sudo password and does it in one step; run **by
src/xyz_agent_context/module/skill_module/builtin_skills/home-assistant-setup/SKILL.md · 97 lines

How it starts

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

home-assistant-setup

Get a user's smart home controllable by this agent. You drive everything via the bundled ha_setup.py CLI — the user only acts at the two points that genuinely need them (a one-time sudo for /etc/hosts, and signing into their device account). This skill is local/desktop only: if the user runs NarraNexus in the cloud, they instead expose their own HA and paste its URL + token into the Smart Home config panel — no install needed.

Availability

ha_setup.py is bundled with this skill — it is already on disk at skills/home-assistant-setup/ha_setup.py. Run it, do not download or reinstall it. It needs Python 3 with aiohttp (present in this platform's Python). Requires Docker to be installed on the user's machine.

Every command prints human progress to stderr and one machine line to stdout:

  • RESULT {…json…} — the outcome; parse it.
  • ACTION_REQUIRED: <instruction> (exit code 10) — a step only the user can do. Relay the instruction to the user (for a login URL, give it as a clickable link in chat), wait for them, then continue.

Steps

Run each as python3 skills/home-assistant-setup/ha_setup.py <command>.

  1. doctor — read-only. See what already exists (Docker present? HA running? onboarded? Xiaomi installed? hosts ok? token?). Skip steps already done.

  2. deploy — deploy Home Assistant in Docker and wait until ready. Idempotent (skips if the container is already up).

  3. init --gen — create the admin account and mint a Long-Lived Access Token. RESULT carries username, password (if generated), and token. Show the username/password to the user so they can log into HA later, and keep the token for step 8. If HA is already onboarded, pass --username <u> --password <p> instead so it logs in and mints a token.

  4. Ask which ecosystem the user's devices belong to (Xiaomi/Mi Home, a brand cloud like Hue/Nest/Tuya/SmartThings, or local Zigbee/Z-Wave/Matter). For Xiaomi continue with steps 5–7. For other ecosystems, add the matching HA integration via the WebSocket config_entries/flow API instead (same pattern; only the handler and the human login step differ).

Read the full file on GitHub · 97 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. 3mo ago First seen · 97 lines · 80 tokens per session scan B 6ee716072341

Subscribe to this mod's changes

home-assistant-setup is a skill published in the GitHub repository NetMindAI-Open/NarraNexus (90 stars, last pushed 2d ago), licensed Apache-2.0. It adds 80 tokens to every session and 1,365 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

home-assistant-setup compared with skills from other repositories

home-assistant-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
home-assistant-setupNetMindAI-Open/NarraNexusSkill902d agoApache-2.0B80Claude Code, Codex
gke-compute-classesgoogle/skillsSkill25kyesterdayApache-2.0A83Claude Code, Codex
jetson-diagnosticNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code, Codex
holoscan-install-wheelNVIDIA/skillsSkill4.3ktodayApache-2.0A34Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill12k15d agoMITA113Claude Code, Codex
hsb-flashNVIDIA/skillsSkill4.3ktodayApache-2.0B94Claude Code
jetson-validate-imageNVIDIA/skillsSkill4.3ktodayApache-2.0B50Claude Code, Codex