/cognigy:webchat-setupfrom cognigy
Deploys a Cognigy agent to a Webchat v3 endpoint — creates or updates endpoints, applies style presets, and configures layout/behavior settings. Provides the embed snippet for website integration.
Ships in cognigy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
For an AI Agent built with
manage_agent, create the endpoint withagentId(plusprojectId) instead offlowId; everything else below is the same.
Webchat v3 is Cognigy's embeddable chat widget for websites. It connects to a Webchat v3 Endpoint, which links a Flow to the widget and holds all appearance/behavior configuration.
manage_webchat { endpointId: "...", layout: { colors: { primaryColor: "#0052cc" } }, behavior: { renderMarkdown: true } }
CREATE vs UPDATE:
Use stylePreset to apply a predefined look in one call:
manage_webchat { endpointId: "...", stylePreset: "modern" }
Presets set layout + behavior fields. You can override individual fields after applying a preset by including them in the same call.
| Field | Type | Default | Description |
|---|---|---|---|
| title | string | agent name | Webchat title bar text |
| logoUrl | string | — | URL to header logo image (28x28px recommended, JPG/PNG/SVG/GIF) |
| chatWindowWidth | number | 460 | Chat window width in px |
| botOutputMaxWidth | number | 73 | Bot output max-width as percentage (1-100) |
| disableBotOutputBorder | boolean | false | Hide chat bubble border around bot output |
| maxInputRows | number | — | Max lines in the reply input field before scrollbar |
| enableInputCollation | boolean | false | Combine rapid typed inputs into one message |
| inputCollationTimeout | number | 1000 | Delay (ms) before collating inputs |
| dynamicImageAspectRatio | boolean | false | Maintain original image proportions |
| disableInputAutocomplete | boolean | false | Disable browser autocomplete in input |
| enableGenericHtml | boolean | false | Apply styling to HTML in text messages |
| allowJsInHtml | boolean | false | Allow onclick/onload in HTML messages |
| allowJsInUrls | boolean | false | Allow javascript: URLs in buttons |
| useAgentAvatars | boolean | false | Show separate avatar/name for bot vs human |
| botAvatarName | string | — | Name above bot messages |
| botAvatarLogoUrl | string | — | Logo above bot messages |
| humanAvatarName | string | — | Name above human agent messages |
| humanAvatarLogoUrl | string | — | Logo above human agent messages |
| Field | Type | Default | Description |
|---|---|---|---|
| primaryColor | string | — | Primary color (hex, e.g. "#0052cc") |
| secondaryColor | string | — | Secondary color |
| chatBackground | string | — | Chat interface background color |
| agentMessageBg | string | "#ffffff" | Bot message background |
| userMessageBg | string | — | User message background |
| textLink | string | — | Text link color |
| Field | Type | Default | Description |
|---|---|---|---|
| scrollingBehavior | "alwaysScroll" / "scrollToLastInput" | "alwaysScroll" | How chat scrolls on new messages |
| collateStreamedOutputs | boolean | false | Merge streamed text into one bubble |
| progressiveMessageRendering | boolean | false | Show text appearing progressively |
| renderMarkdown | boolean | true | Render markdown in bot outputs |
| enableTypingIndicator | boolean | false | Show typing animation |
| inputPlaceholder | string | "Type something…" | Placeholder text in reply field |
| messageDelay | number | 500 | Delay (ms) before showing bot response |
| focusInputAfterPostback | boolean | false | Focus input after button click |
| enableConnectionStatusIndicator | boolean | false | Show warning on lost connection |
| enableStt | boolean | false | Speech-to-text microphone button |
| enableTts | boolean | false | Text-to-speech for bot messages |
| collectMetadata | boolean | false | Collect browser metadata (language, location, device) |
| displayAIAgentNotice | boolean | true | Show "chatting with AI" notice |
| aiAgentNoticeText | string | "You're now chatting with an AI Agent." | Notice text |
| enableScrollButton | boolean | true | Show scroll-to-bottom button |
| Field | Type | Default | Description |
|---|---|---|---|
| mode | "textField" / "button" / "autoSend" | "textField" | How conversation starts |
| textPayload | string | — | First message sent to agent (button/autoSend) |
| dataPayload | string | — | Additional data sent to flow (button/autoSend) |
| displayText | string | — | Simulated user input bubble text (button/autoSend) |
| buttonTitle | string | — | Start button label (button mode only) |
| Field | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | false | Show home screen on launch |
| welcomeText | string | "Welcome! How can we help?" | Greeting message |
| backgroundImage | string | — | Background image URL (460x608px) |
| backgroundColor | string | — | CSS color/gradient for background |
| startConversationButtonText | string | "Start conversation" | Button text |
| conversationStarters | array | — | Up to 5 items: { title, type: "postback"/"url", value } |
| previousConversations | object | — | See sub-fields below |
| Field | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | false | Show previous conversations button |
| enableDeleteAll | boolean | false | Allow deleting all conversations |
| buttonText | string | "Previous conversations" | Button label |
| title | string | — | Screen header |
| startNewButtonText | string | "Start new conversation" | New conversation button text |
| Field | Type | Default | Description |
|---|---|---|---|
| text | string | — | Message beside webchat icon |
| showInChat | boolean | false | Also show teaser inside chat |
| conversationStarters | array | — | Up to 5: { title, type: "postback"/"url", value } |
| Field | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | false | Enable chat options menu |
| title | string | "Chat options" | Options screen title |
| enableDeleteConversation | boolean | false | Let users delete current conversation |
| Field | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | false | Show quick replies in options |
| sectionTitle | string | "People are also interested in" | Section header |
| items | array | — | Up to 5: { title, type: "postback"/"url", value } |
| Field | Type | Default | Description |
|---|---|---|---|
| showToggle | boolean | false | Show TTS toggle in options |
| toggleLabel | string | "Enable text-to-speech" | Toggle label |
| activateByDefault | boolean | false | TTS on by default |
| Field | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | false | Enable conversation rating |
| titleText | string | "Please rate your chat experience" | Rating prompt |
| commentPlaceholder | string | "Type something here" | Feedback field placeholder |
| submitButtonText | string | "Send feedback" | Submit button text |
| submittedBannerText | string | "Your feedback was submitted" | Confirmation banner |
| Field | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | false | Show footer in options |
| items | array | — | Up to 2: { title, url } |
| Field | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | false | Require privacy acceptance before chat |
| title | string | "Privacy Notice" | Notice heading |
| text | string | "Please accept our privacy policy to start your chat" | Notice body (supports Markdown) |
| submitButton | string | "Submit" | Accept button text |
| policyLinkTitle | string | — | Privacy policy link label |
| policyLinkUrl | string | — | Privacy policy URL |
| Field | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | false | Restrict to business hours |
| mode | "inform" / "disable" / "hide" | "inform" | Out-of-hours behavior |
| informationText | string | — | Message shown outside hours |
| informationTitle | string | — | Title shown outside hours |
| timezone | string | — | IANA timezone (e.g. "Europe/Berlin") |
| schedule | array | — | { dayOfWeek, startTime, endTime } per day |
| Field | Type | Default | Description |
|---|---|---|---|
| enableTitleIndicator | boolean | false | Show count in browser tab |
| enableBadge | boolean | false | Show unread count badge |
| enablePreview | boolean | false | Show preview bubble |
| enableSound | boolean | false | Play notification sound |
| Field | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | false | Activate maintenance mode |
| mode | "inform" / "disable" / "hide" | "inform" | Maintenance behavior |
| informationText | string | — | Maintenance message |
| informationTitle | string | — | Maintenance title |
| Field | Type | Default | Description |
|---|---|---|---|
| type | "default" / "custom" / "none" | "default" | Watermark type |
| text | string | "Powered by Cognigy.AI" | Custom watermark text |
| url | string | "https://www.cognigy.com/" | Custom watermark URL |
| Field | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | false | Show persistent menu |
| title | string | — | Menu title |
| items | array | — | { title, payload } pairs |
| Field | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | false | Allow file uploads |
| dropzoneText | string | "Drop to attach" | Dropzone label |
| Field | Type | Default | Description |
|---|---|---|---|
| animation | "none" / "bounce" / "swing" / "pulse" | "none" | Icon animation |
| animationInterval | number | 5 | Seconds between animations |
| animationSpeed | "slow" / "normal" / "fast" / "superfast" | "normal" | Animation speed |
Type: string (raw JSON). Escape-hatch for advanced Webchat Custom Settings not covered above. Example: manage_webchat { endpointId: "...", customJson: "{"colors":{"primaryColor":"red"},"customTranslations":{"network_error":"Netzwerkfehler"}}" }
manage_webchat { projectId: "...", flowId: "...", name: "Support Chat", layout: { title: "Acme Support", logoUrl: "https://acme.com/logo.png", colors: { primaryColor: "#0052cc", userMessageBg: "#e3f2fd" } } }
manage_webchat { endpointId: "...", stylePreset: "modern", behavior: { enableTypingIndicator: true } }
manage_webchat { endpointId: "...", businessHours: { enabled: true, mode: "inform", timezone: "America/New_York", informationText: "We're available Mon-Fri 9-5 ET.", schedule: [ { dayOfWeek: "Monday", startTime: "09:00", endTime: "17:00" }, { dayOfWeek: "Tuesday", startTime: "09:00", endTime: "17:00" }, { dayOfWeek: "Wednesday", startTime: "09:00", endTime: "17:00" }, { dayOfWeek: "Thursday", startTime: "09:00", endTime: "17:00" }, { dayOfWeek: "Friday", startTime: "09:00", endTime: "17:00" } ] }, chatOptions: { enabled: true, rating: { enabled: true } }, privacyNotice: { enabled: true, policyLinkUrl: "https://acme.com/privacy" } }
manage_webchat { endpointId: "...", homeScreen: { enabled: true, welcomeText: "Hi! What can I help you with?", conversationStarters: [ { title: "Track my order", type: "postback", value: "track order" }, { title: "Return an item", type: "postback", value: "return item" }, { title: "Help Center", type: "url", value: "https://acme.com/help" } ] } }
The manage_webchat response includes demoWebchatUrl — a direct browser link to the Cognigy Demo Webchat page where the user can interact with the configured widget immediately. Always present this URL to the user as a clickable link after every successful create or update — do not send them to the Cognigy UI to find it.
You can also append query parameters for testing:
When the user asks about deploying to their website, use the configUrl and embeddingSnippet from the response:
<script src="https://github.com/Cognigy/Webchat/releases/latest/download/webchat.js"></script>
<script>
window.cognigyWebchat.open({
configUrl: "CONFIG_URL_HERE"
});
</script>
Replace CONFIG_URL_HERE with the configUrl from the manage_webchat response.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cognigy, webchat, chat-widget, endpoint-setup, embed-snippet
npx claudepluginhub cognigy/cognigy-plugin --plugin cognigy18 skills in this plugin
/a2a-setupUse when the user explicitly asks for A2A (Agent2Agent), wants an agent to call an external / third-party A2A agent or one in another project or tenant, or wants to expose a Cognigy agent to outside A2A callers. Covers the manage_a2a_server endpoint and the create_tool { toolType: 'a2a' } tool type. NOT for connecting agents that live in the same project — those use the native Handover to AI Agent tool./agent-creationUse when the user wants to build, create, or set up a new Cognigy AI Agent from scratch, or change an agent's settings, skills, tools, knowledge or system prompt, or make it answer faster — covers checking what the environment supports, listing projects, ensuring an LLM exists, creating the agent, testing it, and refining it./agent-red-teamUse when the user wants to red-team, adversarially test, jailbreak-test, or probe the guardrails of a Cognigy AI Agent — covers scoping consent, deriving the agent's policy surface from its config, generating targeted probes, scoring verdicts, and producing a standardised findings report./docs-lookupUse when the user asks how a Cognigy.AI feature, node, endpoint, setting, or concept works, asks for Cognigy documentation, best practices, or release/version behavior, or when you are unsure of platform behavior or valid configuration values and need to consult the official docs before answering or building./environmentsUse when Cognigy tools ask for an "environment", when the user works with several Cognigy environments or tenants (trial, a customer tenant), wants to compare or copy something between environments, or asks how to add another Cognigy environment./flow-nodesUse when adding, editing or debugging custom logic inside a Cognigy tool branch with manage_flow_nodes (code, HTTP Request, if/else and other nodes), or when rendering/visualizing a flow as a diagram — supported node types, config schemas, placement rules, the tool-first workflow, and the render operation.Other plugins' skills for the same job