genui

genui is a skill for Claude Code, Codex from LodyAI/Lody. It costs 66 tokens per session (1,594 once invoked), scanned A, original, Apache-2.0.

A way to create interactive controls and changing displays inside chat replies, using marked blocks or catalog tags. It supports elements such as cards, sliders, switches, selects, buttons, and values that update with state.

In plain words
What is it for?
Use it to author interactive cards, forms, counters, and other chat-based interfaces in Markdown responses.
Why use it?
It avoids presenting every response as static text when a user needs to adjust options or interact with results. Shared state keeps related controls and displays connected.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to author interactive cards, forms, counters, and other chat-based interfaces in Markdown responses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lodyai/lody/genui
About the project

Lody is a shared workspace that connects coding agents running on different computers and lets people view and direct their work from desktop, mobile, web, or a command line. Teams use it to share agent conversations, monitor progress and code changes, and assign work to connected machines while retaining their existing agents and configurations.

LodyAI/Lody · 1,882 stars · on GitHub · lody.ai

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 LodyAI/Lody --skill genui
Clone the repo
git clone --depth 1 https://github.com/LodyAI/Lody

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 genui

README.md
[![agentmods](https://agentmods.dev/badge/skills/lodyai/lody/genui/github.svg)](https://agentmods.dev/skills/lodyai/lody/genui)
Your own site
<a href="https://agentmods.dev/skills/lodyai/lody/genui"><img src="https://agentmods.dev/badge/skills/lodyai/lody/genui/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 genui

Your own site · 80×15
<a href="https://agentmods.dev/skills/lodyai/lody/genui"><img src="https://agentmods.dev/badge/skills/lodyai/lody/genui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,594 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.00066 $0.01594
Opus 5.5 $0.00026 $0.00638
Sonnet 5.5 $0.00013 $0.00319
Haiku 4.5 $0.00007 $0.00159

Measured 5d ago against content hash 6693b9a5462e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

genui 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 5d 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.

apps/cli/src/mcp/skills/genui/SKILL.md · 121 lines

How it starts

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

GenUI surface authoring

Use ordinary Markdown for prose, lists, and tables. Embed a static Icon or Badge directly in that Markdown. Use a fenced genui block for cards, other catalog layouts, controls, and values that depend on state. Put every control and display that shares state in the same fence, even across several cards.

Use a <Card> wrapper when the request calls for a card, with its <Column> or <Row> inside. Preserve requested state slot names, exact button labels, and specified display text.

Start the fence with the {@state} directives, then write JSX-like markup. A fence mounts while it streams. Each element appears when its open tag closes, so declare state before any markup that reads it.

{@state const [tickets, setTickets] = useState(0)}
<Card>
  <Column gap={8}>
    <Heading>Tickets</Heading>
    <Text>{tickets}</Text>
    <Badge>{`Reserved: ${tickets}`}</Badge>
    <Button onClick={() => {
      setTickets(prev => prev + 1);
      setTickets(prev => prev + 1);
    }}>Reserve two tickets</Button>
  </Column>
</Card>

Rules that are enforced, not conventions

  • {@state const [x, setX] = useState(<expr>)} is the only way to declare state. It must appear before the markup, never inside it. x is read in expressions; setX(next) or setX((prev) => next) writes it. Re-declared slots keep their committed value across revisions — useState is a default, not a reset. Each functional setter reads the latest committed value, including writes earlier in the same callback.
  • {expr} in markup is an expression hole: no const, if, or statements. Event props take JS callbacks: onChange={(v) => setV(v)}, onClick={() => …}.
  • The evaluator is confined: literals, arithmetic, ternaries, template strings, arrow functions, array methods (map/filter/find/reduce/sort/…), calls into state setters and lody.* capabilities. No window/fetch/import/globals.
  • Every tag must be in the catalog below — an unknown tag renders as an inline <tag> placeholder plus a diagnostic, never a crash.
  • Adjacent literal text is trimmed at expression boundaries. Put the full label in one template literal to preserve spaces in Text and Badge. For a standalone value, use just <Text>{value}</Text>.
  • A slider's onChange sends a number. Keep text input values and onValueChange state as strings, and convert at the point of calculation with Number(value). Write array totals as items.reduce((sum, item) => sum + item, 0).

Read the full file on GitHub · 121 lines

Files

What ships with it

4 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. 5d ago First seen · 121 lines · 66 tokens per session scan A 6693b9a5462e

Subscribe to this mod's changes

genui is a skill published in the GitHub repository LodyAI/Lody (1,882 stars, last pushed today), licensed Apache-2.0. It adds 66 tokens to every session and 1,594 once invoked, about $0.0003 per session on Opus 5.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-11-25.

Related

genui compared with skills from other repositories

genui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
genuiLodyAI/LodySkill1.9ktodayApache-2.0A66Claude Code, Codex
frontend-designitmisx/deepx-codeSkill39413d agoMITA88Claude Code, Codex
gen-uiKunAgent/KunSkill6.4ktodaynoneA27Claude Code, Codex
component-designKunAgent/KunSkill6.4ktodaynoneA21Claude Code, Codex
accessible-web-animation-builderrondoflow/rondoflowSkill355d agoMITA15Claude Code, Codex
frontend-designEvovexAI/EvoFlowSkill709yesterdaynoneA75Claude Code, Codex
web-design-guidelinesEvovexAI/EvoFlowSkill709yesterdaynoneA44Claude Code, Codex