spook
Skill by frenck
Teaches an AI agent to use Spook, the Home Assistant custom integration that finds broken references and unused leftovers and adds extra actions, triggers, conditions and helpers. Use it when Spook is installed and you manage Home Assistant from an agent.
Install spook
Built from the published package, never by AI.
git clone --depth 1 https://github.com/frenck/spook /tmp/spook && mkdir -p ~/.claude/skills && cp -r /tmp/spook/plugins/spook/skills/spook ~/.claude/skills/spookRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/frenck/spook /tmp/spook && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/spook/plugins/spook/skills/spook ~/.gemini/antigravity-cli/skills/spookAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Spook is a custom integration for Home Assistant, with the domain spook. It finds ghosts: references to entities, devices, areas, labels, actions and triggers that no longer exist, plus leftovers nobody uses, such as empty areas and unused labels. Each finding is reported as an issue in Repairs under the spook domain. It also adds over a hundred actions, automation triggers and conditions, and a few helpers.
This skill teaches an AI agent to call Spook's actions, write automations with its triggers and conditions, and read, explain, fix or ignore its repair issues. It also covers writing automations, scripts, scenes, templates and dashboards for current Home Assistant, and points to Spook's own tools when they are available. It is for people who manage Home Assistant from an agent through HA-MCP, the MCP server or the API.
Written from the project's SKILL.md and checked against it.
What it can do
- Spook actionsCalls over a hundred actions, such as homeassistant.add_label_to_entity and repairs.list.
- Spook triggers and conditionsWrites automations with spook.* triggers and conditions such as spook.cron and spook.is_available.
- Repair issuesReads, explains, fixes or ignores the ghost issues Spook raised in Repairs.
- Spook helpersCreates helpers such as calibration, inverse, time in state, count and recurring task.
- spook__check_draftChecks a draft automation, script, scene or dashboard card for ghosts and known problems before saving.
- spook__save_configSaves an automation, script or scene and reports whether it loaded.
- spook__diagnose_automationGives a verdict on an automation that does not do what it should.
- spook__rename_impactShows what follows and what breaks before renaming an entity ID, device, area, floor or label.
What you need
- Home Assistant with the Spook custom integration installed
- An admin user for registry, repairs.list and repairs.ignore_all actions
- An AI agent that manages Home Assistant through HA-MCP, the MCP server or the API
Try asking
- List the open Spook repair issues in my Home Assistant and explain each one.
- Write an automation that uses spook.cron to run on weekdays at 7 am.
- Check this draft automation for ghosts before I save it to Home Assistant.
Good to know
- Some Spook tools are only offered from Home Assistant 2026.11.
- Registry and repairs actions need an admin user.
- Ignoring a repair applies to one finding, so a new unknown entity raises a new issue.
- When checking a draft made from a blueprint, the check looks only for ghosts.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/spook/skills/spook/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB -
references/actions.md164 KB -
references/conditions.md5 KB -
references/guide-actions.md7 KB -
references/guide-automations.md5 KB
Show all 34 files
-
references/guide-blueprints.md2 KB -
references/guide-changing.md4 KB -
references/guide-conditions.md7 KB -
references/guide-dashboards.md10 KB -
references/guide-devices_and_networks.md9 KB -
references/guide-energy.md7 KB -
references/guide-helpers.md5 KB -
references/guide-idempotent.md15 KB -
references/guide-lights.md2 KB -
references/guide-maintenance.md7 KB -
references/guide-modes.md4 KB -
references/guide-naming.md4 KB -
references/guide-notifications.md8 KB -
references/guide-organizing.md5 KB -
references/guide-outdated.md9 KB -
references/guide-scenes.md4 KB -
references/guide-scripts.md6 KB -
references/guide-style.md4 KB -
references/guide-targets.md4 KB -
references/guide-template_entities.md5 KB -
references/guide-templates.md10 KB -
references/guide-testing.md5 KB -
references/guide-triggers.md12 KB -
references/guide-voice.md6 KB -
references/guide-waits.md6 KB
And 4 more files on GitHub.
Alternatives to spook
All alternatives →Diagnoses slow React components and suggests targeted performance fixes. Built for developers who want to reduce re-renders or list lag in React UIs.
Diagnoses slow React components and suggests targeted performance fixes. Built for React developers who need to reduce re-renders, list lag, or expensive render work.
Designs masterclass-style lectures as slide courses with dense pages, long teacher narration and rare quizzes. Built for subjects where understanding matters more than hands-on practice.
Designs hands-on workshop courses in which the learner practises through exercise and quiz pages instead of watching. It suits workshops, bootcamp sessions and skills the learner should leave able to use.
Analyzes competition and develops market positioning strategies using Porter's Five Forces, Blue Ocean Strategy, and positioning maps. Useful for founders and teams evaluating competitors or preparing a startup or investor pitch.
Designs courses whose content depends on current or external facts. It researches the topic first, records each claim with its source, and builds the outline and pages from fetched material. Built for educators teaching time-sensitive subjects.
Compare with react-component-performance, react-component-performance or lecture-style
spook: common questions
What is Spook for Home Assistant?
Spook is a custom integration that finds references to things that no longer exist and unused leftovers, and reports them as Repairs. It also adds actions, triggers, conditions and helpers that Home Assistant does not offer on its own.
How do I know Spook is installed?
Its actions only exist when Spook is installed. Look for spook.boo or repairs.list among the actions, or a spook config entry.
Can an AI agent fix Spook repair issues?
Yes. The skill covers reading, explaining, fixing and ignoring the repair issues Spook raised, and suggests finding what a broken reference became before changing it.
How do I install spook?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is spook free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is spook safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to spook?
Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.
