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.

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.

agentmods
npx agentmods add skills/netmindai-open/narranexus/home-assistant-setup
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00040 $0.00682
Sonnet 5 $0.00016 $0.00273
Haiku 4.5 $0.00008 $0.00136

Measured 6d ago against content hash 6ee716072341, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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. 6d 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 (86 stars, last pushed 3d ago), licensed Apache-2.0. It adds 80 tokens to every session and 1,365 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

integrated-browser

Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.

microsoft/vscode · 68 tokens

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens

doca-socket-relay

Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…

NVIDIA/skills · 236 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

hsb-flash

Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…

NVIDIA/skills · 94 tokens