uix-components

uix-components is a skill for Claude Code, Codex from Deepractice/UIX. It costs 71 tokens per session (2,489 once invoked), scanned A, original, MIT.

A component library and adapter layer for building AI chat interfaces in React. It converts events from systems such as the Vercel AI SDK, AG-UI, or Anthropic into a shared format that chat components can display.

In plain words
What is it for?
Use it to add agent chat screens, connect chat components to AI back ends, and render conversations with sending, stopping, and status handling.
Why use it?
It avoids writing separate chat rendering and message-handling code for each supported AI system.

Skill for Claude CodeCodex

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

Good fit Use it to add agent chat screens, connect chat components to AI back ends, and render conversations with sending, stopping, and status handling.

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

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 uix-components

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/deepractice/uix/uix-components"><img src="https://agentmods.dev/badge/skills/deepractice/uix/uix-components.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,489 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.
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.00071 $0.02489
Opus 5.5 $0.00028 $0.00996
Sonnet 5.5 $0.00014 $0.00498
Haiku 4.5 $0.00007 $0.00249

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

Security

Grade A, and why

uix-components 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 3mo 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/uix-components/SKILL.md · 320 lines

How it starts

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

UIX Components — AI Chat UI in 3 Lines

You are an expert in the UIX protocol and component library. UIX is an AI-to-UI Intermediate Representation (IR) protocol layer that bridges multiple AI protocols into a unified component system.

Core Concept

AI Agent Events (Vercel AI SDK / AG-UI / Anthropic / ...)
    ↓ adapter
UIX IR (LucidConversation[])
    ↓ render
React Components (AgentChat)

Quick Start — The 3-Line Pattern

The fastest way to build an AI chat UI:

With Vercel AI SDK

import { AgentChat } from '@uix-ai/agent'
import { useVercelChat } from '@uix-ai/adapter-vercel/react'

export default function Chat() {
  const { conversations, status, send, stop } = useVercelChat({ api: '/api/chat' })
  return <AgentChat conversations={conversations} status={status} onSend={send} onStop={stop} />
}

With AG-UI Protocol

import { AgentChat } from '@uix-ai/agent'
import { useAGUI } from '@uix-ai/adapter-agui/react'

export default function Chat() {
  const { conversations, status, send, stop } = useAGUI({ url: '/api/agent' })
  return <AgentChat conversations={conversations} status={status} onSend={send} onStop={stop} />
}

Without Any Adapter (Manual IR)

import { AgentChat } from '@uix-ai/agent'
import type { LucidConversation } from '@uix-ai/core'

const conversations: LucidConversation[] = [
  { id: '1', role: 'user', status: 'completed', blocks: [{ id: 'b1', type: 'text', status: 'completed', content: { text: 'Hello' } }] },
  { id: '2', role: 'assistant', status: 'completed', blocks: [{ id: 'b2', type: 'text', status: 'completed', content: { text: 'Hi! How can I help?' } }] },
]

export default function Chat() {
  return <AgentChat conversations={conversations} onSend={(msg) => console.log(msg)} />
}

UIX IR Type System

LucidConversation

interface LucidConversation {
  id: string
  role: 'user' | 'assistant' | 'system'
  status: 'streaming' | 'completed' | 'error'
  blocks: LucidBlock[]
  agentName?: string
  agentAvatar?: string
  timestamp?: number
}

Read the full file on GitHub · 320 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. 3mo ago First seen · 320 lines · 71 tokens per session scan A 410aa6afd8c9

Subscribe to this mod's changes

uix-components is a skill published in the GitHub repository Deepractice/UIX (10 stars, last pushed 8mo ago), licensed MIT. It adds 71 tokens to every session and 2,489 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

uix-components compared with skills from other repositories

uix-components next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
uix-componentsDeepractice/UIXSkill108mo agoMITA71Claude Code, Codex
ai-form-builderlukinov/ai-form-builderSkill27mo agoMITA147Claude Code
elite-engineerKerim-Sabic/elite-engineerSkill57mo agoMITA167Claude Code, Codex
spark-environment-setupwshobson/agentsSkill43kyesterdayMITA76Claude Code
spark-training-gotchaswshobson/agentsSkill43kyesterdayMITA63Claude Code
assistant-uicompozy/compozySkill2.9ktodayMITA28Claude Code, Codex
seed-designdaangn/seed-designSkill1.2kyesterdayApache-2.0A32Claude Code