Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ha-find-duplicates

БесплатноБез исполняемых скриптовНе проверен

Find duplicate, near-duplicate and conflicting automations and scripts in a Home Assistant config, and suggest how to merge them. Use when the user asks for…

ESJavadexот ESJavadex★ 28 звёзд на GitHub

Об этом скилле

Find duplicate automations and scripts

Path: $ARGUMENTS, or /config if it exists, else the current folder.

python3 "${CLAUDE_PLUGIN_ROOT}/skills/homeassistant-config/scripts/find_duplicates.py" <path> --verbose

The finder treats old and new syntax as the same thing (platform:/trigger:, service:/action:), so an old copy of a modern automation shows up as an exact duplicate. Similar items are grouped into clusters; action names such as notify.mobile_app_x do not count as shared entities.

Report, in this order:

  1. Exact duplicates: same triggers, conditions and actions. Say which one to keep (the one with an id, the clearer alias, the newer syntax).
  2. Near-duplicate groups: for each group, what differs. A group of many scripts that differ only in one value (a room, a scene, a brightness) is a candidate for one script with a fields: input; show that script.
  3. Trigger conflicts: automations that fire on the same trigger. Explain whether they actually fight (one turns a light on, another off) or are harmless (two notifications). Intentional on/off pairs are fine.

Do not delete or edit anything until the user picks what to change. When they do, back up the file first and run validate_yaml.py on it afterwards.

Установить ha-find-duplicates в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash(python3 *)
Read
Grep
Glob

FAQ

Что делает скилл ha-find-duplicates?

Find duplicate, near-duplicate and conflicting automations and scripts in a Home Assistant config, and suggest how to merge them. Use when the user asks for duplicates, cleanup, or why two automations fight over the same device.

Как установить скилл ha-find-duplicates?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ha-find-duplicates запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ha-find-duplicates с