Agent skill · Frontend

chainlit

Expert guidance for building conversational AI applications with Chainlit framework in Python. Use when (1) creating chat interfaces for LLM applications, (2) building apps with OpenAI, LangChain, LlamaIndex, or Mistral AI, (3) implementing streaming responses, (4) adding UI elements like images, files, charts, (5) handling user file uploads, (6) implementing authentication (OAuth, password), (7) creating multi-step workflows with visible steps, (8) building RAG applications with document upload, or (9) deploying chat apps to web, Slack, Discord, or Teams.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill chainlit --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/ai-llm/chainlit/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Chainlit Build production-ready conversational AI applications in Python with rich UI. ## Installation ```bash pip install chainlit ``` ## Quick Start ```python import chainlit as cl @cl.on_message async def on_message(message: cl.Message): await cl.Message(content=f"You said: {message.content}").send() ``` Run with: ```bash chainlit run app.py -w ``` ## Core Concepts | Concept | Description | |---------|-------------| | **Messages** | Text communication between user and assistant | | **Steps** | Visible processing stages (LLM calls, tool use) | | **Elements** | Rich UI (images, files, charts, dataframes) | | **Actions** | Interactive buttons with callbacks | | **Sessions** | Per-user state management | ## Lifecycle Hooks ```python import chainlit as cl @cl.on_chat_start async def start(): cl.user_session.set("history", []) await cl.Message(content="Hello!").send() @cl.on_message async def on_message(message: cl.Message): await cl.Message(content="Got it!").send() @cl.on_chat_end async def end(): print("Session ended") ``` ## Streaming Responses ```python from openai import AsyncOpenAI import chainlit as cl client = AsyncOpenAI() cl.instrument_openai() @cl.on_message async def on

What's inside
Steps it walks through
  1. Installation
  2. Quick Start
  3. Core Concepts
  4. Lifecycle Hooks
  5. Streaming Responses
  6. Steps (Chain of Thought)
  7. User Session
  8. Ask User for Input
  9. UI Elements
  10. Actions (Buttons)
  11. Reference Documentation
  12. Integrations
  13. Configuration
  14. Run Commands
Ships with 1 file
  • metadata.json
Commands it runs
pip install chainlit
chainlit run app.py -w
Development with auto-reload
Production
chainlit run app.py --host 0.0.0.0 --port 8000
Generate auth secret
chainlit create-secret
More from claude-skill-registry
All skills →
About this skill
What does the chainlit skill do?

Expert guidance for building conversational AI applications with Chainlit framework in Python. Use when (1) creating chat interfaces for LLM applications, (2) building apps with OpenAI, LangChain, LlamaIndex, or Mistral AI, (3) implementing streaming responses, (4) adding UI elements like images, files, charts, (5) handling user file uploads, (6) implementing authentication (OAuth, password), (7) creating multi-step workflows with visible steps, (8) building RAG applications with document upload, or (9) deploying chat apps to web, Slack, Discord, or Teams.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill chainlit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going