Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / vome-dash

vome-dash

A Home Assistant dashboard in a side pane of Claude Code, working: live states, and controls that toggle, step and run as the dashboard's own do. Shows the dashboard Claude reads or edits, with what a save changed lit up, or one picked wit…

Code you can checkTerminal + desktopPaneBoxButtonCodeMarkdownText
env vars, draws

What it does

  • Draws a pane
  • Adds /dash
  • Watches tool calls and can refuse them
  • Hooks session.start
  • Keeps its own state between turns

Good points

  • No network calls
  • Starts no processes
  • Written in TypeScript
  • Has a desktop-specific branch

Code to start from

A starter ModsCode writes from the drawing it read, and the mod's own lines that draw, where there are any.

Starter (register.tsx)

register.tsx
import type { Register } from 'claude-code'

// Drawn like vome-dash by Vortitron (pane), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/vortitron-vome-dash/
// Written by ModsCode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
  // the pane: open it with $.ui.open({ id: 'my-pane', title: "Dashboard" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Button, Text, Markdown, Code } = $.ui.resolve(e)
    const title = '…'
    const title2 = '…'
    const spinner = '…'
    const title3 = '…'
    const spinner2 = '…'
    const title4 = '…'
    const spinner3 = '…'
    const title5 = '…'
    const spinner4 = '…'
    const title6 = '…'
    const spinner5 = '…'
    const title7 = '…'
    const spinner6 = '…'
    const title8 = '…'
    const spinner7 = '…'
    const title9 = '…'
    const spinner8 = '…'
    const title10 = '…'
    const spinner9 = '…'
    const message = '…'
    const server = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="row" flexWrap="wrap" gap={1}>
          <Button />
          <Button />
          <Button />
        </Box>
        <Box flexDirection="row" gap={1}>
          <Box flexDirection="column" borderStyle="round" borderColor="subtle" paddingX={1}>
            <Text dimColor>
              Dashboards
            </Text>
            <Button>
              {`▸ ${title}`}
            </Button>
            <Button>
              {`▸ ${title}`}
            </Button>
            <Button>
              {`▸ ${title}`}
            </Button>
          </Box>
          <Box flexDirection="column">
            <Box flexDirection="row" gap={1} paddingRight={2}>
              <Button hotkey="m">
                Close
              </Button>
              <Box flexGrow={1} flexShrink={1} minWidth={4} overflow="hidden">
                <Text bold wrap="truncate-end">
                  {title}
                </Text>
              </Box>
              <Button hotkey="r" dimColor>
                Reload
              </Button>
            </Box>
            <Box flexDirection="row" flexWrap="wrap" gap={1}>
              <Button />
              <Button />
              <Button />
            </Box>
            <Box flexDirection="row" gap={1}>
              <Box flexDirection="column">
                <Box flexDirection="column" borderStyle="round" borderColor="subtle" paddingX={1}>
                  <Box flexDirection="row">
                    <Box flexGrow={1} flexShrink={1} overflow="hidden">
                      <Text bold wrap="truncate-end">
                        {title2}
                      </Text>
                    </Box>
                    <Box flexDirection="row" gap={1} flexShrink={0}>
                      <Text color="warning">
                        {spinner}
                        {" sending"}
                      </Text>
                      <Button>
                        ○━━
                      </Button>
                    </Box>
                  </Box>
                </Box>
                <Box flexDirection="column" borderStyle="round" borderColor="subtle" paddingX={1}>
                  <Box flexDirection="row">
                    <Box flexGrow={1} flexShrink={1} overflow="hidden">
                      <Text bold wrap="truncate-end">
                        {title3}
                      </Text>
                    </Box>
                    <Box flexDirection="row" gap={1} flexShrink={0}>
                      <Text color="warning">
                        {spinner2}
                        {" sending"}
                      </Text>
                      <Button>
                        ○━━
                      </Button>
                    </Box>
                  </Box>
                </Box>
                <Box flexDirection="column" borderStyle="round" borderColor="subtle" paddingX={1}>
                  <Box flexDirection="row">
                    <Box flexGrow={1} flexShrink={1} overflow="hidden">
                      <Text bold wrap="truncate-end">
                        {title4}
                      </Text>
                    </Box>
                    <Box flexDirection="row" gap={1} flexShrink={0}>
                      <Text color="warning">
                        {spinner3}
                        {" sending"}
                      </Text>
                      <Button>
                        ○━━
                      </Button>
                    </Box>
                  </Box>
                </Box>
              </Box>
              <Box flexDirection="column">
                <Box flexDirection="column" borderStyle="round" borderColor="subtle" paddingX={1}>
                  <Box flexDirection="row">
                    <Box flexGrow={1} flexShrink={1} overflow="hidden">
                      <Text bold wrap="truncate-end">
                        {title5}
                      </Text>
                    </Box>
                    <Box flexDirection="row" gap={1} flexShrink={0}>
                      <Text color="warning">
                        {spinner4}
                        {" sending"}
                      </Text>
                      <Button>
                        ○━━
                      </Button>
                    </Box>
                  </Box>
                </Box>
                <Box flexDirection="column" borderStyle="round" borderColor="subtle" paddingX={1}>
                  <Box flexDirection="row">
                    <Box flexGrow={1} flexShrink={1} overflow="hidden">
                      <Text bold wrap="truncate-end">
                        {title6}
                      </Text>
                    </Box>
                    <Box flexDirection="row" gap={1} flexShrink={0}>
                      <Text color="warning">
                        {spinner5}
                        {" sending"}
                      </Text>
                      <Button>
                        ○━━
                      </Button>
                    </Box>
                  </Box>
                </Box>
                <Box flexDirection="column" borderStyle="round" borderColor="subtle" paddingX={1}>
                  <Box flexDirection="row">
                    <Box flexGrow={1} flexShrink={1} overflow="hidden">
                      <Text bold wrap="truncate-end">
                        {title7}
                      </Text>
                    </Box>
                    <Box flexDirection="row" gap={1} flexShrink={0}>
                      <Text color="warning">
                        {spinner6}
                        {" sending"}
                      </Text>
                      <Button>
                        ○━━
                      </Button>
                    </Box>
                  </Box>
                </Box>
              </Box>
              <Box flexDirection="column">
                <Box flexDirection="column" borderStyle="round" borderColor="subtle" paddingX={1}>
                  <Box flexDirection="row">
                    <Box flexGrow={1} flexShrink={1} overflow="hidden">
                      <Text bold wrap="truncate-end">
                        {title8}
                      </Text>
                    </Box>
                    <Box flexDirection="row" gap={1} flexShrink={0}>
                      <Text color="warning">
                        {spinner7}
                        {" sending"}
                      </Text>
                      <Button>
                        ○━━
                      </Button>
                    </Box>
                  </Box>
                </Box>
                <Box flexDirection="column" borderStyle="round" borderColor="subtle" paddingX={1}>
                  <Box flexDirection="row">
                    <Box flexGrow={1} flexShrink={1} overflow="hidden">
                      <Text bold wrap="truncate-end">
                        {title9}
                      </Text>
                    </Box>
                    <Box flexDirection="row" gap={1} flexShrink={0}>
                      <Text color="warning">
                        {spinner8}
                        {" sending"}
                      </Text>
                      <Button>
                        ○━━
                      </Button>
                    </Box>
                  </Box>
                </Box>
                <Box flexDirection="column" borderStyle="round" borderColor="subtle" paddingX={1}>
                  <Box flexDirection="row">
                    <Box flexGrow={1} flexShrink={1} overflow="hidden">
                      <Text bold wrap="truncate-end">
                        {title10}
                      </Text>
                    </Box>
                    <Box flexDirection="row" gap={1} flexShrink={0}>
                      <Text color="warning">
                        {spinner9}
                        {" sending"}
                      </Text>
                      <Button>
                        ○━━
                      </Button>
                    </Box>
                  </Box>
                </Box>
              </Box>
            </Box>
            <Text color="warning" wrap="wrap">
              {message}
            </Text>
            <Box flexDirection="column" borderStyle="round" borderColor="warning" paddingX={1} marginTop={1}>
              <Text color="warning" wrap="wrap">
                Auto mode refused the press. Pressing a control here calls ha_call_service, and allowing that by name would let Claude …
                {" "}
                ~/.claude/settings.json
                {" if you are happy with that:"}
              </Text>
              <Markdown text="[~/.claude/settings.json](file://~/.claude/settings.json)" />
              <Code source={`"mcp__${server}__ha_call_service"`} />
              <Box flexDirection="row" gap={2}>
                <Button hotkey="c">
                  Copy
                </Button>
                <Button hotkey="t">
                  Retry the press
                </Button>
                <Button dimColor>
                  Dismiss
                </Button>
              </Box>
            </Box>
          </Box>
        </Box>
      </Box>
    )
  })
}

