geo-doctor
GEO 医生:一句话装进 AI 助手,查清豆包、DeepSeek、ChatGPT、Claude 为什么不推荐你,改资料、写内容、再复查。开源中英双语 GEO(生成式引擎优化)skill。
翻译准备中
Home Assistant skills for agents
翻译准备中
技能PythonGitHub @homeassistant-ai自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
安装型项目无需部署域名也可验证。个人仓库可通过 GitHub 登录验证,组织仓库可使用上方的仓库验证文件。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗An Agent Skill is a portable Markdown knowledge pack that teaches AI coding agents best practices for a specific technology. This repository provides one for Home Assistant, following the open Agent Skills standard. Install it and your agent applies Home Assistant best practices in every session.
home-assistant-best-practices — a decision workflow and anti-pattern table in SKILL.md, backed by reference files the agent loads on demand. It covers:
Agents make a predictable set of mistakes with Home Assistant config — Jinja templates where a native trigger, condition, or helper exists, device_id where entity_id belongs, mode: single on a motion light, renames that silently break dashboards and scripts — and the anti-pattern table names each one with its fix. A typical entry:
# Without the skill: a template condition. HA checks only the Jinja syntax when the automation loads
condition: template
value_template: "{{ states('sensor.living_room_temperature') | float > 25 }}"
# With the skill: a native condition. HA checks every key, the entity ID format and the threshold when it loads
condition: numeric_state
entity_id: sensor.living_room_temperature
above: 25
See Skill Contents for the file-by-file map.
Requires Node.js 22.20+.
npx skills add homeassistant-ai/skills
Works with AI coding agents that support the Agent Skills standard: Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and 70+ others. It installs into the current project; add -g to install it for all projects. To update: npx skills update
Claude Code also accepts the installer above, which places the skill files in your .claude/skills/ directory. The commands below install it as a plugin instead, kept in Claude Code's own plugin cache.
Run each command separately inside Claude Code:
/plugin marketplace add homeassistant-ai/skills
/plugin install home-assistant-skills@home-assistant-skills
Run /reload-plugins or restart Claude Code for the skill to take effect.
Auto-update is off by default for third-party marketplaces. To turn it on, run /plugin, open Marketplaces, choose home-assistant-skills, and select Enable auto-update. To update by hand instead, run /plugin, open Marketplaces, choose home-assistant-skills, and select Update marketplace, then run /reload-plugins. From a shell, run these, then /reload-plugins or restart Claude Code:
claude plugin marketplace update home-assistant-skills
claude plugin update home-assistant-skills@home-assistant-skills
Both apps share the same Customize UI, reached via the left sidebar (Claude Desktop) or claude.ai/customize (browser).
homeassistant-ai/skills (or the full URL, https://github.com/homeassistant-ai/skills) → SyncThis installs the skill as a plugin synced from this repo — no download or zip needed. Sync automatically is on by default, so later updates arrive on their own. To pull an update at once, open Add → Manage marketplaces, then the marketplace's menu → Check for updates.
cd skills && zip -r home-assistant-best-practices.zip home-assistant-best-practices/Once installed, the skill loads on its own whenever the agent works on automations, scripts, scenes, helpers, dashboards, blueprints, or backups — it needs no explicit invocation. Try:
Create an automation that turns on the hallway light when motion is detected and turns it off five minutes after the motion stops.
The home-assistant-best-practices skill includes:
| File | Purpose |
|---|---|
SKILL.md | Decision workflow, anti-pattern table, and pointers to the reference files below |
references/safe-refactoring.md | Safe workflow for renaming entities and their display names, replacing helpers, restructuring automations; display-name override, config-entry, and storage-dashboard blind spots |
references/triggers-and-conditions.md | Purpose-specific and native triggers/conditions, for: durations, trigger IDs |
references/automation-actions.md | Waits, variables, automation modes, control flow (choose, repeat, parallel), error handling (continue_on_error, admin-only actions), disabling automations, measuring elapsed time via last_triggered, Mobile App notify action vs entity, trace retention |
references/helper-selection.md | Built-in helpers vs template sensors (with decision matrix) |
references/template-guidelines.md | When to use templates, when to avoid them, template sensor best practices, reusable custom_templates macros |
See CONTRIBUTING.md for guidelines on writing and submitting skills.
Skill misled your agent? Open an issue with the Report Bad Skill Advice template and let the agent fill it in — it holds the context to trace the failure to its source in the skill.
MIT
references/yaml-only-integrations.md| YAML-only integration types, post-edit actions (reload vs restart) |
references/device-control.md | Actions and targeting, entity_id vs device_id, buttons and remotes, domain-specific patterns |
references/scenes.md | Scene authoring: config shape, snapshot/restore, snapshot-vs-script distinction |
references/dashboard-guide.md | Dashboard layout, view types, strategies, sections, cards, badges, custom cards, CSS styling, HACS / Marketplace |
references/dashboard-cards.md | Built-in card type lookup (core, energy, legacy), where to read a card's fields, entities-card attribute rows |
references/domain-docs.md | Integration and domain documentation (actions, entity attributes); doc pages for specific triggers, conditions, and actions |
references/examples.yaml | Compound examples combining multiple best practices |
references/appdaemon.md | AppDaemon apps: when to use vs. native HA, app structure, actions, scheduling, error handling, safe refactoring impact |
references/blueprint-guide.md | Blueprint authoring: metadata & source_url, inputs & selectors, target vs entity, defaults, !input templating, versioning |
references/backups.md | Full instance backups vs rolling one object back, when to offer a backup before an operation, what an archive contains, encryption keys, restore verification, backup deletion, why a git config repo does not replace a full backup |