You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.4 KiB
2.4 KiB
Home Assistant Dashboard Designer (Codex Skill)
This directory contains the homeassistant-dashboard-designer Codex skill, stored in-repo so it can be shared with the community.
Quick navigation
- You are here:
codex_skills/homeassistant-dashboard-designer/ - Repo overview | Codex skills | Dashboards | Issues
What This Skill Does
- Enforces a constrained Lovelace design system (button-card first, minimal card-mod, grid/vertical-stack layout rules).
- Encourages centralized templates and deterministic YAML output.
- Treats Stitch MCP output as inspiration only and translates ideas into safe Lovelace YAML.
Skill source of truth inside this folder:
SKILL.mdagents/openai.yamlreferences/dashboard_rules.mdscripts/validate_lovelace_view.py
Install (Local Codex)
Codex loads skills from your local Codex skills directory.
- Copy this folder into your Codex skills directory as:
~/.codex/skills/homeassistant-dashboard-designer/(Linux/macOS)%USERPROFILE%\\.codex\\skills\\homeassistant-dashboard-designer\\(Windows)
- Restart your Codex session/editor so it re-indexes skills.
Stitch MCP Install (Design Inspiration)
Stitch is optional and used only for design inspiration. To enable it, add a Stitch MCP server entry to your Codex config.
- Set an environment variable with your API key:
STITCH_API_KEY=<your_key>
- Add this to your
~/.codex/config.toml:
[mcp_servers.stitch]
url = "https://stitch.googleapis.com/mcp"
env_http_headers = { "X-Goog-Api-Key" = "STITCH_API_KEY" }
http_headers = { "Accept" = "application/json" }
Usage
Invoke in chat:
$homeassistant-dashboard-designer
Then provide the structured intent block described in SKILL.md (dashboard intent, view name, entity map, and layout constraints).
Notes
- This skill intentionally contains no secrets. Configure MCP credentials via environment variables in your local Codex setup.