Review the skill instructions
The commands below pin the widget skill source to commit64ba5dccdf5fe5997634d807248b790c146f3880, the version introduced by the widget skills PR. They do not follow the repository’s changing default branch.
Read the integration skill or migration skill before installing it. Skills are instructions your assistant may follow; review the changes it proposes before applying them.
For page context, use the filtered URL examples in Companion mode. The pinned skills include full-URL examples: replace those with window.location.origin + window.location.pathname, and omit private path or title data. Tell your assistant this constraint when using either skill.
Install a skill
Run this command from your application’s directory. You need Node.js and npm, includingnpx.
--global to make
the skill available across your projects. If the assistant does not discover the
new skill immediately, start a new session.
Choose your skill
To install the migration skill:
Ask your assistant
After installing, give your assistant a task and name the skill:Use opencx-widget-integration to add the OpenCX widget to this React app using v5 beta in Companion mode. Mount it once in the app layout. Exclude query strings, fragments and private path or title data from page context.
Use opencx-widget-integration to configure the v5 beta companion and send the current page context when a visitor asks a question. Exclude query strings, fragments and private path or title data from context.
Use opencx-widget-migration to upgrade our v4 widget to v5. Review our custom components and self-hosted script before changing anything. Exclude query strings, fragments and private path or title data from page context.Your assistant will need your widget token when configuring the integration. Get it from your OpenCX dashboard.
Version awareness
The skills check the installed widget version and available releases before recommending changes. v5 features require a v5 package; installing a skill does not enable organization features such as streaming or page context. As of September 7, 2026, v5 is available under the npmbeta tag and latest
remains v4. Ask explicitly for v5 beta when you want to try it.
See Companion mode for the v5 experience and Migrate to v5 for the upgrade checklist.
Update deliberately
Review the changes in a newer skill commit before upgrading. Then rerun the installation command with that full commit SHA in the source URL. Keep the resulting project skill files and lockfile in version control so your team can review the change and restore the previous version. Avoid an unpinned reinstall or a blanketskills update when you need to retain a reviewed version. Updating a skill does not update your npm widget dependency.
See Install Widget for manual setup and
Configuration for widget options. The
skills CLI documentation describes
installation options and supported assistants.