/spook:spookfrom spook
Knows Spook, a Home Assistant custom integration that finds ghost references to non-existent entities/devices/areas and reports them as Repairs, plus adds 100+ actions, triggers, conditions, and helpers. Use when managing Home Assistant via agent (HA-MCP, API) to call Spook actions, write automations with spook.* triggers, or fix repair issues.
Ships in spook. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Spook is a custom integration for Home Assistant. It does two things:
spook domain.Reach for this skill when Spook is installed and the job is cleaning up a Home Assistant instance, managing its registries (areas, floors, labels, categories, entity IDs) from an agent, or writing automations that need something core does not offer.
Not sure Spook is there? Its actions only exist when it is: look for spook.boo or repairs.list among the actions, or a spook config entry.
Call them like any core action: domain.action, fields under data, entities under target.
spook. homeassistant.add_label_to_entity, homeassistant.create_area, repairs.list, light.set_brightness, input_select.random. The UI marks them with a 👻 after the name.light integration, no light.set_brightness.repairs.list, repairs.ignore_all and repairs.unignore_all.repairs.list and homeassistant.list_orphaned_database_entities, and fail when called without asking for it; others answer on request, like calendar.delete_event. The reference says which, per action. Ask with response_variable in YAML, return_response over the API.group.remove_members, for one, accepts a member that is already gone, on purpose. Follow each action's reference rather than assume.homeassistant), for conversation agents and Home Assistant's MCP server: spook__overview, spook__list_ghosts, spook__explain_ghost, spook__find_usages, spook__check_references, spook__list_features, spook__ignore_ghost, spook__unignore_ghost and spook__fix_ghost. When they are there, prefer them over calling actions by hand. spook__check_references checks a draft automation or script for ghosts before you save it.spook__overview arrives as home-assistant__spook__overview. Same tool, either name.Every action, with its fields: references/actions.md.
They use the new-style syntax, with spook.<name> as the platform, options under options: and the target under target:.
triggers:
- trigger: spook.cron
options:
schedule: "0 7 * * 1-5"
conditions:
- condition: spook.is_available
target:
entity_id: media_player.bathroom
- condition: spook.cooldown
options:
duration: "00:30:00"
actions:
- action: media_player.play_media
# ...
Some take other triggers or conditions as options, like spook.all_of, spook.sequence, spook.debounce and spook.condition_met. Those nest in the same shape as the automation they sit in.
Every trigger and condition, with its options: references/triggers.md and references/conditions.md.
Spook raises issues under the spook domain. The issue ID starts with the kind of repair, followed by what it was found in.
*_unknown_*): something points at a thing Home Assistant does not know. Usually it was renamed or removed. Find what it became and fix the reference, rather than deleting the automation that holds it.empty_areas, empty_floors, unused_labels, unused_blueprints, orphaned_statistics): nothing uses them. Could be a plan, could be junk. Ask before removing.Reading them: repairs.list with domain: spook hands back the open issues with issue_id, title, severity, is_fixable, learn_more_url and ignored. Add include_ignored: true to see ignored ones too.
Ignoring is per finding, not per place. Ignoring "unknown entity in automation X" silences that entity in that automation. A new unknown entity in the same automation raises a new issue. That is on purpose: one shrug should not hide the next real break.
Your own issues, with repairs.create and repairs.remove:
repairs.create stores the issue_id with a user_ prefix, and files it under spook whatever domain you gave.repairs.list shows that prefixed ID. Drop one user_ before handing it to repairs.remove or repairs.create.persistent: true.Every kind of repair, what it means and where it is documented: references/repairs.md.
Full documentation: https://spook.boo
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
home-assistant, spook, repairs, automation, entity-management
npx claudepluginhub frenck/spook --plugin spookOther plugins' skills for the same job