Debug errors, bugs, and unexpected behavior systematically in Home Assistant integration.

MITAuto-check passedDevelopment

Install Debug

skills CLI
$ npx skills add Thank-you-Linus/Linus-Dashboard --skill debug -a claude-code

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

GitHub CLI
$ gh skill install Thank-you-Linus/Linus-Dashboard 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/Thank-you-Linus/Linus-Dashboard.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/debug .claude/skills/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
debug
GitHub stars
211
Token cost
~1.3k tokens
SKILL.md length
356 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Debug errors, bugs, and unexpected behavior systematically in Home Assistant integration.

  • Works in 5 steps: Understand the Error → Analyze Root Cause → Investigate → …
  • Investigating errors
  • SKILL.md covers Context Loading, Debug Process, Common Issues and Solutions and Debug Tools, plus 1 more section
  • Calls git

What it does

Debug is an agent skill from Thank-you-Linus/Linus-Dashboard. Debug errors, bugs, and unexpected behavior systematically in Home Assistant integration. Use when investigating errors, analyzing stack traces, fixing bugs, or troubleshooting unexpected behavior.

Its SKILL.md is about 1.3k 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 Development, covering Debugging. It works with Home Assistant. The repository describes itself as: Elevate your smart home experience with a modern, responsive dashboard built on Home Assistant. Effortlessly manage your devices, areas and floors with an intuitive interface…. The licence is MIT.

When your agent uses it

  • Investigating errors
  • Analyzing stack traces
  • Troubleshooting unexpected behavior

Example prompts

  • “/debug”

Requirements

  • Python 3

Workflow steps

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

  1. Understand the Error
  2. Analyze Root Cause
  3. Investigate
  4. Fix the Issue
  5. Verify and Document

What it can do on your machine

Read from SKILL.md and the folder at commit 1a82a74. 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

    Shell commands in SKILL.md call:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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

Debug loads about 1.3k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 356 words of instructions outside code blocks.

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

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

The full file from Thank-you-Linus/Linus-Dashboard at commit 1a82a74, republished under its MIT licence (© Thank-you-Linus). 356 words, ~1,259 tokens.

