Skip to content
Back to skills

Logiccloud Hmi

ASecurity

Use when creating or changing HMI pages of a logiccloud project (hmi/*.page.json) - layout, colors, styles, which component to use, variable bindings and states. Covers both the lc CLI and the logiccloud MCP server (logiccloud-control).

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 7, 2026
ai-agents

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 20, 2026

npx -y skills add logiccloudag/agent-kit --skill logiccloud-hmi --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Logiccloud Hmi?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Logiccloud Hmi
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/logiccloudag-logiccloud-hmi/badge)](https://www.skillsdirectory.com/skills/logiccloudag-logiccloud-hmi)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: logiccloud-hmi
description: Use when creating or changing HMI pages of a logiccloud project (hmi/*.page.json) - layout, colors, styles, which component to use, variable bindings and states. Covers both the lc CLI and the logiccloud MCP server (logiccloud-control).
---

# logiccloud HMI pages

Pages are `hmi/<Name>.page.json` files of a project (see the logiccloud
skill). With `lc` they are files in the workspace and `lc check` uploads
them. With the MCP server `logiccloud-control` you write them with
`write_files`. Either way they are validated, turned into the portal's format
and uploaded. You cannot see the result: tell the user to look at the page in
the portal.

## Before you write a page

1. Read the design guide: [DESIGN.md](DESIGN.md), or the `hmi_design` tool.
   It covers colors, type sizes, spacing, status colors and which component
   to use for what. Follow it, so the page fits the other pages.
2. Look up the components you use: [COMPONENTS.md](COMPONENTS.md), or the
   `hmi_components` tool. It lists their properties, the properties that bind
   variables, and typical sizes. With the tool, call it with `index: true`
   first, then with `components: [...]` for the ones you use; the whole
   reference is long.
3. Check the page format: in the workspace's AGENTS.md or CLAUDE.md
   ("HMI pages") with `lc`, in the server's instructions with the tools.
4. Make sure every variable you bind is declared with `HMI` in its pragma
   (`{OUT HMI}` for displays, `{IN HMI}` for inputs, `{IN_OUT HMI}` for both)
   and is built into the project. Bind it by its Inputs/Outputs name: the ST
   name, but `<instance>_<member>` for function block members and
   `<var>_OUT` for IN_OUT variables. The checks list the valid names when one
   is wrong.

## Writing it

- Start from the example in the design guide and change it; do not invent
  properties.
- Positions in px on the Desktop breakpoint (1920×1080), on a 10 px grid.
  Write only the Desktop layout unless the user asks for Tablet or Mobile
  layouts (`"layouts"` per component, see the design guide).
- `LcGauge` and `Lc90DegMeter` draw a square dial of w×w: use h >= w + 10.
- Status lamps and other components with a `stateVariable` need `states`;
  LcToggleButton, LcStateImage, LcSvg and lines have their own state
  properties instead.
- Leave out `id` and `wrapperId` on new components. The first upload adds
  them: `lc check` writes them back into the file; keep them after that. With
  `write_files`, a later write of the page keeps the stored IDs when you leave
  them out, and `edits` change a stored page without sending all of it.
- `hmi/*.portal.json` pages were made in the portal and are read-only. Use
  them as examples of what the user's HMI already looks like, and match their
  style where they differ from the design guide. A page you wrote becomes
  `.portal.json` as soon as someone saves it in the portal designer; after
  that, change it only in the portal.
- The running HMI shows the page of the deployed build, not the saved page.
  After changing a page, build and deploy (the logiccloud-devices skill)
  before you compare the running HMI with the designer.
- Upload and fix every `hmi/<Name>.page.json: error: ...`: `lc check`, or
  `write_files` with `build: true`.

Files in this skill

  • COMPONENTS.md30.2 KB
  • DESIGN.md8 KB
  • SKILL.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.