Works with the AI Agents you already use

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

    by ClumsyMoney

    1

    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.

    $9.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    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
    AI Copilot UI Kit: Streaming, Tool Cards & Approval Flows

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

    Example session with this skill installed

    I need a clean UI pattern for an AI assistant that streams answers and asks permission before running tools like deleting files or sending emails. Just give me the runnable React + Tailwind components now.

    • Read your context and instructions
    • Compiled the ai copilot ui
    • Generated the UI component

    1. Interaction Mode & Stack Contract

    • Mode: Copilot Sidebar with HITL Tool Pipeline
    • Stack: React 19 + TypeScript + Tailwind CSS v4 + useChat (status, stop, addToolApprovalResponse)
    • HITL Gates: delete_file, send_email

    2. Direction Gate & WCAG 2.2 AA Token Table

    • Selected Direction: Clinical High-Trust (Default for immediate build)
    • Contrast-Verified Tokens (Light / Dark): Surface #FFFFFF / #09090B, Text #0F172A / #FAFAFA (17.85:1 / 19.06:1), Border #71717A (4.83:1 / 3.67:1), Approval Banner #1E3A8A on #EFF6FF (9.52:1)

    3. Runnable Component Package

    • CopilotStreamFeed.tsx — 4-state stream container (submitted | streaming | ready | error), aria-live="polite", aria-busy, and stop() button.
    • ToolDisclosureCard.tsx — 7-state W3C APG Disclosure card (input-streaming through output-error).
    • ToolApprovalDialog.tsx — role="alertdialog" with focus trap, Escape -> approved: false, and idempotent lock.

    4. 12-Point Readiness Scorecard

    • 12/12 Passed (4 stream states, 7 tool states, WAI-ARIA 1.2, WCAG 2.2 AA contrast, idempotent HITL lock).

    CopilotStreamFeed.tsx

    TSX · React component

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    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.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 2 days ago

    Requires

    Nothing to install.

    Permissions

    No special permissions declared or detected

    Listed2 days ago

    What's inside

    Frequently Asked Questions

    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.

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

    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.

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

    New in Frontend & Web Apps

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.