Agent skill

Automation Debug

by Apocrathia in Apocrathia/home-assistant-config

Systematically diagnose and fix broken Home Assistant automations with a structured reproduce → triggers → conditions → actions workflow.

No licenceAuto-check passedDevOps & Cloud

Install Automation Debug

skills CLI
$ npx skills add Apocrathia/home-assistant-config --skill automation-debug -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Apocrathia/home-assistant-config automation-debug --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Apocrathia/home-assistant-config.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/automation-debug .claude/skills/automation-debug && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
automation-debug
GitHub stars
179
Token cost
~1.2k tokens
SKILL.md length
306 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
None found

At a glance

Systematically diagnose and fix broken Home Assistant automations with a structured reproduce → triggers → conditions → actions workflow.

  • Works in 5 steps: Reproduce the Issue → Check Triggers → Check Conditions → …
  • → conditions → actions workflow
  • SKILL.md covers Purpose, When to Use, Debugging Workflow and Logging and Diagnostics, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Automation Debug is an agent skill from Apocrathia/home-assistant-config. Systematically diagnose and fix broken Home Assistant automations with a structured reproduce → triggers → conditions → actions workflow. Use when an automation is not firing, fires at the wrong time, an action fails silently, entity state does not update as expected, or template/condition logic produces unexpected results.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering CI/CD. It works with Home Assistant. The repository describes itself as: Apocrathia's Home Assistant Configuration Files.

When your agent uses it

  • → conditions → actions workflow
  • An automation is not firing
  • Fires at the wrong time
  • An action fails silently

Example prompts

  • “/automation-debug”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Reproduce the Issue
  2. Check Triggers
  3. Check Conditions
  4. Check Actions
  5. Check Templates

What it can do on your machine

Read from SKILL.md and the folder at commit e28308a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Automation Debug loads about 1.2k tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 306 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~86
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 306 words (~1,183 tokens).

“Systematically diagnose and fix broken Home Assistant automations using a structured troubleshooting approach.”

— opening of SKILL.md by Apocrathia
name
automation-debug

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/automation-debug of Apocrathia/home-assistant-config.

Open the folder on GitHubat commit e28308a

Compare with similar skills

Automation Debug next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Automation Debug compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Automation Debug this skillApocrathia/home-assistant-config179—~1.2kAutomated safety check: PassNone
Repo Hygiene Scan and FixQwenLM/qwen-code28k—~1.7kAutomated safety check: PassApache-2.0
Bash Defensive Patternspromovaweb/setupvibe10113 repos~572Automated safety check: PassGPL-3.0
Winui AppLanceMcCarthy/DevOpsExamples1721 repos~2.8kAutomated safety check: PassApache-2.0
Released-kimuson/claude-code-viewer1.3k—~1.2kAutomated safety check: PassMIT
Reviewwerf/werf4.7k—~2kAutomated safety check: PassApache-2.0

Similar skills

  • Scheduled CI skill that scans a repository for small, certain docs, test and code hygiene issues and fixes them on one branch with a commit per finding.

    28k GitHub stars~1.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Bash Defensive Patterns

    promovaweb/setupvibe

    Master defensive Bash programming techniques for production-grade scripts.

    101 GitHub starsUsed in 13 repos~572 tokens
    DevOps & CloudAuto-check passed
  • Winui App

    LanceMcCarthy/DevOpsExamples

    Bootstrap, develop, and design modern WinUI 3 desktop applications with C and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and…

    172 GitHub starsUsed in 1 repo~2.8k tokens
    DevOps & CloudAuto-check passed
  • Release

    d-kimuson/claude-code-viewer

    Run the claude-code-viewer release flow end-to-end. An agent skill from d-kimuson/claude-code-viewer.

    1.3k GitHub stars~1.2k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Review

    werf/werf

    Code review of a pull request, branch, or diff. An agent skill from werf/werf.

    4.7k GitHub stars~2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Megalinter Check

    nvuillam/npm-groovy-lint

    Collect MegaLinter lint errors for the current repository. An agent skill from nvuillam/npm-groovy-lint.

    248 GitHub starsUsed in 1 repo~3.9k tokens
    DevOps & CloudAuto-check: notes

