chatbot-widget-creator

Create a React/TypeScript chat widget with SSE streaming and RAG retrieval.

1|Updated Dec 2, 2025
One-click install
npx skills add https://github.com/MrOwaisAbdullah/ai-humanoid-robotics --skill chatbot-widget-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chatbot-widget-creator
Source: https://github.com/MrOwaisAbdullah/ai-humanoid-robotics/tree/main/.claude/skills/chatbot-widget-creator
Command: npx skills add https://github.com/MrOwaisAbdullah/ai-humanoid-robotics --skill chatbot-widget-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a ready-to-use production-grade AI chatbot widget that mirrors the ChatGPT interface, enabling teams to deploy interactive assistants on docs, dashboards, or apps without building from scratch.

Core Features & Use Cases

  • SSE streaming of AI responses for real-time, conversational UX
  • Text selection "Ask AI" for contextual questions on page content
  • RAG integration to retrieve and cite source content from documents
  • Compact, glassy UI with theme-aware styling and mobile responsiveness
  • Performance-optimized architecture with stable renders and error handling

Use Case: Add a floating chat widget to a product documentation site to answer user questions about features, code examples, and processes using context from integrated documents.

Quick Start

Copy the templates from .claude/skills/chatbot-widget-creator/templates into your project, mount the widget in your app root, and configure backend endpoints for SSE streaming and RAG data sources. Then customize visuals and theming to fit your site.

Frequently Asked Questions about chatbot-widget-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add an AI chat widget to a React application with SSE streaming?

To add an AI chat widget with SSE streaming, you mount the widget in your React app root and configure backend endpoints for SSE streaming and optional RAG data sources. This provides a ChatGPT-like interface with real-time responses.

What is RAG integration for chat widgets and how does it retrieve source content?

RAG integration for chat widgets retrieves and cites source content from documents via a vector-store. It enables the widget to answer user questions using context from integrated documents, improving accuracy on documentation sites and knowledge bases.

Does the chat widget support TypeScript and mobile-responsive UI theming?

Yes, the chat widget requires a React and TypeScript frontend and ships with a compact, glassy UI featuring theme-aware styling and mobile responsiveness for optimal display across various devices and product dashboards.

Can I implement a text selection Ask AI feature for contextual questions on page content?

Yes, the widget includes a text selection Ask AI feature that allows users to highlight page content and ask contextual questions. This works alongside SSE streaming and RAG retrieval for interactive documentation sites.

What backend endpoint setup is needed for a React chat widget with RAG and SSE streaming?

You need a backend SSE streaming endpoint for real-time AI responses and an optional vector-store content retrieval setup for RAG integration. Configure these endpoints after mounting the widget in your React application root.

Are there limitations when deploying a production-grade chat widget without a vector store?

Without a vector store, the widget loses RAG-backed content retrieval and citation capabilities, operating only on standard SSE streaming. You still get real-time conversational UX, but cannot retrieve and cite source content from integrated documents.