home-assistant-troubleshooting

home-assistant-troubleshooting is a skill for Claude Code, Codex from magnusoverli/opencode. It costs 89 tokens per session (1,083 once invoked), scanned A, original, Unlicense.

A read-only investigation process for Home Assistant problems. Home Assistant is software that connects and automates smart-home devices.

In plain words
What is it for?
Use it to investigate unavailable devices, automations that did not run, template errors, failing integrations, slow systems, or other unhealthy Home Assistant behavior.
Why use it?
It gathers focused evidence before suggesting a fix, without changing settings, restarting systems, or calling device services during diagnosis.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to investigate unavailable devices, automations that did not run, template errors, failing integrations, slow systems, or other unhealthy Home Assistant behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/magnusoverli/opencode/home-assistant-troubleshooting
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add magnusoverli/opencode --skill home-assistant-troubleshooting
Clone the repo
git clone --depth 1 https://github.com/magnusoverli/opencode

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for home-assistant-troubleshooting

README.md
[![agentmods](https://agentmods.dev/badge/skills/magnusoverli/opencode/home-assistant-troubleshooting/github.svg)](https://agentmods.dev/skills/magnusoverli/opencode/home-assistant-troubleshooting)
Your own site
<a href="https://agentmods.dev/skills/magnusoverli/opencode/home-assistant-troubleshooting"><img src="https://agentmods.dev/badge/skills/magnusoverli/opencode/home-assistant-troubleshooting/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for home-assistant-troubleshooting

Your own site · 80×15
<a href="https://agentmods.dev/skills/magnusoverli/opencode/home-assistant-troubleshooting"><img src="https://agentmods.dev/badge/skills/magnusoverli/opencode/home-assistant-troubleshooting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,083 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.01083
Opus 5.5 $0.00036 $0.00433
Sonnet 5.5 $0.00018 $0.00217
Haiku 4.5 $0.00009 $0.00108

Measured 3mo ago against content hash e3d84a0858f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

home-assistant-troubleshooting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ha_opencode/rootfs/opt/ha-mcp-server/skills/home-assistant-troubleshooting/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Troubleshooting Home Assistant

This work is read-only and ends in a recommendation. Gather evidence, explain what it shows, propose the smallest fix — and stop. Do not edit files, call services, restart, reload, or "just try" a change while investigating. The user asks for a fix separately, and then the configuration skill applies.

Keep queries bounded

Diagnostics is where context gets burned. Every query below has a narrower form; use it. A dump of every entity or a full log crowds out the evidence that actually matters.

  • get_home_context before any broad listing — it answers most "what exists" questions in a fraction of the tokens.
  • search_entities with a pattern, not get_states with no filter.
  • get_states(domain=...) when you do need a list.
  • get_history / get_logbook over the shortest window that could show the problem. Start at a few hours, widen only if it is not there. Supplied timestamps must carry Z or a UTC offset.
  • get_error_log before get_support_logs; the error log is already filtered.
  • get_support_logs when you need Core, Supervisor, host or add-on logs — it is bounded and credential-redacted. Name the component and keep the line count small.

If a query comes back empty, that means that query found nothing. Widen the window or change the search term before concluding the thing does not exist.

Order of attack

Start with diagnose_entity whenever the report names an entity. It bundles current state, recent history, related entities and the common causes, so it usually replaces four separate calls.

Then, depending on what it shows:

Symptom Next evidence
unavailable / unknown get_entity_details for the integration and device; get_devices for the parent device; the integration's entries in get_error_log
Entity missing entirely search_entities for the old and new names; check whether it was renamed or the integration failed to load
Automation did not fire get_logbook for the automation entity; read the automation YAML; check each condition against get_history at the trigger time
Template error render_template with the exact expression; check the referenced entities exist and are not unknown
Value looks wrong get_history for the entity, then for its source entity
Integration failing to set up get_error_log; get_supervisor_resolution for known issues
Slow, restarting, or out of space get_supervisor_health, get_supervisor_metrics, get_backup_posture, get_store_audit
Something changed after an update get_breaking_changes; the release notes for the installed version

Read the full file on GitHub · 88 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 88 lines · 89 tokens per session scan A e3d84a0858f3

Subscribe to this mod's changes

home-assistant-troubleshooting is a skill published in the GitHub repository magnusoverli/opencode (479 stars, last pushed 8d ago), licensed Unlicense. It adds 89 tokens to every session and 1,083 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

home-assistant-troubleshooting compared with skills from other repositories

home-assistant-troubleshooting next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
home-assistant-troubleshootingmagnusoverli/opencodeSkill4798d agoUnlicenseA89Claude Code, Codex
gke-ai-troubleshooting-tpu-dynamic-slices-monitoringgoogle/skillsSkill26ktodayApache-2.0A107Claude Code, Codex
gke-ai-troubleshooting-tpu-vbar-oomgoogle/skillsSkill26ktodayApache-2.0A125Claude Code, Codex
doca-flowNVIDIA/skillsSkill4.3ktodayApache-2.0A224Claude Code
competition-firmware-layoutzhaoxuya520/reverse-skillSkill46k19d agoMITA110Codex
diagnose-driver-installNVIDIA/deepopsSkill1.5k2d agoBSD-3-ClauseA47Claude Code, Codex
catc-troubleshootautomateyournetwork/netclawSkill7402d agoApache-2.0A114Claude Code