More from Apocrathia/home-assistant-config

All 22 skills in this repo
  • Reconcile Context

    Apocrathia/home-assistant-config

    Fix drift in Home Assistant Homelab agent context (AGENTS.md, CLAUDE.md, .agents/context/, rules, skills, agents) against the repo.

    179 GitHub stars~931 tokensUpdated 16 days ago
    Auto-check passed
  • Alignment

    Apocrathia/home-assistant-config

    Interview the operator about a topic until shared understanding, walking each branch of the decision tree one at a time.

    179 GitHub stars~1.4k tokensUpdated 16 days ago
    Auto-check passed
  • Architecture Review

    Apocrathia/home-assistant-config

    Explore packages/, layout, and .agents/ for architectural friction (coupling, shallow packages, missing boundaries) and file or recommend agent issues under docs/issues/.

    179 GitHub stars~764 tokensUpdated 16 days ago
    Auto-check passed
  • Config Validate

    Apocrathia/home-assistant-config

    Validate Home Assistant YAML configuration for syntax, structure, entity references, duplicates, and secrets usage before applying changes.

    179 GitHub stars~932 tokensUpdated 16 days ago
    Auto-check passed
  • Create Agent

    Apocrathia/home-assistant-config

    Create a new agent persona under .agents/agents/. An agent skill from Apocrathia/home-assistant-config.

    179 GitHub stars~1.1k tokensUpdated 16 days ago
    Auto-check passed
  • Create Skill

    Apocrathia/home-assistant-config

    Create a new skill under .agents/skills/. An agent skill from Apocrathia/home-assistant-config.

    179 GitHub stars~1k tokensUpdated 16 days ago
    Auto-check passed

Works with

Questions about Automation Debug

What does Automation Debug do?

Systematically diagnose and fix broken Home Assistant automations with a structured reproduce → triggers → conditions → actions workflow. Automation Debug is an agent skill from Apocrathia/home-assistant-config. Systematically diagnose and fix broken Home Assistant automations with a structured reproduce → triggers → conditions → actions workflow.

When should I use Automation Debug?

Automation Debug fits situations like: → conditions → actions workflow; an automation is not firing; fires at the wrong time; an action fails silently.

How do I install Automation Debug in Claude Code?

Run `npx skills add Apocrathia/home-assistant-config --skill automation-debug -a claude-code`. Or copy the skill folder (.agents/skills/automation-debug in Apocrathia/home-assistant-config) into .claude/skills/automation-debug in your project. Claude Code loads it when a task matches its description.

How do I install Automation Debug in Codex?

Run `npx skills add Apocrathia/home-assistant-config --skill automation-debug -a codex`. Or copy the skill folder (.agents/skills/automation-debug in Apocrathia/home-assistant-config) into .agents/skills/automation-debug in your project. Codex loads it when a task matches its description.

Can I use Automation Debug in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Apocrathia/home-assistant-config --skill automation-debug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/automation-debug, .gemini/skills/automation-debug, .github/skills/automation-debug and .opencode/skills/automation-debug in your project.

What does Automation Debug need to run?

SKILL.md names no scripts, command-line tools or credentials: Automation Debug is instructions for the agent only.

Does Automation Debug access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Automation Debug safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Automation Debug use?

No licence was found for Automation Debug or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Automation Debug use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Automation Debug?

Skills that share tags, products or a category with Automation Debug: Repo Hygiene Scan and Fix (QwenLM/qwen-code, 28k stars), Bash Defensive Patterns (promovaweb/setupvibe, 101 stars), Winui App (LanceMcCarthy/DevOpsExamples, 172 stars) and Release (d-kimuson/claude-code-viewer, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Automation Debug?

Apocrathia (a GitHub user) maintains it in Apocrathia/home-assistant-config, which has 179 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on September 21, 2026.

Source: Apocrathia/home-assistant-config on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.