home-assistant-dashboard-ui

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

A guide for building and changing Home Assistant dashboards. These dashboards, called Lovelace, show smart-home controls and information in cards and views.

In plain words
What is it for?
Use it to create or modify views, cards, layouts, themes, badges, and custom card styling, then check the result with a screenshot.
Why use it?
It helps choose the correct editing method and ensures dashboard cards refer to devices and entities that actually exist.

Skill for Claude CodeCodex

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

Good fit Use it to create or modify views, cards, layouts, themes, badges, and custom card styling, then check the result with a screenshot.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/magnusoverli/opencode/home-assistant-dashboard-ui
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-dashboard-ui
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-dashboard-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/magnusoverli/opencode/home-assistant-dashboard-ui/github.svg)](https://agentmods.dev/skills/magnusoverli/opencode/home-assistant-dashboard-ui)
Your own site
<a href="https://agentmods.dev/skills/magnusoverli/opencode/home-assistant-dashboard-ui"><img src="https://agentmods.dev/badge/skills/magnusoverli/opencode/home-assistant-dashboard-ui/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-dashboard-ui

Your own site · 80×15
<a href="https://agentmods.dev/skills/magnusoverli/opencode/home-assistant-dashboard-ui"><img src="https://agentmods.dev/badge/skills/magnusoverli/opencode/home-assistant-dashboard-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,360 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 59
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00085 $0.01360
Opus 5.5 $0.00034 $0.00544
Sonnet 5.5 $0.00017 $0.00272
Haiku 4.5 $0.00009 $0.00136

Measured 2mo ago against content hash 1c6b660d3849, 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-dashboard-ui 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 2mo 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-dashboard-ui/SKILL.md · 112 lines

How it starts

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

Dashboards and UI

Which mechanism this installation uses

Find out before proposing anything — the two are not interchangeable.

  • Storage mode (default): dashboards live in .storage/, which is off-limits to direct editing. Use hab dashboard: hab dashboard list, hab dashboard get <url_path>, hab dashboard create, hab dashboard view create. This is the primary path for most installations.
  • YAML mode: lovelace: in configuration.yaml names a dashboard file. Then it is ordinary YAML — the configuration skill's style guide and write_config_safe apply.

hab dashboard list tells you which dashboards exist and how they are managed. hab dashboard get <url_path> --json gives you the current structure to modify; read it before writing, exactly as with any config file.

Use hab_run(args=["schema","dashboard","patch"]) for the exact compact contract. Prefer dashboard patch for field-level edits to existing objects:

  1. Read the dashboard and select an exact JSON Pointer, such as /views/0/cards/0 or /views/0/sections/1/cards/2; re-check indices rather than guessing names.
  2. Preview with --target <pointer> --data <object> --plan and review changes, change_count, diff_complete and base_revision. Unlike generic static plans, this preview reads the live config and returns a real diff.
  3. After approval, apply the same patch with the exact base_revision as --if-match. Objects merge deeply; explicitly supplied arrays replace. --set '/name="Kitchen"' uses JSON values and --remove /icon removes an object field. Null remains a value.
  4. Inspect status, saved, verified; on failure inspect error.details.result. verified confirms stored JSON, noop makes no save, and saved: null is uncertain. Do not retry writes automatically. Conflicts require fresh inspection and diff review.

Preview does not establish write permission or server acceptance. HA has no atomic conditional save: an edit between the final freshness check and save can be overwritten. Read-back proves stored JSON at observation time, not rendering, references or resources. YAML dashboards may reject saves; patches do not expand generated strategy layouts.

Read the full file on GitHub · 112 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. 2mo ago Changed · +27 lines 1c6b660d3849
  2. 3mo ago First seen · 85 lines · 85 tokens per session scan A add749c00b27

Subscribe to this mod's changes

home-assistant-dashboard-ui is a skill published in the GitHub repository magnusoverli/opencode (479 stars, last pushed 8d ago), licensed Unlicense. It adds 85 tokens to every session and 1,360 once invoked, about $0.0003 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-dashboard-ui compared with skills from other repositories

home-assistant-dashboard-ui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
home-assistant-dashboard-uimagnusoverli/opencodeSkill4798d agoUnlicenseA85Claude Code, Codex
gke-compute-classesgoogle/skillsSkill26ktodayApache-2.0A100Claude Code, Codex
jetson-diagnosticNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code, Codex
holoscan-install-wheelNVIDIA/skillsSkill4.3ktodayApache-2.0A34Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill12k16d agoMITA113Claude Code, Codex
hsb-flashNVIDIA/skillsSkill4.3ktodayApache-2.0B94Claude Code
jetson-validate-imageNVIDIA/skillsSkill4.3ktodayApache-2.0B50Claude Code, Codex