esphome-lvgl

esphome-lvgl is a skill for Claude Code from narrowstacks/claude-homeassistant-plugins. It costs 60 tokens per session (4,615 once invoked), scanned A, original, MIT.

Configuration guidance for ESPHome's LVGL interface system, which builds screen interfaces from ready-made elements such as buttons, sliders, labels, and meters. It supports layouts, styles, themes, pages, touch input, and Home Assistant connections.

In plain words
What is it for?
Building touch-friendly interfaces on supported ESP32 or RP2040 devices, arranging widgets, styling screens, creating pages, and connecting controls to Home Assistant.
Why use it?
It helps create interactive device screens without positioning every pixel and wiring touch behavior from scratch.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the esphome-lvgl plugin — 1 skill shipped together

Good fit Building touch-friendly interfaces on supported ESP32 or RP2040 devices, arranging widgets, styling screens, creating pages, and connecting controls to Home Assistant.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/narrowstacks/claude-homeassistant-plugins/esphome-lvgl
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 narrowstacks/claude-homeassistant-plugins --skill esphome-lvgl
Clone the repo
git clone --depth 1 https://github.com/narrowstacks/claude-homeassistant-plugins

Made for: Claude Code.

Or install esphome-lvgl, the plugin that ships this one along with the rest of its 1 skill.

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 esphome-lvgl

README.md
[![agentmods](https://agentmods.dev/badge/skills/narrowstacks/claude-homeassistant-plugins/esphome-lvgl/github.svg)](https://agentmods.dev/skills/narrowstacks/claude-homeassistant-plugins/esphome-lvgl)
Your own site
<a href="https://agentmods.dev/skills/narrowstacks/claude-homeassistant-plugins/esphome-lvgl"><img src="https://agentmods.dev/badge/skills/narrowstacks/claude-homeassistant-plugins/esphome-lvgl/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 esphome-lvgl

Your own site · 80×15
<a href="https://agentmods.dev/skills/narrowstacks/claude-homeassistant-plugins/esphome-lvgl"><img src="https://agentmods.dev/badge/skills/narrowstacks/claude-homeassistant-plugins/esphome-lvgl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,615 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.
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.00060 $0.04615
Opus 5 $0.00030 $0.02308
Sonnet 5 $0.00012 $0.00923
Haiku 4.5 $0.00006 $0.00462

Measured 9d ago against content hash 31806e030271, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

esphome-lvgl 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 9d 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.

esphome-lvgl/skills/esphome-lvgl/SKILL.md · 909 lines

How it starts

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

ESPHome LVGL Graphics Library

Generate ESPHome configurations using LVGL (Light and Versatile Graphics Library) for creating sophisticated, widget-based user interfaces on graphical displays.

Overview

LVGL is a powerful graphics library that provides pre-built widgets (buttons, sliders, labels, etc.) with built-in touch handling, layouts, and styling. It's ideal for interactive displays that need professional-looking UIs.

Key differences from native display rendering:

  • Widget-based instead of pixel-by-pixel drawing
  • Automatic layout management (Flex, Grid)
  • Built-in touch/input handling per widget
  • Theme and style system
  • Direct integration with ESPHome components

Requirements:

  • ESP32 or RP2040 (ESP8266 not supported)
  • PSRAM recommended for large/color displays
  • Display configured with auto_clear_enabled: false
  • No lambda in display configuration

Quick Start

Minimal configuration with automatic "Hello World":

display:
  - platform: ili9xxx
    id: my_display
    # ... display config
    auto_clear_enabled: false
    update_interval: never

lvgl:
  # Empty config shows default "Hello World" page

Basic configuration with custom content:

lvgl:
  widgets:
    - label:
        align: CENTER
        text: 'Hello World!'

Core Concepts

Widgets

Widgets are graphical elements (buttons, labels, sliders, etc.). Every widget has:

  • Parent: The container it's created in (page, obj, etc.)
  • Parts: Sub-elements that can be styled separately (main, indicator, knob, etc.)
  • States: Visual states (default, pressed, checked, disabled, focused, etc.)
  • ID: Optional identifier for referencing in automations

Pages

Pages are full-screen layouts. Only one page is active at a time:

lvgl:
  pages:
    - id: main_page
      widgets:
        - label:
            text: 'Page 1'
    
    - id: settings_page
      widgets:
        - label:
            text: 'Settings'

Navigate between pages:

Read the full file on GitHub · 909 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 909 lines · 60 tokens per session scan A 31806e030271

Subscribe to this mod's changes

esphome-lvgl is a skill published in the GitHub repository narrowstacks/claude-homeassistant-plugins (3 stars, last pushed 10mo ago), licensed MIT. It adds 60 tokens to every session and 4,615 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

codegen-react

Scaffold and iterate on Vite + React applications.

initializ/forge · 14 tokens

home-assistant-dashboard-ui

Build or change Home Assistant dashboards — Lovelace views, cards, layouts, themes, badges, custom cards and card-mod — and verify the result visually with a screenshot. Covers choosing between hab dashboard commands and YAML mode, the standard card set, conditional and template cards, and the screenshot verification…

magnusoverli/opencode · 85 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