@cometchat/skills (v5)
Add CometChat chat & calling to your app through your AI coding agent. Install the skills, then ask your agent "add chat to my app" — it has a short conversation with you (framework, intent, placement, credentials), then writes production-grade integration code into the files you already have.
v5 is a multi-platform pack: a thin cometchat dispatcher + an onboarding journey + on-demand, verified skills for six UI Kits — React v7 · Angular v5 · React Native v5 · iOS v5 · Android v6 · Flutter v6 — plus headless Calls SDK v5 skills (JavaScript · React Native · iOS · Android · Flutter) and the Android Chat SDK v5. It's docs-maximal (builds from the official CometChat task guides and verifies against them) and two-gate tested (a deterministic reviewer + a black-box acceptance explorer).
v5 ships on npm as @cometchat/skills (5.x). It's a multi-platform rewrite of the v4 pack — same package name, new major. Upgrading? add removes the old v4 skills for you (see CHANGELOG.md).
Install
Setup is two steps: install the skills, then make sure the CometChat MCP is connected.
1. Install the skills
npx @cometchat/skills add
The installer detects your project automatically — React (Vite, Next.js, CRA, Astro, React Router), Angular, React Native / Expo, and native iOS (Xcode project), Android (Gradle) and Flutter (pubspec.yaml) — and installs the skills for your coding agent: Claude Code by default; target another with --ide (Cursor, Codex, Cline, Kiro, Replit Agent, Windsurf, Copilot, Gemini, …) or --ide all. Use --family to force a platform (e.g. from a monorepo root) or to add the headless SDK skills alongside a UI Kit — a second add never removes the first family's skills:
npx @cometchat/skills add --family flutter # force the Flutter v6 UI Kit skills
npx @cometchat/skills add --family js-calls # add headless JS Calls SDK skills next to the React ones
Pin the agent as well (CI / Docker) with --ide claude|cursor|codex|replit|… (e.g. --ide claude → .claude/skills/). The full --family list is: react · angular · react-native · ios · android · flutter (UI Kits) and android-sdk · react-native-calls · ios-calls · android-calls · flutter-calls · js-calls (headless SDKs).
2. Connect the CometChat MCP
The skills look up CometChat's APIs in the docs, and the CometChat MCP (cometchat, https://mcp.cometchat.com/mcp; the docs need no sign-in) is how they read them. Without it they fall back to fetching docs pages from the web, which is slower and can miss pages, so treat this as part of setup.
add writes it into the agent's own MCP config for you, in the format that agent expects (skip with --no-mcp):
| Agent | Where add writes it |
|---|
| Claude Code | .mcp.json |
| Cursor | .cursor/mcp.json |
| Codex | .codex/config.toml (loads in a trusted project) |
| Gemini CLI | .gemini/settings.json |
| VS Code + GitHub Copilot | .vscode/mcp.json |
| Kiro | .kiro/settings/mcp.json |
| Antigravity | .agents/mcp_config.json (the agy CLI reads only its user config: add prints the agy mcp add commands) |
| Continue | .continue/mcpServers/cometchat.yaml (MCP works in Agent mode) |
| Windsurf (Devin Desktop), Cline | Their user-level config, if the agent is installed (they have no project file); otherwise add prints the steps |
| Replit Agent | No config file: add prints the steps and one-click install links |
| Aider | No MCP support yet: the skills use web docs |
Restart the agent, then check it's connected: npx @cometchat/skills doctor shows which configs have it and whether its docs and account tools answer. In Claude Code, claude mcp list (or /mcp) should show cometchat; if it's missing, run claude mcp add --transport http cometchat https://mcp.cometchat.com/mcp. Plugin installs (below) connect it automatically. npx @cometchat/skills remove --ide <agent> undoes add (your own skills and MCP servers stay).
If it still isn't connected when you start a task, the agent tells you in its first reply, before it writes any code, with the step to connect it. It can carry on with web docs if you'd rather not.
Signing in to your CometChat account is separate and optional: see Your CometChat account, through the MCP.
Or install as a plugin
A plugin install bundles every family's skills with the CometChat MCP (https://mcp.cometchat.com/mcp), so the skills read current docs without extra setup, and can use your account once you sign in.
# Claude Code
/plugin marketplace add cometchat/cometchat-skills
/plugin install cometchat-skills@cometchat
# Gemini CLI
gemini extensions install https://github.com/cometchat/cometchat-skills
# Any agent that reads Agent Skills (via skills.sh)
npx skills add cometchat/cometchat-skills