home-assistant-dashboard-ui

home-assistant-dashboard-ui is a skill for Claude Code, Codex from magnusoverli/opencode. It costs 85 tokens per session (941 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.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.svg" alt="Measured on agentmods" 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 941 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.00941
Opus 5 $0.00043 $0.00470
Sonnet 5 $0.00017 $0.00188
Haiku 4.5 $0.00009 $0.00094

Measured 8d ago against content hash add749c00b27, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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 · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 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.

Building a view

Start from what the home actually has: get_home_context for the area and its entities, or get_areas when laying out an area-per-view dashboard. Do not invent entity IDs — every card you write should reference an entity you have confirmed exists.

Standard cards worth knowing: entities, tile, button, light, thermostat, media-control, weather-forecast, history-graph, statistics-graph, gauge, picture-elements, map, markdown, todo-list, area, and the layout cards grid, vertical-stack, horizontal-stack, sections.

  • conditional shows a card only while a condition holds — the usual way to hide something that is irrelevant most of the time.
  • custom: cards come from HACS. Check the resource is actually installed (hab dashboard resources list, or the www/ folder) before writing one in; a missing custom card renders as an error box for the user.
  • card-mod styling is a custom-card feature too, and equally dependent on the resource being present.

Views take title, path, icon, type (sections, panel, masonry, sidebar), badges, and cards. Sections view type is the current default for new dashboards and behaves differently from masonry — check which one the existing dashboard uses before adding cards to it.

Read the full file on GitHub · 85 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. 8d 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 (380 stars, last pushed 6d ago), licensed Unlicense. It adds 85 tokens to every session and 941 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

codegen-react

Scaffold and iterate on Vite + React applications.

initializ/forge · 14 tokens

pdf-press

Teaches agents how to generate Markdown, HTML (with embedded SVG), and Mermaid content that renders beautifully to multi-page PDF via writepdf, with proper page breaks, compact professional layouts, brand and domain-adaptive color schemes, multi-column support for scientific papers, magazine-style editorial documents…

kdcube/kdcube · 74 tokens

go-bulma

Scaffold the Bulma CSS framework into a Go web app with embedded assets for zero-dependency binaries. Use when building an HTML UI with a classes-based CSS framework and no Node toolchain.

sgaunet/claude-plugins · 44 tokens

legacy-circuit-mockups

Breadboard circuit mockups via HTML5 Canvas. Use when creating circuit layouts, visualizing 6502/retro electronics components, drawing breadboard diagrams, or designing vintage computer schematics with discrete parts.

PracticalSwan/agent-skills · 48 tokens

web-app-creator

Build webapps that integrate with Meta Aria Gen2 (Nebula) smart glasses, usable by any agent that supports skills (Manus, Claude Code, etc.). macOS only — the backend launcher and auto-open browser hooks are written for macOS; Windows and Linux are not supported. Covers the full Web App Creator stack: real-time sensor…

facebookresearch/projectaria-plugins · 173 tokens

s3d-apps

S3D Apps Builder — build custom embedded mini-apps (client-side JS/HTML) that run inside the SkyCiv Structural 3D (S3D) web application, reading/writing the live model and interacting with the 3D viewport and element selection.

skyciv/skyciv-ai-skills · 61 tokens