Download SKILL.mdSave it as .claude/skills/debug/SKILL.md (or your agent's skills folder).
name
debug
description
Debug errors, bugs, and unexpected behavior systematically in Home Assistant integration. Use when investigating errors, analyzing stack traces, fixing bugs, or troubleshooting unexpected behavior.

Debug Errors and Bugs Systematically

Debug errors, bugs, and unexpected behavior in the Linus Dashboard Home Assistant integration.


Context Loading

Before debugging, load:

  1. .aidriven/memorybank.md - Project architecture
  2. .aidriven/rules/clean_code.md - Code standards
  3. .aidriven/rules/homeassistant_integration.md - HA patterns
  4. .aidriven/rules/async_patterns.md - Async best practices

Debug Process

Step 1: Understand the Error

Collect Information:

  • Error message (full stack trace)
  • When does it occur? (startup, service call, state change)
  • Which file/function is involved?
  • User actions that trigger it
  • Home Assistant version and logs

Questions to Ask:

  1. Is this a Python exception or HA-specific error?
  2. Does the error occur consistently or randomly?
  3. Are there related errors in home-assistant.log?
  4. What changed recently (code, config, HA version)?
Step 2: Analyze Root Cause

Common Error Categories:

1. Async/Await Issues
python
# Symptoms:
# - "coroutine was never awaited"
# - Event loop blocking
# - Timeouts

# Check for:
await missing_function()  # Missing await
blocking_io_call()  # Blocking I/O in async context
2. Home Assistant Integration Errors
python
# Symptoms:
# - Integration fails to load
# - Config flow errors
# - Entity not showing up

# Check for:
# - Missing async_setup_entry/async_unload_entry
# - Incorrect platform registration
# - Missing unique_id on entities
# - Data not stored in hass.data correctly
3. API/Network Errors
python
# Symptoms:
# - Connection refused
# - Timeouts
# - 4xx/5xx HTTP errors

# Check for:
# - Supabase URL/key configuration
# - Network connectivity
# - API rate limits
# - Timeout values
Step 3: Investigate

Review Code:

  • Read the file where error occurs
  • Trace the execution path
  • Check function signatures
  • Review recent changes with git log

Check Logs:

bash
# Home Assistant logs
tail -f /config/home-assistant.log | grep linus

# Check for warnings
grep -i "warning.*linus" /config/home-assistant.log

Add Debug Logging:

python
import logging
_LOGGER = logging.getLogger(__name__)

_LOGGER.debug("Variable value: %s", variable)
_LOGGER.info("Entering function with args: %s", args)
Step 4: Fix the Issue

Apply Fix:

  • Make minimal changes to fix root cause
  • Follow code standards from .aidriven/rules/clean_code.md
  • Add error handling if missing
  • Update documentation if behavior changed

Test the Fix:

  1. Restart Home Assistant
  2. Reproduce the original error scenario
  3. Verify error is gone
  4. Check logs for new errors
  5. Test related functionality
Show full SKILL.md (139 more words)Show less
Step 5: Verify and Document

Verification:

  • Error no longer occurs
  • No new errors introduced
  • Related features still work
  • Logs are clean

Documentation:

  • Update inline comments if needed
  • Note the fix in commit message
  • Update CHANGELOG if user-facing

Common Issues and Solutions

Issue: "coroutine was never awaited"

Solution: Add await before async function calls

python
# Before
result = async_function()

# After
result = await async_function()
Issue: Integration doesn't load

Solution: Check entry setup and platform registration

python
# Ensure proper setup
async def async_setup_entry(hass, entry):
    await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
    return True
Issue: Entity not updating

Solution: Verify state updates and coordinator refresh

python
# Ensure coordinator updates
await self.coordinator.async_request_refresh()
Issue: Timeout errors

Solution: Increase timeout or optimize slow operations

python
# Add proper timeout
async with timeout(30):
    result = await slow_operation()

Debug Tools

Home Assistant Developer Tools:

  • Services tab - Test service calls
  • States tab - Check entity states
  • Events tab - Monitor events
  • Template tab - Test templates

Python Debugging:

python
# Add breakpoint (if debugging locally)
import pdb; pdb.set_trace()

# Add detailed logging
_LOGGER.debug("State: %s, Attrs: %s", self.state, self.extra_state_attributes)

Git Tools:

bash
# Find when bug was introduced
git log --oneline -- path/to/file.py

# Check recent changes
git diff HEAD~5 -- path/to/file.py

Checklist

Before completing debug:

  • Root cause identified
  • Fix implemented following code standards
  • Error no longer reproduces
  • Related functionality tested
  • Logs reviewed for new issues
  • Changes documented

© Thank-you-Linus, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/debug of Thank-you-Linus/Linus-Dashboard.

Open the folder on GitHubat commit 1a82a74

Compare with similar skills

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.

Debug compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Debug this skillThank-you-Linus/Linus-Dashboard211—~1.3kAutomated safety check: PassMIT
Cca Assistanthvorragend/ha-blueprints170—~4.7kAutomated safety check: PassCustom licence
Issue To Regression Testbrunosabot/streamline-card269—~529Automated safety check: PassMIT
Trellis Session Insightmindfold-ai/Trellis15k4 repos~1.7kAutomated safety check: PassAGPL-3.0
Native Data FetchingCherryHQ/cherry-studio-app4k6 repos~2.9kAutomated safety check: NotesMIT
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence

Similar skills

  • Cca Assistant

    hvorragend/ha-blueprints

    Expert assistant for developing and debugging the Cover Control Automation (CCA) Home Assistant blueprint.

    170 GitHub stars~4.7k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Issue To Regression Test

    brunosabot/streamline-card

    A skill your agent uses when the user asks to fix a bug, references a GitHub issue number, or describes an issue and wants a fix.

    269 GitHub stars~529 tokensUpdated 4 mo ago
    Testing & QAAuto-check passed
  • Trellis Session Insight

    mindfold-ai/Trellis

    Reach into past AI conversation history through the trellis mem CLI.

    15k GitHub starsUsed in 4 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Native Data Fetching

    CherryHQ/cherry-studio-app

    A skill your agent uses when implementing or debugging ANY network request, API call, or data fetching.

    4k GitHub starsUsed in 6 repos~2.9k tokens
    DevelopmentAuto-check: notes
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Aoti Debug

    pytorch/pytorch

    Debug AOTInductor (AOTI) errors and crashes. An agent skill from pytorch/pytorch.

    104k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed

More from Thank-you-Linus/Linus-Dashboard

  • Implement

    Thank-you-Linus/Linus-Dashboard

    Implement approved plans with precision and quality for Linus Dashboard Home Assistant integration.

    211 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Release Beta

    Thank-you-Linus/Linus-Dashboard

    Create a beta pre-release for community testing with intelligent version detection.

    211 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Release Check

    Thank-you-Linus/Linus-Dashboard

    Check if project is ready for release with comprehensive pre-release validation.

    211 GitHub stars~637 tokensUpdated yesterday
    Auto-check passed
  • Release Rollback

    Thank-you-Linus/Linus-Dashboard

    Rollback a failed release by deleting tags and reverting version changes.

    211 GitHub stars~789 tokensUpdated yesterday
    Auto-check passed
  • Release Stable

    Thank-you-Linus/Linus-Dashboard

    Create a stable production release with intelligent detection (finalize beta or direct release).

    211 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Review

    Thank-you-Linus/Linus-Dashboard

    Review code quality, security, and maintainability before committing.

    211 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Debug

What does Debug do?

Debug errors, bugs, and unexpected behavior systematically in Home Assistant integration. Debug is an agent skill from Thank-you-Linus/Linus-Dashboard. Debug errors, bugs, and unexpected behavior systematically in Home Assistant integration.

When should I use Debug?

Debug fits situations like: investigating errors; analyzing stack traces; troubleshooting unexpected behavior.

How do I install Debug in Claude Code?

Run `npx skills add Thank-you-Linus/Linus-Dashboard --skill debug -a claude-code`. Or copy the skill folder (.claude/skills/debug in Thank-you-Linus/Linus-Dashboard) into .claude/skills/debug in your project. Claude Code loads it when a task matches its description.

How do I install Debug in Codex?

Run `npx skills add Thank-you-Linus/Linus-Dashboard --skill debug -a codex`. Or copy the skill folder (.claude/skills/debug in Thank-you-Linus/Linus-Dashboard) into .agents/skills/debug in your project. Codex loads it when a task matches its description.

Can I use 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 Thank-you-Linus/Linus-Dashboard --skill 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/debug, .gemini/skills/debug, .github/skills/debug and .opencode/skills/debug in your project.

What does Debug need to run?

Going by SKILL.md and its folder, Debug needs the command-line tools its instructions call (git). Our summary lists: Python 3.

Does Debug access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is 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 Debug use?

Debug is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Debug use?

About 1.3k tokens (SKILL.md is roughly 5k 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 Debug?

Skills that share tags, products or a category with Debug: Cca Assistant (hvorragend/ha-blueprints, 170 stars), Issue To Regression Test (brunosabot/streamline-card, 269 stars), Trellis Session Insight (mindfold-ai/Trellis, 15k stars) and Native Data Fetching (CherryHQ/cherry-studio-app, 4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Debug?

Thank-you-Linus (a GitHub organization) maintains it in Thank-you-Linus/Linus-Dashboard, which has 211 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 7, 2026.

Source: Thank-you-Linus/Linus-Dashboard on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.