lynx-a2ui

lynx-a2ui is a skill for Claude Code, Codex from lynx-community/skills. It costs 31 tokens per session (4,343 once invoked), scanned A, original, Apache-2.0.

A generator that turns natural-language interface requests into A2UI v0.9 messages, a JSON format that trusted renderers use to build user interfaces.

In plain words
What is it for?
Use it to describe forms, controls, and other interfaces as validated A2UI JSON for an A2UI-compatible renderer.
Why use it?
It provides structured UI data that follows the renderer's component and function catalog instead of returning executable code.

Skill for Claude CodeCodex

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

Good fit Use it to describe forms, controls, and other interfaces as validated A2UI JSON for an A2UI-compatible renderer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lynx-community/skills/lynx-a2ui
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 lynx-community/skills --skill lynx-a2ui
Clone the repo
git clone --depth 1 https://github.com/lynx-community/skills

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 lynx-a2ui

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lynx-community/skills/lynx-a2ui"><img src="https://agentmods.dev/badge/skills/lynx-community/skills/lynx-a2ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,343 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00031 $0.04343
Opus 5 $0.00015 $0.02171
Sonnet 5 $0.00006 $0.00869
Haiku 4.5 $0.00003 $0.00434

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

Security

Grade A, and why

lynx-a2ui 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 10d 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.

skills/lynx-a2ui/SKILL.md · 611 lines

How it starts

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

A2UI Generator

Use this skill when an agent must turn a natural-language request into A2UI protocol data for rendering. The output is data only: a JSON array of A2UI v0.9 messages.

Generation Workflow

  1. Fetch the latest catalog from the URL in the Catalog Source section.
  2. Read catalogId, component schemas, function schemas, required fields, enum values, and examples if the fetched catalog provides them.
  3. Build the UI from the protocol rules, catalog schema, hard rules, and example patterns embedded in this skill.
  4. Translate the user's intent into a data model and a flat component graph that validates against the latest fetched catalog.
  5. Emit only the final JSON array of A2UI messages.

This skill is self-contained for third-party agent platforms. Do not rely on repository-local files.

Protocol Reference

A2UI is a JSON-based streaming UI protocol. The agent describes an interface by emitting declarative JSON messages. The renderer instantiates only trusted components from the active catalog. There is no arbitrary code: never emit JavaScript, HTML, CSS, event handlers, scripts, or executable snippets.

Design principles:

  • Prompt-first: follow the in-context schema and examples exactly.
  • Safe like data, expressive like code: emit trusted component data only.
  • Structure/data separation: component messages define a flat UI graph; data model messages populate or update values used by dynamic bindings.
  • Progressive rendering: each valid message may be rendered as it arrives. Prefer a useful minimal UI first, then add data or refinements.
  • Transport-agnostic: A2UI messages may travel over SSE, REST, WebSocket, A2A, AG UI, MCP, or another host transport.

Envelope semantics:

  • createSurface creates a surface. Once created, its surfaceId and catalogId are fixed. To change catalog or theme, delete and recreate the surface.
  • updateDataModel sets values inside a surface's data model. It has shape { "surfaceId": string, "path"?: string, "value"?: any }. path defaults to /, and value may be any JSON value.
  • updateComponents adds or replaces component definitions for a surface. It may reference data paths, but those paths should already be populated by an earlier updateDataModel message in the same response.
  • deleteSurface removes a surface.

Read the full file on GitHub · 611 lines

Files

What ships with it

1 file 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. 10d ago First seen · 611 lines · 31 tokens per session scan A 244f16ac7c67

Subscribe to this mod's changes

lynx-a2ui is a skill published in the GitHub repository lynx-community/skills (25 stars, last pushed 7d ago), licensed Apache-2.0. It adds 31 tokens to every session and 4,343 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens