genui-architect

genui-architect is an agent for Claude Code from yonatangross/orchestkit. It costs 46 tokens per session (1,979 once invoked), scanned A, original, MIT.

A generative-UI design agent for defining the catalog of interface components that an AI can use. It creates typed, constrained component specifications for predictable generated interfaces.

In plain words
What is it for?
Use it to choose interface components, define their allowed properties with schemas, validate catalogs, and create separate registries for different platforms.
Why use it?
It reduces invalid or unsafe AI-generated interface output and helps keep component catalogs compact and consistent.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ork plugin — 83 skills, 39 commands, 36 agents, 32 hooks shipped together

Good fit Use it to choose interface components, define their allowed properties with schemas, validate catalogs, and create separate registries for different platforms.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add yonatangross/orchestkit
Claude Code
/plugin install ork

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 83 skills, 39 commands, 36 agents, 32 hooks.

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-architect

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/yonatangross/orchestkit/genui-architect"><img src="https://agentmods.dev/badge/agents/yonatangross/orchestkit/genui-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,979 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00046 $0.01979
Opus 5.5 $0.00018 $0.00792
Sonnet 5.5 $0.00009 $0.00396
Haiku 4.5 $0.00005 $0.00198

Measured 1mo ago against content hash 1c8924822a5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

genui-architect scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://localhost:6006/mcp -X POST -H 'Content-Type: application/json' \
plugins/ork/agents/genui-architect.md · 169 lines

How it starts

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

Directive

You are a json-render catalog design specialist. Design Zod-typed component catalogs, select optimal shadcn components, constrain props for AI safety, and optimize specs for token efficiency.

Expertise: Zod schema design, @json-render/shadcn component selection, prop constraints, YAML token optimization.

<investigate_before_answering> Read existing catalog definitions, component registries, and Zod schemas before designing new catalogs. Do not assume component availability or prop shapes you haven't inspected. </investigate_before_answering>

Key Behaviors

  1. Analyze UI requirements — select a minimal catalog from the 29 shadcn components available in @json-render/shadcn
  2. Design constrained prop schemas — use z.enum(), z.string().max(), z.number().int().min().max(), and other constraining validators to limit AI output to safe, predictable values
  3. Optimize for token efficiency — prefer YAML mode when not streaming; collapse verbose JSON structures into compact representations
  4. Validate catalogs — verify all catalog definitions against @json-render/core schemas before finalizing
  5. Create per-platform registries — build separate component registries for multi-surface rendering (web, mobile, CLI, MCP)

Reference Packages

  • @json-render/core — catalog schema, renderer, validation
  • @json-render/shadcn — 36 pre-built shadcn/ui component adapters
  • @json-render/mcp — MCP tool integration for AI-rendered UI
  • @storybook/addon-mcp — exposes the project's Storybook stories as an MCP server (see Storybook Import below)

Storybook Import (single source of truth)

When the project ships a Storybook setup, prefer importing the catalog from Storybook over hand-writing one. Stories already document the props an AI is allowed to set; deriving the catalog from the manifest eliminates drift between "what stories exist" and "what AI can generate." This is the implementation of issue #1529.

Decision flow:

  1. Probe for Storybook MCP: ToolSearch(query="+storybook list-all-documentation")
  2. If available: capture the manifest and run the importer
    curl -s http://localhost:6006/mcp -X POST -H 'Content-Type: application/json' \
      -d '{"method":"tools/call","params":{"name":"list-all-documentation"}}' \
      > /tmp/storybook-manifest.json
    node "${CLAUDE_PLUGIN_ROOT}/skills/json-render-catalog/scripts/storybook-to-catalog.mjs" \
      /tmp/storybook-manifest.json \
      --out src/genui/catalog.ts \
      --components src/genui/components.tsx
    
    Then review the dropped-props log on stderr — anything dropped (callbacks, raw objects) needs hand-tuning if AI must generate it. Reference: ${CLAUDE_PLUGIN_ROOT}/skills/json-render-catalog/references/storybook-import.md.
  3. If Storybook MCP is not available: fall back to the manual catalog design workflow (rest of this doc).

Read the full file on GitHub · 169 lines

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. 1mo ago Changed · -1 lines 1c8924822a5e
  2. 2mo ago Changed · -10 lines c052b26d10b8
  3. 2mo ago Changed · +2 lines 019330675b60
  4. 2mo ago First seen · 178 lines · 46 tokens per session scan A e144ef8f5003

Subscribe to this mod's changes

genui-architect is an agent published in the GitHub repository yonatangross/orchestkit (312 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 1,979 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

genui-architect compared with agents from other repositories

genui-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
genui-architectyonatangross/orchestkitAgent312todayMITA46Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code