--- name: caac-go description: Install, verify, and configure the CAAC Go AI chat agent on a website. Use when asked to add CAAC Go, add an AI chat agent or live chat widget to a site, when a CAAC Go widget key (data-key) or caacgo.cresclab.com snippet appears, or when a CAAC Go install needs debugging. --- # CAAC Go CAAC Go is an AI agent that answers a website's visitors from that business's own content, captures leads, and escalates what needs a human. This skill covers putting it on a site, proving it works, and driving a workspace from an agent. Product: https://caacgo.cresclab.com · Docs: https://caacgo.cresclab.com/developers ## Install the chat widget (the common task) You need the workspace's **widget key**. It is a *public* embed key — it ships in the HTML of every installed site, so it needs no env var and no server-side proxy. The owner copies it from https://caacgo.cresclab.com/app/channels/website. **Never invent or guess a key.** If you don't have one, stop and ask. Paste this **once**, immediately before the closing `` tag, in the file that renders the shared layout for the whole site: ```html ``` That is the entire install. The widget then appears on every page. Attributes: `src` (required, must point at `https://caacgo.cresclab.com/widget.js`), `data-key` (required, the public widget key), `data-color` (optional 6-digit hex accent), `async` (recommended). ### Rules that prevent the usual mistakes - **Site-wide, not per-page.** Put it in the root layout / base template / footer include. Installing it on one route is the single most common failure. - **Verbatim.** Don't edit `data-key`, rename attributes, or reformat the tag. - **Once.** A second copy renders a second launcher. - **Don't vendor it.** Never download, bundle, or proxy `widget.js` — it is served `max-age=0` so fixes reach installed sites immediately. - **No wrapper component** unless the framework genuinely can't take a raw `