Skip to main content
skill CX Codex

chat-ui — Claude Code skill: what it does, how to install

chat-ui gives your agent ready-made chat building blocks for React and Next.js: container, messages, input field, typing indicator. Useful when the app needs a conversation screen.

no license 242 installs ★ 31 updated 2026-08-31

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add 101-skills/superpowers --skill chat-ui -a claude-code
Open on GitHub

What chat-ui does

The skill puts a set of chat components from ui.inference.sh in front of the agent. Container, message list, input, typing indicator, avatars. Instead of drawing markup from nothing, the agent picks the block that fits and adjusts it.

The blocks come into the project with npx shadcn@latest add https://ui.inference.sh/r/chat.json. Imports live under @/registry/blocks/chat, with ChatContainer, ChatMessage, ChatInput and TypingIndicator as separate files. A message has one of three roles: user sits right, assistant left, system centered. The worked example wires a message list, a waiting indicator and sending through onSubmit.

Styling leans on Tailwind CSS and shadcn/ui design tokens. In a project without that setup the components arrive bare, so you finish the look yourself. Check the Tailwind config before asking the agent for a chat screen.

What it helps with

  • build a chat window for an AI assistant in React
  • render a message list with user and assistant roles
  • wire an input that locks while the reply loads
  • show a typing indicator during the wait
  • pull the chat blocks in through the shadcn registry

Example prompts for the agent

  • Build a chat screen with ChatContainer and ChatMessage for user and assistant turns
  • Hook ChatInput to onSubmit and disable it while the response is loading
  • Put TypingIndicator under the message list until the answer arrives

How to install chat-ui

1Skills CLI (Vercel)

npx skills add 101-skills/superpowers --skill chat-ui -a claude-code

2Manually: put the files in place

~/.claude/skills/chat-ui/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/chat-ui/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about chat-ui

How do I install chat-ui in Claude Code?

Run npx skills add 101-skills/superpowers --skill chat-ui -a claude-code. The skill file lands at ~/.claude/skills/chat-ui/SKILL.md.

What does chat-ui do?

It hands the agent chat UI blocks for React and Next.js: container, messages, input, typing indicator, avatars. The components themselves install through the shadcn CLI.

Does chat-ui require shadcn/ui in my project?

The components are styled with Tailwind CSS and shadcn/ui tokens. Add the blocks with npx shadcn@latest add https://ui.inference.sh/r/chat.json.

Similar skills

All skills for Frontend and UI →

From the same set81

The whole set →
tools-ui tools-ui is a skill for building React/Next.js interfaces for agent tool calls, showing progress, approval prompts, and results. It makes tool activity visible before and after execution. CX Codex +1 243installs speech-to-text speech-to-text is a Claude Code skill that runs Whisper and ElevenLabs through the belt CLI to transcribe audio and prepare video subtitles. CX Codex +1 242installs case-study-writing case-study-writing guides drafting B2B case studies using the STAR method, metric comparisons, customer quotes, and chart visuals. CX Codex +1 242installs affirmations A skill for an agent stuck in a loop: it reads a short set of affirmations, re-checks what it actually knows, and takes one small step. CX Codex +1 242installs talking-head-production talking-head-production turns a still portrait plus a script into a talking-head clip: the skill walks the agent through portrait checks, voice choice and lipsync calls on the belt CLI. CX Codex +1 241installs social-media-carousel social-media-carousel designs multi-slide social carousels with layout standards, hook formulas, and automated image generation using the belt CLI. CX Codex +1 241installs email-design email-design is a Claude Code skill that defines email layout patterns, subject line formulas, and belt CLI commands for creating header banners. CX Codex +1 241installs elevenlabs-tts elevenlabs-tts generates speech with ElevenLabs voices through the belt CLI. Useful for making voiceovers and narrations right from the terminal. CX Codex +1 241installs

Project sponsors

Companies that keep this analytics open