# AI Copilot UI Kit: Streaming, Tool Cards & Approval Flows

> Outputs state-complete React/Tailwind or HTML/CSS components for AI streaming, tool-call cards, human-in-the-loop approval gates, citations, and error recovery—zero terminal or API keys needed.

AI Copilot UI Kit: Streaming, Tool Cards & Approval Flows is a paid AI agent skill on Agensi by ClumsyMoney, in Frontend & Web Apps. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [ClumsyMoney](https://www.agensi.io/creators/clumsymoney)
- Category: [Frontend & Web Apps](https://www.agensi.io/skills/frontend-web-apps)
- Version: 1.0
- Last updated: 2026-12-02
- Security: scan passed (2026-12-02); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ai-copilot-ui-kit-streaming-tool-cards-approval-flows
- Tags: frontend-web-apps, ux-ui-design, ai-ui, react

## What it does

- Generate runnable React, TypeScript, and Tailwind components across all seven tool states
- Enforce accessible streaming with live-region throttling, stop controls, and retry recovery
- Protect irreversible actions with focus-trapped approval dialogs and double-click locks
- Compare three visual directions with verified light and dark contrast color tokens
- Audit every component against a twelve-point accessibility and state-completeness checklist

## About this skill

Ship production-grade AI assistant interfaces without missing edge states or accessibility gaps.

Most AI UI prompts produce a bare chatbox that breaks the moment an agent streams partial JSON, pauses for user permission, or hits a tool error. **AI Copilot UI Kit** enforces a structured four-phase design and code-generation workflow that delivers runnable, WCAG 2.2 AA compliant frontend components.

### What You Get
- **4-State Streaming Architecture:** Handles `submitted`, `streaming`, `ready`, and `error` with throttled `aria-live="polite"` announcements, `aria-busy` management, explicit `stop()` abort controls, and retry recovery.
- **7-State Tool Disclosure Cards:** Covers `input-streaming`, `input-available`, `approval-requested`, `approval-responded`, `output-available`, `output-denied`, and `output-error` using the W3C APG Disclosure pattern.
- **Idempotent HITL Approval Gates:** Accessible `role="alertdialog"` modals with keyboard focus trapping, `Escape` mapped to `approved: false`, and double-click submission locks.
- **3 Contrasting Directions & Verified Hex Tokens:** Compares visual trust-and-latency directions with pre-verified light/dark contrast pairs (`>=4.5:1` text, `>=3.0:1` borders) before generating code.
- **12-Point Readiness Scorecard:** Every deliverable is self-audited against 12 accessibility, state-completeness, and interaction-safety checks.

## Requires

Nothing beyond your AI agent.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the AI Copilot UI Kit: Streaming, Tool Cards & Approval Flows skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does this skill require an API key, terminal access, or backend setup?

No. It is a pure frontend architecture and component-generation skill that outputs runnable React/Tailwind or HTML/CSS code and design tokens directly in chat.

### What happens if I don't specify a frontend framework?

It automatically applies a modern default contract (React 19, TypeScript, Tailwind CSS v4, and useChat state hooks) and states that assumption clearly.

### Can I use this if I only want standalone HTML and CSS without React?

Yes. Simply specify HTML/CSS in your prompt and the skill will adapt the 4-state stream container, 7-state disclosure cards, and alertdialog markup accordingly.

### Does it generate backend LangGraph or server-side LLM routing code?

No. It is strictly scoped to frontend UI, accessibility, state machines, and visual tokens, and explicitly excludes server-side orchestration.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