The mod's own code

Shown under the mod's licence (MIT); its text is below. Keep the notice if you copy these lines.

claude-plugin/vome-dash/hooks/register.tsx lines 128–287 · Pane
  on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
    const { Box, Text, Button, Code, Markdown } = $.ui.resolve(e)
    const settingsLink = <Markdown text={`[${settingsFile}](file://${settingsFile})`} />
    const current = (await $.state.get(dash)).value ?? null
    const shownView = (await $.state.get(view)).value ?? 0
    const live = (await $.state.get(states)).value ?? {}
    const lighting = (await $.state.get(lit)).value ?? null
    const texts = (await $.state.get(rendered)).value ?? {}
    const series = (await $.state.get(history)).value ?? {}
    const asking = (await $.state.get(confirm)).value ?? null
    const picking = (await $.state.get(choices)).value ?? null
    const refusal = (await $.state.get(blocked)).value ?? null
    const message = (await $.state.get(note)).value ?? null
    const presses = (await $.state.get(pending)).value ?? {}
    const isMenuOpen = (await $.state.get(sidebarOpen)).value ?? false
    const pictures = (await $.state.get(frames)).value ?? {}
    const width = Math.max(30, e.props.bodyColumns)
    const isLit = (key: string) => lighting !== null && Date.now() - lighting.at < LIT_MS && lighting.keys.some(k => key === k || key.startsWith(`${k}/`))

    const help = refusal ? (
      <Box flexDirection="column" borderStyle="round" borderColor="warning" paddingX={1} marginTop={1}>
        {refusal.tool === 'ha_call_service' ? (
          <Text color="warning" wrap="wrap">
            Auto mode refused the press. Pressing a control here calls ha_call_service, and allowing that by name would
            let Claude change things without asking too. Switch auto mode off to use the controls, or allow it in
            {' '}{settingsFile} if you are happy with that:
          </Text>
        ) : (
          <Text color="warning" wrap="wrap">
            Auto mode refused the pane's read of live states. Add these to permissions.allow in {settingsFile}; they only read:
          </Text>
        )}
        {settingsLink}
        <Code source={refusal.tool === 'ha_call_service' ? `"mcp__${refusal.server}__ha_call_service"` : READS.map(t => `"mcp__${refusal.server}__${t}"`).join(',\n')} />
        <Box flexDirection="row" gap={2}>
          <Button
            key="copy-rule"
            hotkey="c"
            onPress={press =>
              $.ui.copy({
                text: refusal.tool === 'ha_call_service' ? `"mcp__${refusal.server}__ha_call_service"` : READS.map(t => `"mcp__${refusal.server}__${t}"`).join(',\n'),
                surface: press.surface,
              })
            }
          >
            Copy
          </Button>
          <Button
            key="retry"
            hotkey="t"
            onPress={async () => {
              await $.state.set(blocked, null)
              // Allowed since: nothing stays switched off for having been refused once.
              hasSnapshot = true
              hasMaxPoints = true
              framesRetryAt = 0
              watchRetryAt = 0
              if (refusal.tool === 'ha_call_service' && lastCall) await callService($, lastCall.server, lastCall.call)
              else void poll($, true)
            }}
          >
            {refusal.tool === 'ha_call_service' ? 'Retry the press' : 'Retry'}
          </Button>
          <Button key="dismiss-rule" dimColor onPress={() => $.state.set(blocked, null)}>
            Dismiss
          </Button>
        </Box>
      </Box>
    ) : null

    const picker = picking ? (
      <Box flexDirection="column" marginTop={1}>
        <Text bold>Dashboards</Text>
        <Box flexDirection="row" flexWrap="wrap" gap={1}>
          {picking.map(choice => (
            <Button
              key={`pick-${choice.urlPath}`}
              onPress={async () => {
                await $.state.set(choices, null)
                const server = current?.server ?? (await dashServers($))[0]
                if (server) await loadDashboard($, server, choice.urlPath)
              }}
            >
              {choice.title}
            </Button>
          ))}
        </Box>
      </Box>
    ) : null

    if (!current) {
      return (
        <Box flexDirection="column">
          <Text dimColor wrap="wrap">
            No dashboard yet. It appears here, working, when Claude reads or saves one, or pick one with /dash.
          </Text>
          {picker}
          {message ? <Text color="warning" wrap="wrap">{message}</Text> : null}
          {help}
        </Box>
      )
    }

    const views = viewsOf(current.config)
    const index = Math.min(shownView, Math.max(0, views.length - 1))
    const shown: View | undefined = views[index]
    // The home's dashboards down the left, as Home Assistant's sidebar has them, until one is picked.
    const hasMenu = (picking?.length ?? 0) > 1
    const isSidebar = isMenuOpen && hasMenu && width >= 70
    // Wide enough for the longest title, its marker and a button's brackets, inside the border.
    const longest = Math.max(10, ...(picking ?? []).map(choice => choice.title.length))
    const sidebarWidth = Math.min(SIDEBAR_MAX, Math.max(SIDEBAR_MIN, longest + 2 + 4 + 4))
    const mainWidth = isSidebar ? width - sidebarWidth - 1 : width
    // Columns as Home Assistant's desktop layout has them: as many as fit, cards stacked in each.
    const columns = mainWidth >= 120 ? 3 : mainWidth >= 72 ? 2 : 1
    const cardWidth = columns > 1 ? Math.floor((mainWidth - (columns - 1)) / columns) : mainWidth
    lastCardWidth = cardWidth
    /** What a control's press is doing, for the row it is on. */
    const pressOf = (prefix: string): Pending | undefined =>
      Object.entries(presses)
        .filter(([key]) => key === prefix || key.startsWith(`${prefix}/`))
        .map(([, p]) => p)
        .sort((a, b) => b.at - a.at)[0]
    const spinner = '⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏'[Math.floor(Date.now() / 120) % 10]
    const pressNote = (p: Pending | undefined) =>
      !p ? null : p.phase === 'sending' ? (
        <Text color="warning">{spinner} sending</Text>
      ) : p.phase === 'sent' ? (
        <Text color="suggestion">{spinner} sent, waiting</Text>
      ) : p.phase === 'done' ? (
        <Text color="success">✓</Text>
      ) : p.phase === 'quiet' ? (
        <Text color="warning">no change seen</Text>
      ) : (
        <Text color="error">✗ failed</Text>
      )

    const press = async (key: string, call: ServiceCall) => {
      if (call.confirm && !(asking && asking.key === key && asking.until > Date.now())) {
        await $.state.set(confirm, { key, until: Date.now() + CONFIRM_MS })
        return
      }
      await $.state.set(confirm, null)
      await pressAndWatch($, current.server, key, call)
    }

    const entityRow = (row: Extract<Row, { kind: 'entity' }>, key: string) => {
      const now: Live | undefined = live[row.entity]
      const state = now?.state ?? '…'
      const attributes = now?.attributes ?? {}
      const name = row.name ?? (typeof attributes.friendly_name === 'string' ? steady(attributes.friendly_name) : row.entity)
      const unit = typeof attributes.unit_of_measurement === 'string' ? ` ${attributes.unit_of_measurement}` : ''
      const toggle = toggleFor(row.entity)
      const down = now ? stepFor(row.entity, attributes, state, -1) : null
      const up = now ? stepFor(row.entity, attributes, state, 1) : null
      const isOn = state === 'on'
      const shownState = row.entity.startsWith('light.') && isOn && typeof attributes.brightness === 'number' ? `on ${Math.round((attributes.brightness / 255) * 100)}%` : `${formatState(state)}${unit}`
      const going = pressOf(key)
      const isFresh = going?.phase === 'done'
      // A light that is on glows in its own colour, as brightly as it is lit.
Licence text (MIT)
MIT License

Copyright (c) 2026 Andrew Lyeklint Hancock (Vortitron)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

How to build this: Pane (panel), Deny a tool call

What its code calls

env varstool callsrememberscalls tools

What its code shows

Read from the source at commit 481600983d53 on 2026-10-11. The first group decides whether a mod is listed; the rest is for you to weigh. A later commit is not read until the next crawl.

Decides the listing: code you can check
Entry readEvery module hooks/hooks.json names was read.claude-plugin/vome-dash/hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.2 files parsed
All its code is in the modEvery import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod
ReadableNo minified lines, no eval or new Function, no import of a computed path, no encoded blobs.no minified code, no eval, no encoded blobs
Calls in the openNetwork and programs are reached as $.http.fetch and $.process.run in place, never passed around.every call outside goes through $ in the open
For you to weigh before installing
Where it drawsThe terminal, the desktop app, both, or nothing (hooks only: a guard or a prompt rewriter), as its code says. Shown, never a reason to leave a mod out.draws in the terminal and the desktop app, the same in both
Install lineWhether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.listed in its repository's .claude-plugin/marketplace.json: installs from there
Programs on WindowsWhether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks
NetworkWhether every fetch names its https host in the code.no network
ProgramsWhether every program it starts is named in the code and is not a shell, an interpreter or a network tool.starts no programs
Reads and sendsWhether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reads environment variables and reaches an MCP server
Keys in the sourceWhether the source holds what looks like an API key or a private key.no keys in the source
LicenceAn open licence (MIT, Apache-2.0, BSD, ISC, Unlicense, 0BSD, CC0) with its text lets ModsCode show its code; otherwise the code is linked.MIT
Settings hooksHooks declared in hooks/hooks.json or plugin.json beside the module: a command (a shell when it has no args), an HTTP request, an MCP tool or a model prompt at an event. They run outside $.no settings hooks: its function hooks alone
Servers it shipsMCP servers (a program, or a URL; a headersHelper is a shell command; a .mcpb bundle is unpacked at run time), LSP servers, monitors (a shell command for the whole session) and bin/ (on the PATH of the Bash tool).ships no MCP or LSP server, no monitor, no bin/
Skills, commands, agentsWhat its Markdown declares beyond text: allowed-tools granted for the turn, hooks added when a skill is invoked, a command run before Claude reads the skill.no skills, commands, agents or workflows
Tools and MCPWhether every tool it calls through $.tool.call and $.mcp.call is named in the code, and none is a shell (Bash through the tool runs a shell without $.process).claude-plugin/vome-dash/hooks/register.tsx:961 an MCP tool named at run time
Asks of the modelCompletions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.adds command dash
Events it hooksBy what a hook there can do: gates (refuse a tool call, a prompt, a setting, another plugin), shapes (what the model reads: the system prompt, tool descriptions, each request), reads (your input, the events of the settings hooks, every event with *), and the rest.gates: command.run (dash), tool.call · also: session.start, ui.render (Pane) · timers: clock.every
Reads, by nameThe environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.env: CLAUDE_CONFIG_DIR, HOME
Writes, by nameThe files and environment variables it names, and whether it changes settings, the prompt box, the clipboard, the conversation (a row the model reads) or another session.the clipboard

This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen

Install it

Check it yourself before you install it. Mods run unsandboxed, with your permissions, and ModsCode does not vouch for what this code does. Read its code (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.

From its marketplace

Its repository is its marketplace. Add that marketplace (in the terminal with these commands, or in the desktop app's plugin settings) and install the mod from it:

/plugin marketplace add Vortitron/home-assistant-mcp
/plugin install vome-dash@vome
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (481600983d53). Compare them before you install. /reload-plugins loads it into a session that is already open.

Try the commit ModsCode read

No marketplace needed. In a terminal, clone the repository, check out the commit read, validate the mod, and load it for one session:

git clone https://github.com/Vortitron/home-assistant-mcp
git -C home-assistant-mcp checkout 481600983d53bce705fe68cb00361ee150a68171
claude plugin validate home-assistant-mcp/claude-plugin/vome-dash
claude --plugin-dir home-assistant-mcp/claude-plugin/vome-dash

The validate line lists the events the mod hooks and what it asks Claude Code to do, without running it. The last line loads the mod for this session only and writes nothing to your settings. If the author has rewritten history, the commit may no longer exist.

Ask Claude about it

With the ModsCode connector added, Claude can read this mod's code and what it reaches, and build on them. Ask it like this:

Read the ModsCode mod "vortitron-vome-dash" with its code and make me one like it

Search them from Claude: the MCP connector

Similar mods

More from this repository

Badge for your README

If this is your mod, paste this into your README. It links to this page.

README.md
[![ModsCode](https://modscode.com/badge/vortitron-vome-dash.svg)](https://modscode.com/claude-mods/mods/vortitron-vome-dash/)