# Chat Demo Section

> A chat demo section for an AI product's landing page that your agent builds from one chat.json and drops into a site: a scripted conversation between a user and your assistant that plays when a visitor scrolls to it. The user's message is typed into the composer and sent, the assistant's bubble shows typing dots, each tool call appears with a spinner and then a tick, the reply streams in one to three words at a time with longer pauses after sentences, a code block arrives line by line with a working Copy button, and files arrive as chips. The message bubbles are plain CSS: runs of one speaker share tight inner corners, the last bubble of a run gets a tail (two pseudo-elements in the paper style), and avatars, names and times sit once per run. Pause and Replay are real buttons, playback stops when the window leaves the screen or the tab is hidden and goes on from the same word, and the window keeps the height of the finished conversation so nothing on the page moves. The whole transcript is real text in the HTML from the first paint, so search engines and screen readers get it once, never word by word; reduced motion and no JavaScript show the finished conversation. Two styles laid out differently: console, a dark operations window beside the copy with team-chat names and monospaced tool rows, and paper, a messaging app on warm paper under a serif headline. The build refuses a broken conversation (an unknown speaker, an empty or overlong message, a code block without a language, an unsafe link, a timing out of range, an accent without contrast), and the check tests four widths for the transcript, playback, pause, off-screen pause, replay, layout shift, contrast, focus and reduced motion.

- Output: Web, Scripted AI chat demo from chat.json · CSS message bubbles with tails · typing dots, tool calls, streaming reply, code with Copy · pauses off screen · HTML, embed and React component
- Price: $4.99 one-time, or included in Pro
- Page: https://lookbk.dev/skills/chat-demo-kit

## What you need

- Node.js 18 or newer. Nothing to install.
- Chrome, Chromium or Edge, for the check and the clip (the scripts find it; set `CHROME_PATH` if they don't).
- ffmpeg for the clip only (`brew install ffmpeg`, `winget install ffmpeg`, `apt install ffmpeg`; or set `FFMPEG_PATH`).
- Internet access when the page is opened, for the style's Google Fonts. Without them system fonts stand in.

## Install

```bash
curl -fsSL https://lookbk.dev/cli.js | node - add chat-demo-kit
```

The first run prints a sign-in link; open it, approve, and run the command again. Pro skills install for accounts that bought them or have Pro.

Where it installs:

- Run by Claude Code: `~/.claude/skills/chat-demo-kit` only, the one folder Claude Code reads.
- From your own terminal: `~/.agents/skills/chat-demo-kit`, which Codex, Gemini CLI, Copilot CLI, Cursor and OpenCode read, and also `~/.claude/skills/chat-demo-kit` when `~/.claude` exists.

Add `--claude` or `--shared` to write only one of those folders, or `--project` to install into the current folder instead. Start a new agent session afterwards so it picks up the skill.

Credits and licenses: NOTICE.md plus any LICENSE files inside the ZIP.

## Example request

> Use the Chat Demo Section skill to add a chat demo to our landing page in the console style: a support lead asks our agent why refunds failed overnight, it calls our payments and logs tools, answers with the cause and a SQL fix, and offers the runbook as a file. Give me the embed and the Next.js component.
