← Back to Skills Marketplace
okaris

Chat Ui

by Ömer Karışman · GitHub ↗ · v0.1.5
cross-platform ⚠ suspicious
1398
Downloads
0
Stars
5
Active Installs
2
Versions
Install in OpenClaw
/install chat-ui
Description
Chat UI building blocks for React/Next.js from ui.inference.sh. Components: container, messages, input, typing indicators, avatars. Capabilities: chat interf...
README (SKILL.md)

Chat UI Components

Chat building blocks from ui.inference.sh.

Chat UI Components

Quick Start

# Install chat components
npx shadcn@latest add https://ui.inference.sh/r/chat.json

Components

Chat Container

import { ChatContainer } from "@/registry/blocks/chat/chat-container"

\x3CChatContainer>
  {/* messages go here */}
\x3C/ChatContainer>

Messages

import { ChatMessage } from "@/registry/blocks/chat/chat-message"

\x3CChatMessage
  role="user"
  content="Hello, how can you help me?"
/>

\x3CChatMessage
  role="assistant"
  content="I can help you with many things!"
/>

Chat Input

import { ChatInput } from "@/registry/blocks/chat/chat-input"

\x3CChatInput
  onSubmit={(message) => handleSend(message)}
  placeholder="Type a message..."
  disabled={isLoading}
/>

Typing Indicator

import { TypingIndicator } from "@/registry/blocks/chat/typing-indicator"

{isTyping && \x3CTypingIndicator />}

Full Example

import {
  ChatContainer,
  ChatMessage,
  ChatInput,
  TypingIndicator,
} from "@/registry/blocks/chat"

export function Chat() {
  const [messages, setMessages] = useState([])
  const [isLoading, setIsLoading] = useState(false)

  const handleSend = async (content: string) => {
    setMessages(prev => [...prev, { role: 'user', content }])
    setIsLoading(true)
    // Send to API...
    setIsLoading(false)
  }

  return (
    \x3CChatContainer>
      {messages.map((msg, i) => (
        \x3CChatMessage key={i} role={msg.role} content={msg.content} />
      ))}
      {isLoading && \x3CTypingIndicator />}
      \x3CChatInput onSubmit={handleSend} disabled={isLoading} />
    \x3C/ChatContainer>
  )
}

Message Variants

Role Description
user User messages (right-aligned)
assistant AI responses (left-aligned)
system System messages (centered)

Styling

Components use Tailwind CSS and shadcn/ui design tokens:

\x3CChatMessage
  role="assistant"
  content="Hello!"
  className="bg-muted"
/>

Related Skills

# Full agent component (recommended)
npx skills add inference-sh/skills@agent-ui

# Declarative widgets
npx skills add inference-sh/skills@widgets-ui

# Markdown rendering
npx skills add inference-sh/skills@markdown-ui

Documentation

Component docs: ui.inference.sh/blocks/chat

Usage Guidance
This skill is a coherent instruction-only recipe for adding chat UI components. It does not request credentials or access to your system beyond running npx to fetch templates from ui.inference.sh. Before running the npx command, review the downloaded template files (or run in an isolated/dev environment) to ensure they match expectations. Treat network-downloaded code like any third-party package: inspect contents, run npm/yarn audits, and prefer running these commands in a sandbox if you are unsure. If you need higher assurance, ask the publisher for a pinned release or a package published to a public registry you can vet.
Capability Analysis
Type: OpenClaw Skill Name: chat-ui Version: 0.1.5 The `SKILL.md` file contains `npx` commands (`npx shadcn@latest add` and `npx skills add`) that instruct the agent to download and execute code from external domains (ui.inference.sh, inference.sh/skills). While these commands are presented as legitimate steps to install UI components and related skills, they represent a risky capability involving shell execution and network access. This introduces a supply chain vulnerability, as a compromise of the remote servers could lead to arbitrary code execution on the agent's machine. There is no evidence of intentional malicious behavior within the skill bundle itself, but the presence of these commands constitutes a significant vulnerability, classifying it as suspicious.
Capability Assessment
Purpose & Capability
Name, description, and instructions all describe installing and using chat UI building blocks for React/Next.js. The imports and example code match the stated purpose and do not request unrelated capabilities or credentials.
Instruction Scope
SKILL.md contains only component usage examples and a single install command (npx shadcn@latest add https://ui.inference.sh/r/chat.json). The instructions do not request reading arbitrary host files, environment secrets, or other unrelated system state. Note: the runtime instructions tell the user/agent to run npx which will fetch remote template data — this is expected for a UI component recipe but is the primary external action the agent would perform.
Install Mechanism
There is no registry install spec (the skill is instruction-only). The recommended install uses npx and a URL hosted at ui.inference.sh to pull component definitions. That URL aligns with the skill's branding (inference.sh) but it means running a network download via npx; users should inspect the fetched template before executing in production. No obscure URL shorteners or IP addresses are used.
Credentials
The skill declares no required environment variables, credentials, or config paths. The SKILL.md does not reference any secrets or unrelated environment variables.
Persistence & Privilege
The skill does not request always:true or any elevated persistent presence. It is user-invocable and allows normal autonomous invocation; this is typical and consistent for a utility skill of this type.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install chat-ui
  3. After installation, invoke the skill by name or use /chat-ui
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.5
- Added comprehensive documentation (SKILL.md) for chat-ui, detailing available components and usage. - Included code examples for ChatContainer, ChatMessage, ChatInput, and TypingIndicator. - Provided a full example for building a chat interface with message state and input handling. - Listed message role variants and associated UI behaviors. - Offered related skills, styling tips, and links to further documentation and best practices.
v0.1.0
Initial release of chat-ui: chat interface components for React/Next.js. - Provides building blocks: ChatContainer, ChatMessage, ChatInput, TypingIndicator, and avatar support. - Enables rapid construction of custom chat UIs, message lists, and streaming experiences. - All components use Tailwind CSS and shadcn/ui design tokens. - Includes installation, usage examples, message variants, and links to further documentation. - Related skills and integrations suggested for extended chat/agent capabilities.
Metadata
Slug chat-ui
Version 0.1.5
License
All-time Installs 6
Active Installs 5
Total Versions 2
Frequently Asked Questions

What is Chat Ui?

Chat UI building blocks for React/Next.js from ui.inference.sh. Components: container, messages, input, typing indicators, avatars. Capabilities: chat interf... It is an AI Agent Skill for Claude Code / OpenClaw, with 1398 downloads so far.

How do I install Chat Ui?

Run "/install chat-ui" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Chat Ui free?

Yes, Chat Ui is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Chat Ui support?

Chat Ui is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Chat Ui?

It is built and maintained by Ömer Karışman (@okaris); the current version is v0.1.5.

💬 Comments