Replies: 3 comments
homeassistant-ai/skills/@sergeykad : You are now admin of https://github.com/homeassistant-ai/skills/ 🙌🎊 Let me know if it works. Looking forward to try this! Good luck! 🍀 On skills:I missed that skills are now open and getting adopted by multiple tools. Nice. One thing I noticed is that even with *_docs tools in the MCP, the agent does not check it very often. Maybe skill are the answer for that. I think there is a guide for dashboard and maybe 1-2 more. An interesting skill would be : upgrade Home Assistant each month (backup, check the release logs, check if anything is breaking, upgrade deprecations with the "repair" panel in the settings, etc.) @maxperron would be interested. |
|
First of all, thanks for the trust. That was a bit unexpected. I'll try not to disappoint. On The upgrade assistant is an interesting idea. It's a different kind of skill, more of a guided workflow than a best-practices reference, but the format supports both. Good candidate for the repo. |
|
The repo has its first skill, CI validation, and cross-agent installation working.
|
Uh oh!
There was an error while loading. Please reload this page.
The Problem
AI agents connected to Home Assistant through ha-mcp wield 95+ tools but lack the domain knowledge to use them well. Issue #445 proved the point: agents default to Jinja2 templates when native HA constructs — state conditions with list syntax,
min_maxhelpers,wait_for_trigger— solve the problem directly. Templates are flexible and always syntactically valid, so agents reach for them first. A seasoned HA user never would.MCP gives agents the ability to act. Skills give agents the knowledge to act well.
What Are Agent Skills?
Agent Skills is an open standard for packaging domain expertise into instruction sets that AI agents load on demand. A skill is a folder containing a
SKILL.mdfile (YAML metadata + Markdown instructions) and optional reference material. 26+ tools adopt the standard: Claude Code, GitHub Copilot, Cursor, VS Code, Gemini CLI, OpenAI Codex, Roo Code, Mistral Vibe, and others. Because the standard is tool-agnostic, a skill authored once works everywhere.Skills complement ha-mcp: ha-mcp provides connectivity (tools for searching, controlling, and configuring HA); a skill provides expertise (when to use native conditions, which helper type fits, how to structure automations). Together they complete the picture.
For Home Assistant, a single skill —
ha-mcp-best-practices— with reference files for deeper material fits naturally. The coreSKILL.mdcovers principles and quick-reference patterns; areferences/directory holds detailed material (automation patterns, helper types, template guidelines, device control) that agents load only when needed.What the Skill Covers
Core principles (in
SKILL.md):Reference material (in
references/, loaded on demand):wait_for_trigger, numeric state conditionsmin_max,combine,statistics,threshold,derivative,utility_meter, input helpers, counters, timersdashboard_guide.md— this becomes a reference file)What the Skill Looks Like (Sketch)
Delivery: How Agents Get the Skill
Two paths serve two types of agents:
1. Filesystem-based agents (Claude Code, Cursor, Copilot, etc.)
Clone or install the skills repo. Point the agent at the directory. It discovers
SKILL.mdfiles automatically through the Agent Skills standard.2. Tool-based / MCP agents (claude.ai, Open WebUI, ChatGPT, etc.)
ha-mcp could expose the skill as an MCP prompt — the MCP-native equivalent of on-demand instruction templates. The MCP spec already defines
prompts/listandprompts/getfor this purpose. Any MCP client could then discover and activate the skill without filesystem access.Both paths draw from the same source of truth.
Where Should Skills Live?
Proposal: Start with a
homeassistant-ai/skillsrepository — a dedicated home for community-contributed HA agent skills, following the Agent Skills open standard.Why a separate repo:
ha-mcp could serve skills from that repo as MCP prompts, bridging both delivery paths.
If skills must stay tightly coupled to MCP tool descriptions, they can live inside ha-mcp itself — but separation keeps maintenance and contribution cleaner.
References
All reactions