# Repository Briefing: komal-SkyNET/claude-skill-homeassistant
> Source: https://repoforai.com/repo/komal-SkyNET/claude-skill-homeassistant (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/komal-SkyNET/claude-skill-homeassistant
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Multi-language
- **License**: MIT
- **Engineering Health**: B (51/100 · Maintenance 12/35 · Adoption 13/25 · Releases 6/20 · License 20/20)
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: CLI
- **Momentum**: 987 ★ total (+0 24h / +2 7d) · 59 forks
- **Topics**: `agentic-ai`, `ai-agents`, `automation`, `claude-code`, `home-assistant`
- **When to Use**: Best for: Home Assistant operators who keep configuration in Git and want Claude Code to help author, deploy, and verify automations and Lovelace dashboards. Skip if: You only need live entity tools, cannot grant controlled access to the instance, or need an enforced deployment pipeline with approvals and rollback.

## Overview
```text
### Architecture & Core Mechanics
This repository ships a Claude Code skill and plugin marketplace metadata, not a runnable MCP server. `.claude-plugin/plugin.json` declares the plugin, `.claude-plugin/marketplace.json` lists it for installation, and `skills/home-assistant-manager/SKILL.md` is the instruction entrypoint. Details on automation and Lovelace live in `reference/automations.md` and `reference/dashboards.md` for on-demand use.

Claude Code interprets the workflow and runs the available tools. Git tracks stable configuration, `scp` transfers test changes, and SSH can run the target host's `ha` CLI where installed. `hass-cli` connects to the Home Assistant instance using `HASS_SERVER` and `HASS_TOKEN`. An existing Home Assistant MCP connection is preferred for live state and service calls; optional Context7 is for documentation lookup, not device access.

### Key Capabilities & Differentiators
Automation authoring defaults to Home Assistant 2024.10+ syntax: `triggers:`, `conditions:`, `actions:`, and `action:` for service calls. The skill covers blueprints, `single` versus `restart` modes, and Jinja2 type errors. Its verification loop combines configuration validation with runtime checks through logs and traces. A successful manual `automation.trigger` can confirm that actions ran, but it is not evidence that the normal trigger and conditions work together.

For Lovelace, the skill covers Panel and Sections views, Tile and Mushroom cards, and touch layouts for 7-, 11-, and 13-inch tablets. It walks through registering storage-backed dashboards, checking JSON and entity references, and previewing supported changes with a browser refresh rather than a Core restart. If a layout uses Mushroom or Auto-entities, plan for those custom cards separately.

### Trade-offs & Limitations
The official Home Assistant `mcp_server` integration and community `ha-mcp` expose live entity and service tools. This skill instead gives Claude a procedure for changing and verifying configuration, so it complements rather than replaces those servers. It is most useful for Git-managed setups; an operator who only needs to query device state may prefer MCP alone, while a team with mature deployment scripts may get more value from using the skill to author and review changes than from giving it production access.

Direct `scp` iterations are quick, but the running configuration can diverge from Git if a test change is neither committed nor reverted. Validation and reload guidance are instructions to Claude, not enforced deployment gates. Direct `.storage` edits can also encounter cached state or conflict with UI changes. Keep backups, review diffs, and require approval before disruptive restarts or consequential service calls.

### Hardware & Deployment Guide
Install `home-assistant-manager` from the `komal-SkyNET/claude-skill-homeassistant` marketplace in Claude Code, then verify it is enabled with `/plugin`. For a project-scoped install, link or extract the skill into `.claude/skills/home-assistant-manager` under the Home Assistant configuration checkout. No separate application server or container is part of the documented setup.

For the remote workflow, run Claude Code from the Git checkout associated with the instance's `/config`, configure SSH key access, and install `homeassistant-cli` with `pipx`. Set `HASS_SERVER` and `HASS_TOKEN` for CLI access; keep the token out of Git and avoid sending it over plaintext HTTP on untrusted networks. Check that the target exposes `ha` before using steps that depend on it. No GitHub release is listed; record the installed revision if teammates need a reproducible setup.
```

## Key Capabilities
```text
- Packaging: `.claude-plugin/` contains the plugin and marketplace manifests; the workflow lives in `skills/home-assistant-manager/SKILL.md`.
- Deployment: Uses `scp` for test iterations and Git for verified changes, with guidance on when to reload versus restart.
- Automation authoring: Targets Home Assistant 2024.10+ YAML with `triggers:`, `conditions:`, `actions:`, and `action:` for service calls.
- Verification: Uses logs and traces to check execution and calls out that a manual trigger can skip conditions.
- Lovelace: Covers Panel and Sections layouts, Tile and Mushroom cards, Jinja2 type pitfalls, and storage-backed dashboard registration.
- Integration: Prefers Home Assistant MCP for live operations when available, falls back to SSH and `hass-cli`, and can use Context7 for documentation lookup.
```

## Quick Start / Clone
```bash
cd /path/to/your/homeassistant/config
mkdir -p .claude/skills/home-assistant-manager
cd .claude/skills/home-assistant-manager
curl -L https://github.com/komal-SkyNET/claude-skill-homeassistant/archive/main.tar.gz | tar xz --strip-components=2 claude-skill-homeassistant-main/skills/home-assistant-manager
```
