andreibesleaga/gabbe/a2ui-protocols

Claude Code and agent skill by andreibesleaga/gabbe

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Design the message schema and streaming events an agent uses to send UI to a frontend (JSON, WebSocket, SSE, HTMX). Use when an agent must stream components or UI updates to a browser.

Install

npx vskill@latest install andreibesleaga/gabbe/a2ui-protocols

SKILL.md

The same SKILL.md was published earlier as andreibesleaga/gabbe/a2ui-protocols.

a2ui-protocols

Goal

Design, enforce, and integrate robust Agent-to-UI (A2UI) communication protocols using Generative UI and HTMX conventions.

Steps

  1. Analyze Requirements: Understand the data exchanged between the agent and the frontend UI.
  2. Design Protocol: Define the JSON schema, WebSocket events, or Server-Sent Events (SSE) required for the agent to stream UI components.
  3. Implement A2UI: Configure the backend to serve dynamic UI chunks (e.g., using React Server Components, HTMX responses).
  4. Verify: Ensure the UI updates smoothly without full page reloads and maintains state. For the front-end views that show agent traces and tool calls, see agent-ui.skill.

Constraints

  • The agent may stream only components that exist in the project's design system; unknown component names are rejected by the receiver, not rendered.
  • Every message type has a written schema; the UI never executes code or HTML taken from a message field.

Output Format

A protocol note docs/A2UI_PROTOCOL.md (message types with their JSON schema, transport, ordering and error events) and the backend and frontend code that implements it.

Limits and safety

  • Reject UI messages that do not match the schema, and cap payload size and open connections; test both limits with an oversized message.
  • Set an explicit CORS origin list on every REST, SSE and WebSocket endpoint; a wildcard origin is a finding.
  • The client must not be able to set the agent context id or session token; check that a forged id is refused.
  • Set a timeout on streaming responses so one agent run cannot stream UI forever.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/andreibesleaga/gabbe/a2ui-protocols/badge)](https://verified-skill.com/skills/andreibesleaga/gabbe/a2ui-protocols)

Something wrong with this skill or its page? Tell us.