{
  "schemaVersion": "1.0",
  "item": {
    "slug": "chat-ui",
    "name": "Chat Ui",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/okaris/chat-ui",
    "canonicalUrl": "https://clawhub.ai/okaris/chat-ui",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/chat-ui",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=chat-ui",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/chat-ui"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/chat-ui",
    "agentPageUrl": "https://openagent3.xyz/skills/chat-ui/agent",
    "manifestUrl": "https://openagent3.xyz/skills/chat-ui/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/chat-ui/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Chat UI Components",
        "body": "Chat building blocks from ui.inference.sh."
      },
      {
        "title": "Quick Start",
        "body": "# Install chat components\nnpx shadcn@latest add https://ui.inference.sh/r/chat.json"
      },
      {
        "title": "Chat Container",
        "body": "import { ChatContainer } from \"@/registry/blocks/chat/chat-container\"\n\n<ChatContainer>\n  {/* messages go here */}\n</ChatContainer>"
      },
      {
        "title": "Messages",
        "body": "import { ChatMessage } from \"@/registry/blocks/chat/chat-message\"\n\n<ChatMessage\n  role=\"user\"\n  content=\"Hello, how can you help me?\"\n/>\n\n<ChatMessage\n  role=\"assistant\"\n  content=\"I can help you with many things!\"\n/>"
      },
      {
        "title": "Chat Input",
        "body": "import { ChatInput } from \"@/registry/blocks/chat/chat-input\"\n\n<ChatInput\n  onSubmit={(message) => handleSend(message)}\n  placeholder=\"Type a message...\"\n  disabled={isLoading}\n/>"
      },
      {
        "title": "Typing Indicator",
        "body": "import { TypingIndicator } from \"@/registry/blocks/chat/typing-indicator\"\n\n{isTyping && <TypingIndicator />}"
      },
      {
        "title": "Full Example",
        "body": "import {\n  ChatContainer,\n  ChatMessage,\n  ChatInput,\n  TypingIndicator,\n} from \"@/registry/blocks/chat\"\n\nexport function Chat() {\n  const [messages, setMessages] = useState([])\n  const [isLoading, setIsLoading] = useState(false)\n\n  const handleSend = async (content: string) => {\n    setMessages(prev => [...prev, { role: 'user', content }])\n    setIsLoading(true)\n    // Send to API...\n    setIsLoading(false)\n  }\n\n  return (\n    <ChatContainer>\n      {messages.map((msg, i) => (\n        <ChatMessage key={i} role={msg.role} content={msg.content} />\n      ))}\n      {isLoading && <TypingIndicator />}\n      <ChatInput onSubmit={handleSend} disabled={isLoading} />\n    </ChatContainer>\n  )\n}"
      },
      {
        "title": "Message Variants",
        "body": "RoleDescriptionuserUser messages (right-aligned)assistantAI responses (left-aligned)systemSystem messages (centered)"
      },
      {
        "title": "Styling",
        "body": "Components use Tailwind CSS and shadcn/ui design tokens:\n\n<ChatMessage\n  role=\"assistant\"\n  content=\"Hello!\"\n  className=\"bg-muted\"\n/>"
      },
      {
        "title": "Related Skills",
        "body": "# Full agent component (recommended)\nnpx skills add inference-sh/skills@agent-ui\n\n# Declarative widgets\nnpx skills add inference-sh/skills@widgets-ui\n\n# Markdown rendering\nnpx skills add inference-sh/skills@markdown-ui"
      },
      {
        "title": "Documentation",
        "body": "Chatting with Agents - Building chat interfaces\nAgent UX Patterns - Chat UX best practices\nReal-Time Streaming - Streaming responses\n\nComponent docs: ui.inference.sh/blocks/chat"
      }
    ],
    "body": "Chat UI Components\n\nChat building blocks from ui.inference.sh.\n\nQuick Start\n# Install chat components\nnpx shadcn@latest add https://ui.inference.sh/r/chat.json\n\nComponents\nChat Container\nimport { ChatContainer } from \"@/registry/blocks/chat/chat-container\"\n\n<ChatContainer>\n  {/* messages go here */}\n</ChatContainer>\n\nMessages\nimport { ChatMessage } from \"@/registry/blocks/chat/chat-message\"\n\n<ChatMessage\n  role=\"user\"\n  content=\"Hello, how can you help me?\"\n/>\n\n<ChatMessage\n  role=\"assistant\"\n  content=\"I can help you with many things!\"\n/>\n\nChat Input\nimport { ChatInput } from \"@/registry/blocks/chat/chat-input\"\n\n<ChatInput\n  onSubmit={(message) => handleSend(message)}\n  placeholder=\"Type a message...\"\n  disabled={isLoading}\n/>\n\nTyping Indicator\nimport { TypingIndicator } from \"@/registry/blocks/chat/typing-indicator\"\n\n{isTyping && <TypingIndicator />}\n\nFull Example\nimport {\n  ChatContainer,\n  ChatMessage,\n  ChatInput,\n  TypingIndicator,\n} from \"@/registry/blocks/chat\"\n\nexport function Chat() {\n  const [messages, setMessages] = useState([])\n  const [isLoading, setIsLoading] = useState(false)\n\n  const handleSend = async (content: string) => {\n    setMessages(prev => [...prev, { role: 'user', content }])\n    setIsLoading(true)\n    // Send to API...\n    setIsLoading(false)\n  }\n\n  return (\n    <ChatContainer>\n      {messages.map((msg, i) => (\n        <ChatMessage key={i} role={msg.role} content={msg.content} />\n      ))}\n      {isLoading && <TypingIndicator />}\n      <ChatInput onSubmit={handleSend} disabled={isLoading} />\n    </ChatContainer>\n  )\n}\n\nMessage Variants\nRole\tDescription\nuser\tUser messages (right-aligned)\nassistant\tAI responses (left-aligned)\nsystem\tSystem messages (centered)\nStyling\n\nComponents use Tailwind CSS and shadcn/ui design tokens:\n\n<ChatMessage\n  role=\"assistant\"\n  content=\"Hello!\"\n  className=\"bg-muted\"\n/>\n\nRelated Skills\n# Full agent component (recommended)\nnpx skills add inference-sh/skills@agent-ui\n\n# Declarative widgets\nnpx skills add inference-sh/skills@widgets-ui\n\n# Markdown rendering\nnpx skills add inference-sh/skills@markdown-ui\n\nDocumentation\nChatting with Agents - Building chat interfaces\nAgent UX Patterns - Chat UX best practices\nReal-Time Streaming - Streaming responses\n\nComponent docs: ui.inference.sh/blocks/chat"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/okaris/chat-ui",
    "publisherUrl": "https://clawhub.ai/okaris/chat-ui",
    "owner": "okaris",
    "version": "0.1.5",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/chat-ui",
    "downloadUrl": "https://openagent3.xyz/downloads/chat-ui",
    "agentUrl": "https://openagent3.xyz/skills/chat-ui/agent",
    "manifestUrl": "https://openagent3.xyz/skills/chat-ui/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/chat-ui/agent.md"
  }
}